← Back to team overview

yahoo-eng-team team mailing list archive

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

 

*** This bug is a duplicate of bug 1246017 ***
    https://bugs.launchpad.net/bugs/1246017

** This bug is no longer a duplicate of bug 1153926
   flavor show shouldn't read deleted flavors.
** This bug has been marked a duplicate of bug 1246017
   Flavors v2,v3/flavors/​{flavor_id}​ API should not return deleted flavor

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


References