ctdb-takeover: Don't release IPs from nodes where they are not known
authorMartin Schwenke <martin@meltin.net>
Tue, 7 Feb 2017 04:30:08 +0000 (15:30 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 24 Feb 2017 10:50:36 +0000 (11:50 +0100)
commit52c4d33d01646bfd02442150860615173c287336
treeee1a4fed859ab8d1ecc242b7de1dc9a68a826de8
parent75d08229858a3f236333aadc6422c18e92e872f8
ctdb-takeover: Don't release IPs from nodes where they are not known

This avoids confusing log messages like:

  ctdbd[21635]: releaseip called for an ip '10.1.1.1' that is not a public address

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Feb 24 11:50:36 CET 2017 on sn-devel-144
ctdb/server/ctdb_takeover_helper.c
ctdb/tests/takeover_helper/031.sh