deleting in_progress stack with nested stacks fails with convergence enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Critical
|
Thomas Herve |
Bug Description
Since the switch to convergence (unless there's been some other regression), I'm seeing stacks get stuck forever when I try to delete a CREATE_IN_PROGRESS stack that's got an IN_PROGRESS nested stack.
E.g
heat_template_
resources:
config:
type: OS::Heat:
properties:
group: script
deployment:
type: OS::Heat:
properties:
config: {get_resource: config}
servers:
'0': dummy0
'1': dummy1
'2': dummy2
'3': dummy3
This waits forever (until timeout) unless you manually signal each nested deployment resource, but trying to delete the top-level stack just stalls:
$ heat stack-list -n | grep b2
| 4c78032d-
| 87c577c9-
Here we can see the nested stack is still CREATE_IN_PROGRESS. Even trying to delete the nested stack doesn't seem to work - the only workaround I can find is to restart heat-engine, then manually delete both stacks (again).
Changed in heat: | |
milestone: | newton-2 → newton-3 |
Changed in heat: | |
importance: | High → Critical |
Changed in heat: | |
milestone: | newton-3 → newton-rc1 |
Changed in heat: | |
assignee: | Anant Patil (ananta) → Thomas Herve (therve) |
Another exciting thing I noticed - if you try to switch back to convergence_ engine= False without first deleting the parent and all nested stacks, you then delete the parent and all nested stacks are orhpaned, we leave them around and they then require manual cleanup.