tools/ctdb: delip no longer fails if IP can not be moved
commit8cd6a67b8bf055cae6caf75e4f45602b8f9e4a50
authorMartin Schwenke <martin@meltin.net>
Wed, 27 Feb 2013 05:01:55 +0000 (27 16:01 +1100)
committerMartin Schwenke <martin@meltin.net>
Wed, 27 Feb 2013 05:01:55 +0000 (27 16:01 +1100)
tree07eb1243b6e84722745f28aac81c9b31c57d9104
parent12d07dd1c6c5130a67530165ec0be6476ecd6024
tools/ctdb: delip no longer fails if IP can not be moved

Moving the IP is an optimisation so should not cause failure.

Refactor and simplify the retry-move-IP into new function
try_moveip().

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit 5402f85dde045576cbaf64e01c68e28ed52204e8)
ctdb/tools/ctdb.c