tools/ctdb: delip no longer fails if IP can not be moved
authorMartin Schwenke <martin@meltin.net>
Wed, 27 Feb 2013 05:01:55 +0000 (16:01 +1100)
committerMartin Schwenke <martin@meltin.net>
Tue, 5 Mar 2013 23:32:40 +0000 (10:32 +1100)
commitd788857b1c96f78b0ffa4d410a935ec59bef9148
treef15217363adc7133cffe0fb6ad0b50b19f5d89cb
parent49bab583f430b5c06178c2cd114d2362cf1d606c
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>
Cherry-pick-from: 5402f85dde045576cbaf64e01c68e28ed52204e8
tools/ctdb.c