Resize revert applies wrong flavor to original instance
Bug #809587 reported by
Johannes Erdfelt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Matt Dietz |
Bug Description
Resize revert applies the wrong flavor to the original instance when doing a revert. The code to update the migrations table stores the new flavor_id in both the old_flavor_id and new_flavor_id columns.
This is because instance_type is loaded by flavor_id right before the call to migration_create().
Related branches
lp:~cerberus/nova/lp809587
- Brian Waldon (community): Approve
- Jason Kölker (community): Approve
- Josh Kearney (community): Approve
-
Diff: 109 lines (+61/-4)2 files modifiednova/compute/manager.py (+10/-4)
nova/tests/test_compute.py (+51/-0)
Changed in nova: | |
assignee: | nobody → Matt Dietz (cerberus) |
Changed in nova: | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-3 |
Changed in nova: | |
milestone: | diablo-3 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.