]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-scripts: Wait until IPv6 addresses are not "tentative"
authorMartin Schwenke <martin@meltin.net>
Fri, 21 Nov 2014 06:33:21 +0000 (17:33 +1100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Dec 2014 19:56:09 +0000 (20:56 +0100)
commitdd6534f6d84ed88eb11f66d6b77411512bd35411
tree67adeb9f83bebcedcfa1c0856a8dba00475bed2d
parentfee8c9423e30ac2519a5e6a227eb2d1f6e20b0bd
ctdb-scripts: Wait until IPv6 addresses are not "tentative"

There are a few potential failure modes when adding an IPv6 address.
It takes a little while of duplicate address detection to complete, so
wait for a while.  After a timeout, also need to check to see if
duplicate address detection failed - if it did then actually drop the
IP address.

This really needs some careful thinking.  If CTDB disappears on a node
but the node's IP addresses are still on interfaces then the above
failure mode could cause the takeover nodes to become banned.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit d0b2375c3d754da3cd68e34617ab3edd36e9317b)
ctdb/config/functions