heat-manage reset_stack_status XXX doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
huangtianhua |
Bug Description
Now we support the cmd to reset stack status to XXX_FAILED for some cases, but we can't delete the stack in following steps:
convergence is true
1. create a stack with some resources
2. the db service down due to some reason
3. one minute later, we restart the db service
4. stack-list, we can find the stack is in CREATE_IN_PROGRESS
5. try to delete the stack, but stack is always in DELETE_IN_PROGRESS
6. so execute the cmd: heat-manage reset_stack_status stack_id , then the stack is in DELETE_FAILED
7. try to delete the stack again, then the stack turn to DELETE_IN_PROGRESS again, and the status always in IN_PROGRESS
We can find that there is an error log: Error acquiring lock for resource id:1505 with atomic_key:1, engine_
Changed in heat: | |
assignee: | nobody → huangtianhua (huangtianhua) |
importance: | Undecided → Medium |
description: | updated |
Changed in heat: | |
milestone: | none → newton-rc1 |
Changed in heat: | |
milestone: | newton-rc1 → ocata-1 |
You should have the following message beforehand: "It is advised to shutdown all Heat engines beforehand." If you do so, I don't think you'll get the error message.