Resize revert applies wrong flavor to original instance

Bug #809587 reported by Johannes Erdfelt
6
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

Matt Dietz (cerberus)
Changed in nova:
assignee: nobody → Matt Dietz (cerberus)
Matt Dietz (cerberus)
Changed in nova:
status: New → In Progress
importance: Undecided → High
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-3
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-3 → 2011.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.