failed to delete stack which with in-progress snapshot, but without ERROR

Bug #1556793 reported by PanFengyun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
In Progress
Undecided
PanFengyun

Bug Description

failed to delete stack which with in-progress snapshot, but without ERROR.

when excuting the following command:
# heat snapshot-list overcloud
+--------------------------------------+------+-------------+---------------+---------------------+
| id | name | status | status_reason | creation_time |
+--------------------------------------+------+-------------+---------------+---------------------+
| 2720b519-afc1-418f-8398-158a75adabf2 | snapshot | IN_PROGRESS | None | 2016-03-14T10:08:33 |
+--------------------------------------+------+-------------+---------------+---------------------+
# heat snapshot-delete overcloud 2720b519-afc1-418f-8398-158a75adabf2
ERROR: Deleting in-progress snapshot is not supported.
# heat stack-delete overcloud
+--------------------------------------+------------+----------------------+---------------------+--------------+
| id | stack_name | stack_status | creation_time | updated_time |
+--------------------------------------+------------+----------------------+---------------------+--------------+
| 9763a069-b601-453d-ac36-3f201f9236f5 | overcloud | SNAPSHOT_IN_PROGRESS | 2016-03-14T08:16:53 | None |
+--------------------------------------+------------+----------------------+---------------------+--------------+

why the stack_status of overcloud is not DELETED_FAILED?

reason:
stack-delete delete stack without determining whether overcloud contains in-progress snapshot.

Tags: heat snapshot
Changed in python-glanceclient:
assignee: nobody → PanFengyun (pan-feng-yun)
Thomas Herve (therve)
affects: python-glanceclient → heat
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/299239

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (master)

Change abandoned by PanFengyun (pan_feng_yun@163.com) on branch: master
Review: https://review.openstack.org/292266

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by PanFengyun (<email address hidden>) on branch: master
Review: https://review.openstack.org/299239

Rico Lin (rico-lin)
Changed in heat:
milestone: none → no-priority-tag-bugs
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.