← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1280534] [NEW] Incorrect answer of 'flavor show' if deleted flavors with the same flavor_id exist

 

Public bug reported:

'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/

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: flavor havana-backport-potential

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1280534

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

Status in OpenStack Compute (Nova):
  New

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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1280534/+subscriptions


Follow ups

References