deleting overcloud but stack is not DELETE_IN_PROGRESS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-heatclient |
Fix Released
|
Undecided
|
PanFengyun |
Bug Description
After excuting "heat stack-delete overcloud", the stack_status of overcloud is not DELETE_IN_PROGRESS.
Reduction step:
1.deploying overcloud
---------
# openstack overcloud deploy --templates ~/templates/
# heat stack-list
+------
| id | stack_name | stack_status | creation_time | updated_time |
+------
| 47b54ecb-
+------
---------
2.delete overcloud
----------
# heat stack-delete overcloud
+------
| id | stack_name | stack_status | creation_time | updated_time |
+------
| 47b54ecb-
+------
# heat stack-list
+------
| id | stack_name | stack_status | creation_time | updated_time |
+------
| 47b54ecb-
+------
----------
Desired result:
# heat stack-delete overcloud
+------
| id | stack_name | stack_status | creation_time | updated_time |
+------
| 47b54ecb-
+------
reason:
investigating
Changed in heat: | |
assignee: | nobody → PanFengyun (pan-feng-yun) |
description: | updated |
Changed in heat: | |
status: | Opinion → New |
I don't really think there is a bug, or at least I know why it's doing this: the delete operation is asynchronous, and doesn't return anything. To account for that, the client just does a stack-show after the delete, to return something to display. But at that point, the delete may not be already in progress.
Arguably we could remove that show, but can't because of compatibility.