]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Report errors when resource creation fails
authorZane Bitter <zbitter@redhat.com>
Tue, 15 May 2012 13:03:38 +0000 (15:03 +0200)
committerZane Bitter <zbitter@redhat.com>
Tue, 15 May 2012 13:03:38 +0000 (15:03 +0200)
commit0f1bd5d29102318e62b5a10281d809807bd3b163
tree845b98ab563848cf1fd661b965fb1b8ddf15e344
parent0720684956380ad3b5140f474a1c5a568bcd66f9
Report errors when resource creation fails

In order for the Stack creation to fail, resources must raise an exception
when their creation fails. The Stack's create code will set the resource
state appropriately; resources should not silently do it themselves.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
heat/engine/instance.py
heat/engine/volume.py
heat/engine/wait_condition.py