Browse Source

NovaEvacuate: Correctly handle stopped hypervisors

Change-Id: Ia6c62c17945cd0ad00df19b2c5a4c306dd7f4f09
Andrew Beekhof 2 years ago
parent
commit
7d61c3b0b2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ocf/NovaEvacuate

+ 1
- 1
ocf/NovaEvacuate View File

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

Loading…
Cancel
Save