RDS stack fails to delete DBInstance instance

Bug #1097299 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Steven Hardy
Grizzly
Fix Released
High
Steven Hardy

Bug Description

When you delete a stack created with WordPress_With_RDS.template, even when it is fully created (ie different from bug 1096150), it leaves the instance related to the nested DBInstance resource behind after delete (despite no errors being indicated, the stack delete appears to complete successfully)

Steven Hardy (shardy)
Changed in heat:
status: New → Triaged
importance: Undecided → High
milestone: none → grizzly-2
assignee: nobody → Steven Hardy (shardy)
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/19220

Changed in heat:
status: Triaged → In Progress
Revision history for this message
Steven Hardy (shardy) wrote :

Looks like same problem exists for nested LoadBalancer resource too

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

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

commit f4abb59ef0c3f6e23af2a11c5135dcef136d4631
Author: Steven Hardy <email address hidden>
Date: Tue Jan 8 18:10:22 2013 +0000

    heat engine : DBInstance fix so nested stack is deleted

    Currently the RDS DBInstance resource inherits from stack.Stack but it
    should be stack.NestedStack, which implements handle_delete whereas
    stack.Stack does not, meaning the DBInstance nested stack is never
    deleted when the owning stack gets deleted.

    fixes bug 1097299

    Change-Id: I865611d4de9ea4c3caa43c7a11a28924602a5b0d
    Signed-off-by: Steven Hardy <email address hidden>

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: grizzly-2 → 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.