Merge "NovaCompute: Fix loop on start checking for evacuate attribute"

This commit is contained in:
Jenkins 2016-02-15 14:02:40 +00:00 committed by Gerrit Code Review
commit 312fd78942
1 changed files with 1 additions and 1 deletions

View File

@ -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