No check whether snapshot belongs to stack

Bug #1437602 reported by huangtianhua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
huangtianhua

Bug Description

1. create a stack: stack1
2. snapshot for stack1: snapshot1
3. create another stack with same template: stack2, so the two stacks has same resource names
4. heat snapshot-delete stack2 snapshot1
5. the snapshot1 be deleted, glance image-list, can't find the snapshot image

excepted: tell user the snapshot1 can't be found in stack1, and don't to delete the snapshot image

Changed in heat:
assignee: nobody → huangtianhua (huangtianhua)
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/168766

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

Reviewed: https://review.openstack.org/168766
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=af6b0db444b33126150c0273662672b3736aac6a
Submitter: Jenkins
Branch: master

commit af6b0db444b33126150c0273662672b3736aac6a
Author: huangtianhua <email address hidden>
Date: Mon Mar 30 11:33:43 2015 +0800

    Make sure snapshot belongs to stack for actions

    Check the snapshot belongs to stack when deleting and showing
    stack's snapshot, and restoring from snapshot.

    Change-Id: I8ce170b40b05ae17669524d75f80e06e39986673
    Closes-Bug: #1437602

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