Commit 162a1eef authored by Georgios Gousios's avatar Georgios Gousios
Browse files

Merge branch 'master' of

parents 864d864f 0cb51bef
......@@ -34,7 +34,7 @@ def get_rsapi_state(vm):
return "UNKNOWN"
# A machine is in REBOOT if an OP_INSTANCE_REBOOT request is in progress
if r == 'ACTIVE' and vm.backendopcode == 'OP_INSTANCE_REBOOT' and \
vm._backendjobstatus in ('queued', 'waiting', 'running'):
vm.backendjobstatus in ('queued', 'waiting', 'running'):
return "REBOOT"
return r
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment