[WIP][PATCH] selftest: add clusteredmember (1-node) env

Ralph Boehme slow at samba.org
Thu Jul 14 12:00:41 UTC 2016


Hi!

On Thu, Jul 14, 2016 at 01:23:39PM +0200, Michael Adam wrote:
> On 2016-07-14 at 12:47 +0200, Michael Adam wrote:
> > Well, as you can see in the Samba3.pm, you need to tell
> > ctdb this:
> >  - --socket=<location of ctdbd socket> as cmdline option
> >  - CTDB_NODES=<location of nodes file> in env
> >    or
> >    CTDB_BASE=<directory containing nodes file> in env
> > 
> > Will propose such an update to your test later.
> 
> Attached patch (to be squashed with yours) fixes
> the calling of ctdb.

cool, thanks! I'll give it a whirl.

That approach requires getting the individual test right, ie setting
the necessary variables in every test script.

Isn't there a way to do this in a more centralized manner ?

> But the test does not succeed currently, since this is about
> ip-reallocation, and the clusteredmember does not do public
> addresses (yet), and it also doe not to reallocations because
> it is currently a 1-node setup... ?! :-)

Yeah, I know, the test is misnamed, should be called
"test-cleanupd-restart-on-a-ctdb-node-where-ctdb-messaging-is-down". ;)

So I don't really want to test ctdb ban, but just that.

Cheerio!
-slow



More information about the samba-technical mailing list