Merge "NovaCompute: Fix loop on start checking for evacuate attribute"
This commit is contained in:
commit
312fd78942
|
@ -171,7 +171,7 @@ nova_start() {
|
|||
|
||||
else
|
||||
ocf_log info "Waiting for pending evacuations from ${NOVA_HOST}"
|
||||
while [ "x$state" != "xno" ]; do
|
||||
while [ "x$state" != "xno" -a "x$state" != x ]; do
|
||||
state=$(attrd_updater -p -n evacuate -N ${NOVA_HOST} | sed -e 's/.*value=//' | tr -d '"' )
|
||||
sleep 5
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue