After updating a stack stuck IN_PROGRESS, resources will be permanently stuck IN_PROGRESS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Tanvir Talukder |
Bug Description
If an engine dies in the middle of an update, often both the stack and one or more resources within it will be left in an UPDATE_IN_PROGRESS state. If the user then attempts to do another update, Heat will be able to steal the lock from the dead engine but the update itself will fail because the resource is in an IN_PROGRESS state. So far, so good. The problem is that also sets the state of the stack to UPDATE_FAILED, but *without* resetting the state of any resources it contains (unlike the reset_stack_status task that runs at startup to reset any zombie stacks).
This means that from this point on, the user can attempt to update the stack all they like but it will never succeed because of resources inside that are stuck IN_PROGRESS. Also, there is no way to resolve the situation: restarting heat-engine won't help because reset_stack_status looks only at *stacks* that are IN_PROGRESS, which they may no longer be.
Changed in heat: | |
assignee: | nobody → Bathri Ajay Raj (bathri-s) |
Changed in heat: | |
milestone: | none → newton-1 |
Changed in heat: | |
assignee: | Bathri Ajay Raj (bathri-s) → nobody |
Changed in heat: | |
milestone: | newton-1 → newton-2 |
Changed in heat: | |
milestone: | newton-2 → newton-3 |
Changed in heat: | |
milestone: | newton-3 → next |
Changed in heat: | |
assignee: | nobody → Tanvir Talukder (tanvirt16) |
Changed in heat: | |
assignee: | Tanvir Talukder (tanvirt16) → nobody |
status: | In Progress → Triaged |
Changed in heat: | |
milestone: | newton-rc1 → ocata-1 |
Changed in heat: | |
assignee: | nobody → Tanvir Talukder (tanvirt16) |
Changed in heat: | |
milestone: | ocata-1 → ocata-2 |
Changed in heat: | |
milestone: | ocata-2 → ocata-3 |
Two notable circumstances where this would come up:
1. An engine dies and isn't restarted
2. bug 1570569