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

Martin Schwenke martin at meltin.net
Wed Jul 13 00:25:43 UTC 2016

Hi Michael,

On Tue, 12 Jul 2016 16:41:11 +0200, Michael Adam <obnox at samba.org>

> here is the current WIP state of my clusteredmember
> selftest environment. It is something I have been
> working on in the background since a couple of years
> now, whenever time permitted...
> The patches add the env, let the current member tests
> run against this new env too, and call it in the
> 'samba-ctdb' autobuild target.
> The environment currently implements a 1-node ctdb 'cluster'.
> So adding this would make sure that the software stack
> ctdb<->samba gets executed. Not testing for more complicated
> multi-node failover scenarios. But I have an extension of
> this env to a 3-node cluster in progress, but this needs a
> little more work.
> This env had some problems recently, in that the started
> failing the ping-dc test or the smbclient -L test on the
> started member randomly. This started somewhere between
> sambaXP and now... Still trying to understand what goes wrong.
> So I assume this is not for pushing yet.
> But I appreciate any comments / hints!

I'm working on trying to understand this to see what common code we can
use between this and ctdb/tests/simple/scripts/local_daemons.bash.  I
figure we should be able to factor out all of the CTDB provisioning

In the existing CTDB local daemon testing code we start up 3 daemons and
run CTDB tests against them.

I'll have a play and see what I can figure out...

peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160713/4e06a54e/attachment.sig>

More information about the samba-technical mailing list