]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
If a stack create fails, ensure the stack is deleteable
authorSteven Dake <sdake@redhat.com>
Sat, 16 Mar 2013 20:37:29 +0000 (13:37 -0700)
committerSteven Dake <sdake@redhat.com>
Sat, 16 Mar 2013 20:46:12 +0000 (13:46 -0700)
commit7e758d5915cdb559db0587c327f3e80189b89e9c
tree4797e071a89970239df18d275c6b7569c0744a83
parent9b6b6dfe56f228f6f46c233c9af7e67dd1a6a8c0
If a stack create fails, ensure the stack is deleteable

The resource delete operation attempts to delete CREATE_FAILED
resources.  Further it attempts to delete resources that were
not created during a creation operation because further processing
of the template does not take place.

This patch special cases these two conditions in the delete operation.

Change-Id: I1c83ba68754f38a0f7e91e77fcf02177c457504e
Fixes: Bug #1155824
heat/engine/resource.py