commit 382d038892be3df4ea984a000c18182e749abea5
Author: Rico Lin <email address hidden>
Date: Wed Jun 10 14:14:54 2015 +0800
Stack updated error if creation fails
template https://github.com/openstack/heat-templates/blob/
67301b6ff45b9f1c220ee0a0ab3aecd3a415032b/cfn/F17/
AutoScalingCeilometer.yaml
can have update error when execute on some resources
which did not even created due to creation failed.
Add check logic in _needs_update to make sure even resource still
stay in init complete state can proceed update process by
raise resource.UpdateReplace.
For nested stack, StackResource should have the same status check
logic in _needs_update method to avoid this error occur(nested()
is None due to resource in failed state after create failed).
Change-Id: I3fa6a61436e79409fe7f28cf66dfdfd9f609b576
Closes-Bug: #1459719
(cherry picked from commit 878473d92280a1c1823bb3318e4bf89d6df1f87f)
Reviewed: https:/ /review. openstack. org/226221 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=382d038892b e3df4ea984a000c 18182e749abea5
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 382d038892be3df 4ea984a000c1818 2e749abea5
Author: Rico Lin <email address hidden>
Date: Wed Jun 10 14:14:54 2015 +0800
Stack updated error if creation fails
template https:/ /github. com/openstack/ heat-templates/ blob/ b9f1c220ee0a0ab 3aecd3a415032b/ cfn/F17/ Ceilometer. yaml
67301b6ff45
AutoScaling
can have update error when execute on some resources
which did not even created due to creation failed.
Add check logic in _needs_update to make sure even resource still UpdateReplace.
stay in init complete state can proceed update process by
raise resource.
For nested stack, StackResource should have the same status check
logic in _needs_update method to avoid this error occur(nested()
is None due to resource in failed state after create failed).
Change-Id: I3fa6a61436e794 09fe7f28cf66dfd fd9f609b576 1823bb3318e4bf8 9d6df1f87f)
Closes-Bug: #1459719
(cherry picked from commit 878473d92280a1c