diff -uNr a/heartbeat/NovaCompute b/heartbeat/NovaCompute --- a/heartbeat/NovaCompute 2015-11-17 10:13:13.403119585 +0100 +++ b/heartbeat/NovaCompute 2015-11-17 10:20:49.632620122 +0100 @@ -159,7 +159,7 @@ return $OCF_SUCCESS fi - state=$(attrd_updater -p -n evacute -N ${NOVA_HOST} | sed -e 's/.*value=//' | tr -d '"' ) + state=$(attrd_updater -p -n evacuate -N ${NOVA_HOST} | sed -e 's/.*value=//' | tr -d '"' ) if [ "x$state" = x ]; then : never been fenced @@ -171,7 +171,7 @@ else ocf_log info "Waiting for pending evacuations from ${NOVA_HOST}" while [ "x$state" != "xno" ]; do - state=$(attrd_updater -p -n evacute -N ${NOVA_HOST} | sed -e 's/.*value=//' | tr -d '"' ) + state=$(attrd_updater -p -n evacuate -N ${NOVA_HOST} | sed -e 's/.*value=//' | tr -d '"' ) sleep 5 done diff -uNr a/heartbeat/NovaEvacuate b/heartbeat/NovaEvacuate --- a/heartbeat/NovaEvacuate 2015-11-17 10:13:13.403119585 +0100 +++ b/heartbeat/NovaEvacuate 2015-11-17 10:38:14.424846295 +0100 @@ -141,7 +141,7 @@ } update_evacuation() { - attrd_updater -p -n evacute -Q -N ${1} -v ${2} + attrd_updater -p -n evacuate -Q -N ${1} -v ${2} arc=$? if [ ${arc} != 0 ]; then ocf_log warn "Can not set evacuation state of ${1} to ${2}: ${arc}" @@ -219,7 +219,12 @@ return $OCF_NOT_RUNNING fi - handle_evacuations $(attrd_updater -n evacute -A | tr '="' ' ' | awk '{print $4" "$6}') + handle_evacuations $( + attrd_updater -n evacuate -A | + sed 's/ value=""/ value="no"/' | + tr '="' ' ' | + awk '{print $4" "$6}' + ) return $OCF_SUCCESS }