stack action-check should be check-complete when stack has been suspended
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
In Progress
|
Undecided
|
Unassigned |
Bug Description
My steps:
step1: create stack which contains a server resource
step2: execute action-suspend , then the stack and server resource 's status changed to "SUSPEND_COMPLETE"
step3: execute action-check failed, due to
2016-04-12 13:54:39.896 INFO heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:39.896 TRACE heat.engine.
2016-04-12 13:54:40.017 INFO heat.engine.stack [-] Stack CHECK FAILED (test-cloud-
pported (see resources)
Issue:
# heat help action-check
usage: heat action-check <NAME or ID>
Check that stack resources are in expected states.
So, For the stack which contains a server, we can execute the action-suspend on stack. So, For Heat, the expected states of a server should be "SUSPENDED" or "ACTIVE".
Another reason for this, if the expected status of server is just "ACTIVE", In this situation(stack has a server resource):
Stack Create--> Stack Suspend--> Stack Check-->Stack Suspend/Stack Resume
and it will fail due to check failed, then the server stuck into "suspended" status.
summary: |
- stack action-check should be check-complete when server has been + stack action-check should be check-complete when stack has been suspended |
Changed in heat: | |
assignee: | nobody → Di XiaoLi (dixiaobj) |
description: | updated |
description: | updated |
description: | updated |
Changed in heat: | |
assignee: | Di XiaoLi (dixiaobj) → nobody |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
Fix proposed to branch: master /review. openstack. org/304552
Review: https:/