Heat is hanging on in DELETE_IN_PROGRESS state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
Critical
|
Kairat Kushaev | ||
6.0.x |
Fix Released
|
Critical
|
Denis Meltsaykin | ||
6.1.x |
Fix Released
|
Critical
|
Kairat Kushaev | ||
8.0.x |
Invalid
|
Critical
|
Kairat Kushaev |
Bug Description
During testing of Murano we faced with the following issue:
Heat stack is handing on in UPDATE_IN_PROGRESS state or DELETE_IN_PROGRESS case when we are trying to create and update the stack in series.
The case is the following:
1. Create the stack with murano_first template (using neutron router in devstack).
2. Update the stack with murano_second template using m1.express flavor( flavor RAM value should be enough to raise No valid host found in Nova)
The stack is failing because of no valid host found error.
3. Update the failed stack with murano_third (using neutron public net as floating network).
The stack is failing again because of no valid host found error.
4. Delete the stack.
Expected result: the stack has been deleted successfully.
Actual result: the stack is hanging on in DELETE_IN_PROGRESS
This is specialty of Murano that it sends update requests in a bunch and doesn't check that the previous update was successful.
But we definitely need to treat properly such kind of cases.
When I looked into the heat log I found that because of some reason heat generated Invalid Template Reference error.
Changed in mos: | |
milestone: | none → 6.1 |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in mos: | |
importance: | High → Critical |
tags: | added: heat |
tags: | added: murano |
Changed in mos: | |
status: | Confirmed → In Progress |
Changed in mos: | |
status: | In Progress → Fix Committed |
Changed in mos: | |
status: | Fix Committed → Fix Released |
tags: | added: on verification |
Hi guys, /review. openstack. org/#/c/ 175868/).
I detected the place where the issue appears. Still have some problems with solution because the involved part is the trickiest part of heat but I expect the final issue to be provided today evening. Hope, i can ask some of core reviewers to review it here(https:/
After that the plan to fix the issue is the following:
1) Fix the issue in heat master.
2) Backport it manually inside MOS
3) Try to backport it to Juno.
Please note that we also proposed a workaround for Murano how to avoid an issue:
they should not try to update stack if it has failed.