]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Mark resources as failed when creation aborted
authorZane Bitter <zbitter@redhat.com>
Tue, 23 Apr 2013 11:36:47 +0000 (13:36 +0200)
committerZane Bitter <zbitter@redhat.com>
Tue, 23 Apr 2013 11:36:51 +0000 (13:36 +0200)
commit2570ef9ccdb897692d8af91e75c880059b3a8df9
tree08a160bed1772171366b24553b9e23e8e2d8ca98
parent9e90af14cfe0bbd2edef35ad48ca4328f4a02eb3
Mark resources as failed when creation aborted

Previously resources would be left in the CREATE_IN_PROGRESS state in the
event of a timeout or the thread being cancelled (due to a delete being
requested while the stack was still being created). We should instead put
these resources into the CREATE_FAILED state when this occurs, thus
creating an event with the reason.

Change-Id: I05956aa9ef26941b79cef9dbf0cb6a347047d199
heat/engine/resource.py