[stable-only] openstack overcloud delete stalls forever if nested heat stack delete fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Triaged
|
Medium
|
Rabi Mishra |
Bug Description
Description of problem:
Command "openstack overcloud delete overcloud" stalls forever if nested "openstack stack delete overcloud" fails.
We seem to be retrying stack listing when the stack_status is DELETE_FAILED which seems incorrect as we're retrying stack deletion.
(undercloud) [stack@undercloud ~]$ openstack overcloud delete overcloud
Are you sure you want to delete this overcloud [y/N]? y
Undeploying stack overcloud...
Waiting for messages on queue 'tripleo' with no timeout.
Stalling here forever. Looking on the stack you see:
(undercloud) [stack@undercloud ~]$ openstack stack list
+------
| ID | Stack Name | Project | Stack Status | Creation Time | Updated Time |
+------
| 402af324-
+------
(undercloud) [stack@undercloud ~]$ openstack stack delete overcloud
Are you sure you want to delete this stack(s) [y/N]? y
(undercloud) [stack@undercloud ~]$ openstack stack list
+------
| ID | Stack Name | Project | Stack Status | Creation Time | Updated Time |
+------
| 402af324-
+------
If the stack delete succeeded, the first command continued with:
Deleting plan overcloud...
Success.
(undercloud) [stack@undercloud ~]$
How reproducible:
Always, when the nested stack delete failed.
Steps to Reproduce:
1. openstack overcloud delete overcloud
2. the nested stack delete fails (like described in bug 1804256)
3. the first command stalls (probably forever, but I gave up after 30 mins)
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Rabi Mishra (rabi) |
summary: |
- [stable-only] openstack overcloud delete overcloud stalls forever if - nested heat stack delete fails + [stable-only] openstack overcloud delete stalls forever if nested heat + stack delete fails |
Fix proposed to branch: stable/train /review. opendev. org/726066
Review: https:/