Incorrect mapping of instance type id to flavor id in Openstack API

Bug #736343 reported by Matt Dietz
6
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

Matt Dietz (cerberus)
Changed in nova:
assignee: nobody → Matthew Dietz (cerberus)
Revision history for this message
Brian Waldon (bcwaldon) wrote :

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

Revision history for this message
Brian Waldon (bcwaldon) wrote :

And the reason I haven't merge prop'd it yet is that it depends on another merge prop:
https://code.launchpad.net/~rackspace-titan/nova/openstack-api-version-split/+merge/53510

Revision history for this message
Matt Dietz (cerberus) wrote :

Brian,

I missed that. I saw that you had some of that mentioning the incorrect attributes, but I assumed that only applied to the extraneous stuff. The issue I need this now to properly finish resize. Is there any way I can get you to look at my part of the fix?

https://code.launchpad.net/~cerberus/nova/lp736343/+merge/53691

Revision history for this message
Brian Waldon (bcwaldon) wrote :

You code looks fine, and it is likely to get in sooner than my branch. I just want to make it clear my branch will blow the existing flavors resource code away.

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Medium
status: New → In Progress
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
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.