Instance API task state can get stuck if locked
Bug #1025722 reported by
Dan Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Dan Smith |
Bug Description
If an instance is locked by an admin and a user tries to make a state change, the instance can get a broken task_state in the API layer that prevents even an admin from taking action on it.
Steps to reproduce:
1. nova boot .... foo
2. nova lock foo (as admin)
3. nova stop foo (as user)
4. nova unlock foo (as admin)
5. nova stop foo (as either) -> fails due to task_state=
6. nova start foo (as either) -> fails due to vm_state==active
The only way out of it is to delete the instance or hack the database
Changed in nova: | |
assignee: | nobody → Dan Smith (danms) |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
milestone: | none → folsom-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-3 → 2012.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/9922
Review: https:/