commit d8853eef181fabebc13bdfdaa98818cfcef318be
Author: David McNally <email address hidden>
Date: Fri Nov 22 16:18:53 2013 +0000
Recover from POWERING-* state on compute manager start-up
If a compute manager is stopped / fails during POWERING-ON or
POWERING-OFF operations then the instance will be left stuck in
a transitional task_state.
This change handles both these states by simply either retriggering
the power on or power off request on start-up of the compute manager.
If the operation had previously completed then retrying will
essentially be a no-op so it is safe to handle instances in this
state in this way.
Closes bug: #1304333
(cherry picked from commit 8f7056f48c115ee0939c76ce08531dab0f14e354)
Change-Id: I262be6b13a764bc1355be34cdc0180e8e87f260b
Reviewed: https:/ /review. openstack. org/176234 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d8853eef181 fabebc13bdfdaa9 8818cfcef318be
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit d8853eef181fabe bc13bdfdaa98818 cfcef318be
Author: David McNally <email address hidden>
Date: Fri Nov 22 16:18:53 2013 +0000
Recover from POWERING-* state on compute manager start-up
If a compute manager is stopped / fails during POWERING-ON or
POWERING-OFF operations then the instance will be left stuck in
a transitional task_state.
This change handles both these states by simply either retriggering
the power on or power off request on start-up of the compute manager.
If the operation had previously completed then retrying will
essentially be a no-op so it is safe to handle instances in this
state in this way.
Closes bug: #1304333
(cherry picked from commit 8f7056f48c115ee 0939c76ce08531d ab0f14e354) c1355be34cdc018 0e8e87f260b
Change-Id: I262be6b13a764b