Ask Your Question
1

Heat Stack Stuck in "Delete in Progress"

asked 2015-05-12 10:00:51 -0600

vahidh gravatar image

What is the best practice is removing a stack that is stuck in "Delete in Progress" status? All the resources of the stack are "Delete Complete". I am running OpenStack version 2015.2.0. Thanks.

--Vahid

edit retag flag offensive close merge delete

Comments

please post your heat/engine.log as this will show the an error you are getting in a stack command.

jdexter gravatar imagejdexter ( 2015-05-19 13:18:59 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-07-08 08:33:08 -0600

Jet gravatar image

updated 2015-07-08 08:35:57 -0600

Had to use answer for more space. I have this same issue with stack stuck in DELETE_IN_PROGRESS however mine is a little differnt in that I'm not able to list the resources and some of the events show CREATE_IN_PROGRESS. This stack has been like this for weeks so I don't have the original log of the delete and executing stack-delete again only shows

<134>Jul  8 09:30:15 node-2 heat-engine 2015-07-08 09:30:15.510 24009 INFO heat.engine.service [req-e31fe15d-0076-4ec8-a88a-965e7d57f584 None] Deleting stack OSHeatAsgMultiple
<134>Jul  8 09:30:15 node-2 heat-engine 2015-07-08 09:30:15.536 24009 INFO heat.engine.stack [-] Stack DELETE IN_PROGRESS (OSHeatAsgMultiple): Stack DELETE started

in the logs. Here is what I'm seeing

$ heat stack-list; heat stack-show OSHeatAsgMultiple; heat resource-list OSHeatAsgMultiple; heat event-list OSHeatAsgMultiple
+--------------------------------------+----------------------------+--------------------+----------------------+
| id                                   | stack_name                 | stack_status       | creation_time        |
+--------------------------------------+----------------------------+--------------------+----------------------+
| 13c54853-d2cd-41f9-815c-28fee2a3880e | OSHeatAsgMultiple          | DELETE_IN_PROGRESS | 2015-06-23T23:09:50Z |
+--------------------------------------+----------------------------+--------------------+----------------------+
+----------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| Property             | Value                                                                                                                             |
+----------------------+-----------------------------------------------------------------------------------------------------------------------------------+
| capabilities         | []                                                                                                                                |
| creation_time        | 2015-06-23T23:09:50Z                                                                                                              |
| description          | OSTest--template--20150608                                                                                                        |
| disable_rollback     | True                                                                                                                              |
| id                   | 13c54853-d2cd-41f9-815c-28fee2a3880e                                                                                              |
| links                | http://ip.ad.d.ress:8004/v1/0ccffcafddc64202be2a83dfa04456f5/stacks/OSHeatAsgMultiple/13c54853-d2cd-41f9-815c-28fee2a3880e (self) |
| notification_topics  | []                                                                                                                                |
| parameters           | {                                                                                                                                 |
|                      |   "OS::stack_id": "13c54853-d2cd-41f9-815c-28fee2a3880e",                                                                         |
|                      |   "OS::stack_name": "OSHeatAsgMultiple"                                                                                           |
|                      | }                                                                                                                                 |
| parent               | None                                                                                                                              |
| stack_name           | OSHeatAsgMultiple                                                                                                                 |
| stack_owner          | USER                                                                                                                            |
| stack_status         | DELETE_IN_PROGRESS                                                                                                                |
| stack_status_reason  | Stack DELETE started                                                                                                              |
| template_description | OSTest--template--20150608                                                                                                        |
| timeout_mins         | None                                                                                                                              |
| updated_time         | None                                                                                                                              |
+----------------------+-----------------------------------------------------------------------------------------------------------------------------------+
ERROR: The specified reference "15973b917c96459b9c9de435de1e2c2e" (in cpu_alarm_high.Properties.alarm_actions[0]) is incorrect.
+--------------------------------------+--------------------------------------+------------------------+--------------------+----------------------+
| resource_name                        | id                                   | resource_status_reason | resource_status    | event_time           |
+--------------------------------------+--------------------------------------+------------------------+--------------------+----------------------+
| scale_up_policy                      | 6e3b7d51-c1d2-41f4-887e-be714961f9f1 | state changed          | CREATE_COMPLETE    | 2015-06-23T23:10:53Z |
| scale_down_policy                    | 7708a499-b237-40d6-8c19-ed7b8b4a0b77 | state changed          | CREATE_COMPLETE    | 2015-06-23T23:10:53Z |
| scale_up_policy                      | e283a6b9-852a-478b-a884-39fc55a47644 | state changed          | CREATE_IN_PROGRESS | 2015-06-23T23:10:52Z |
| scale_down_policy                    | 92e28452-a07a-4ab1-8b7a-81cdea7ab0fd | state changed          | CREATE_IN_PROGRESS | 2015-06-23T23:10:51Z |
| OS_ASG_Test_1                        | 4e30838e-8202-4565-a31e-b71ea5edb5cd | state changed          | CREATE_COMPLETE    | 2015-06-23T23:10:51Z |
| OS_ASG_Test_1                        | 7b483680-8c9a-4890-8fad-a0902c1c79ad | state changed          | CREATE_IN_PROGRESS | 2015-06-23T23:10:08Z |
| 2d45d8db-89b0-49e3-82f3-fe14fe10b322 | 132ab8c2-f5b7-47d5-8564-51660150d3bb | state changed          | CREATE_COMPLETE    | 2015-06-23T23:10:08Z |
| 2d45d8db-89b0-49e3-82f3-fe14fe10b322 | 21cd8b88-9f30-4346-a91e-4a970ad25dcb | state changed          | CREATE_IN_PROGRESS | 2015-06-23T23:09:50Z |
+--------------------------------------+--------------------------------------+------------------------+--------------------+----------------------+
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-05-12 10:00:51 -0600

Seen: 3,620 times

Last updated: Jul 08 '15