Incorrect answer of 'flavor show' if deleted flavors with the same flavor_id exist
Bug #1280534 reported by
wingwj
This bug report is a duplicate of:
Bug #1246017: Flavors v2,v3/flavors/{flavor_id} API should not return deleted flavor.
Edit
Remove
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://
To post a comment you must log in.
Sorry, I found a similar bug here.