Can't delete AWS::CloudFormation::Stack resources

Bug #1154202 reported by Zane Bitter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Zane Bitter

Bug Description

https://review.openstack.org/#/c/23635/ introduced a change to set the resource_id of a NestedStack (AWS::CloudFormation::Stack) to the ARN of the stack. However, the resource_id is part of the abstraction provided by the StackResource class, and this change overrides only part of that. Specifically, whenever the resource is retrieved from the DB, the stack object is accessed through the StackResource.nested() method, which relies on the resource_id being set to the UUID of the child stack. This means we will never be able to load the NestedStack resource from the DB after it is created.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/24227

Changed in heat:
assignee: nobody → Zane Bitter (zaneb)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/24227
Committed: http://github.com/openstack/heat/commit/b15bd9d778772ed86d5a0d8a8be92485596127a9
Submitter: Jenkins
Branch: master

commit b15bd9d778772ed86d5a0d8a8be92485596127a9
Author: Zane Bitter <email address hidden>
Date: Tue Mar 12 19:29:38 2013 +0100

    Revert NestedStack FnGetRefId changes

    This partially reverts commit e376c83cbd57c0720336848e4b82e3b7b804a347.

    Allow StackResource to set the resource_id, since it will be the one
    retrieving the stack using it.

    Fixes bug #1154202

    Change-Id: I2140afb4e9bf89b4eb73e45f4ef5974df98e87e1

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → grizzly-rc1
status: Fix Committed → Fix Released
Steven Dake (sdake)
Changed in heat:
importance: Undecided → High
Thierry Carrez (ttx)
Changed in heat:
milestone: grizzly-rc1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.