Incorrect mapping of instance type id to flavor id in Openstack API
Bug #736343 reported by
Matt Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Dietz |
Bug Description
When retrieving flavor information on a specific flavor, the controller correctly retrieves the right instance type record. However, we are returning the instance_type id as the id of the flavor. Because clients are expecting the id of a flavor, badness occurs, such as accidentally remapping to a new flavor id on resize.
Related branches
lp://staging/~cerberus/nova/lp736343
- Rick Harris (community): Approve
- Josh Kearney (community): Approve
- Ken Pepple (community): Approve
-
Diff: 38 lines (+5/-1)2 files modifiednova/api/openstack/flavors.py (+2/-1)
nova/tests/api/openstack/test_flavors.py (+3/-0)
Changed in nova: | |
assignee: | nobody → Matthew Dietz (cerberus) |
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I actually have a bug in related to /flavors right now. I should have listed this explicit problem. Go check out the branch associated here: https:/ /bugs.launchpad .net/nova/ +bug/735907