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/5827 github. com/openstack/ nova/commit/ 80a55176e11da15 94c9d663df0e4a0 a755018c16
Committed: http://
Submitter: Jenkins
Branch: master
commit 80a55176e11da15 94c9d663df0e4a0 a755018c16
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