NovaEvacuate: Correctly handle stopped hypervisors

Change-Id: Ia6c62c17945cd0ad00df19b2c5a4c306dd7f4f09
This commit is contained in:
Andrew Beekhof 2017-02-02 21:34:38 +11:00 committed by Adam Spiers
parent fe84d75954
commit 7d61c3b0b2
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ handle_evacuations() {
ocf_log notice "Initiating evacuation of $node"
fence_compute ${fence_options} -o status -n ${node}
if [ $? = 0 ]; then
if [ $? = 1 ]; then
ocf_log info "Nova does not know about ${node}"
# Dont mark as no because perhaps nova is unavailable right now
continue