Reverting a resize would end up setting the instance ACTIVE before the
driver had finished all of the work starting up the original instance.
If the instance is deleted quickly after the revert, a race condition
could occur between restarting the original instance and deleting it.
Reviewed: https:/ /review. openstack. org/6032 github. com/openstack/ nova/commit/ 9a21d9f7938a5f1 e82f14bdf51502e da78c268c7
Committed: http://
Submitter: Jenkins
Branch: milestone-proposed
commit 9a21d9f7938a5f1 e82f14bdf51502e da78c268c7
Author: Johannes Erdfelt <email address hidden>
Date: Mon Mar 26 17:25:12 2012 +0000
Don't set instance ACTIVE until it's really active
Fixes bug 963656
Reverting a resize would end up setting the instance ACTIVE before the
driver had finished all of the work starting up the original instance.
If the instance is deleted quickly after the revert, a race condition
could occur between restarting the original instance and deleting it.
Change-Id: Iba26ad7d1bc104 9137f94e13898be 86698963fb3