Incorrect answer of 'flavor show' if deleted flavors with the same flavor_id exist

Bug #1280534 reported by wingwj
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

'Flavor show' can't give the right answer if deleted flavors with the same flavor_id exist in db.

The result of 'flavor list' is right, it will show the new flavor's contents.

But when you execuate 'flavor show flavor_id', the info only shows the old deleted record,
the new info will be covered, and won't be given.

That means, if one flavor_id was assigned, 'flavor show' will always show this record,
even though you delete it and create a new one with this flavor_id.

Moreover, if you have more deleted flavors with same flavor_id, the result will only show the first deleted record.

More test information can be found here:
http://paste.openstack.org/show/65716/

Revision history for this message
wingwj (wingwj) wrote :

Sorry, I found a similar bug here.

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.