Double powering-off state confuses the clients and causes gate failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
melanie witt |
Bug Description
At client side the only way to know an instance action is doable is to making sure the status is a permanent status like ACTIVE or SHUTOFF and no action in progress, so the task-state is None.
In the above linked case tempest stopped the instance and the instance reached the "SHUTOFF/None".
'State transition "ACTIVE/
Cool, at this time we can start the instance right ? No, other attribute needs to be checked.
The start attempt was rewarded with 409 :
u'Instance 7bc9de3b-
The below line indicates the task state, silently moved back to "SHUTOFF/
2014-05-13 18:09:13,610 State transition "SHUTOFF/
Please do not set the 'None' task-state when the 'powering-off' is not finished.
description: | updated |
tags: | added: compute |
Changed in nova: | |
assignee: | nobody → Melanie Witt (melwitt) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-2 → 2014.2 |
Similar issue can happen at "/opt/stack/ new/tempest/ tempest/ api/compute/ images/ test_list_ image_filters. py", line 57, in setUpClass.
This test does not stops the server, but it creates multiple snapshot.