Deleting Flavor currently in use by instance creates error
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Josh Kearney | ||
| Essex |
Fix Released
|
High
|
Mark McLoughlin | ||
| nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
| Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
When deleting an image flavor from horizon or nova-manage, that is currently assigned to a running instance, the following error occurs, and does not allow you to list instances within that project. A quick fix is to set 0 in the delete column in nova.instance_
2012-05-04 22:42:41 ERROR nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
2012-05-04 22:42:41 TRACE nova.api.
Related branches
- Chuck Short: Pending requested
-
Diff: 56 lines (+14/-4)3 files modifieddebian/changelog (+8/-0)
debian/control (+6/-3)
debian/nova-console.install (+0/-1)
| Changed in nova: | |
| status: | New → In Progress |
| assignee: | nobody → Josh Kearney (jk0) |
| Changed in nova: | |
| milestone: | none → folsom-2 |
| status: | Fix Committed → Fix Released |
| Changed in nova (Ubuntu): | |
| status: | New → Fix Released |
| Changed in nova (Ubuntu Precise): | |
| status: | New → Confirmed |
| Changed in nova: | |
| milestone: | folsom-2 → 2012.2 |

Bitten by this too.
It's worth mentioning that it nukes nova-api. Recreating the flavor doesn't help apparently and 'nova delete' or 'nova list' commands do not work after this.