]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Block on instance delete until delete operation completes
authorSteven Dake <sdake@redhat.com>
Thu, 12 Jul 2012 15:38:51 +0000 (08:38 -0700)
committerSteven Dake <sdake@redhat.com>
Thu, 12 Jul 2012 15:47:11 +0000 (08:47 -0700)
commit581b0c6f6adc4480fc7c03eb96abda821c89b1a7
tree99a45e7868ee261bf5bd6cfe30edad3f8e994691
parenta7d3879d7c7c3d67d6d58a05fed1319b52bf082f
Block on instance delete until delete operation completes

Fixes issue #160

During deletion of a stack, following would occur:
delete stack
delete instance
delete eip or security group

When the last operation occurred, the instance is still present in OpenStack
making a deletion of EIP or security groups not work properly.  Serialize
the operations in resources.

Change-Id: I6e1613f5a6f5db485dd8a5f381d7a96afb58188b
Signed-off-by: Steven Dake <sdake@redhat.com>
heat/engine/instance.py