NovaEvacuate: Correctly handle stopped hypervisors
Change-Id: Ia6c62c17945cd0ad00df19b2c5a4c306dd7f4f09
This commit is contained in:
parent
fe84d75954
commit
7d61c3b0b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue