[openstack-dev] [nova] OSAPI and deleted flavors

Vishvananda Ishaya vishvananda at gmail.com
Thu Jan 24 00:13:30 UTC 2013


On Jan 23, 2013, at 3:38 PM, Kieran Spear <kispear at gmail.com> wrote:

> Hi all,
> 
> I'm investigating:
> https://bugs.launchpad.net/horizon/+bug/1100444
> 
> Curling v2/tenant_id/flavors/1 we get a previously deleted flavor even if a "newer" flavor exists with the same flavor id. This makes it impossible to retrieve the newer flavor directly by ID.
> 
> We use UUIDs for flavor ids now in Horizon, so it's not an issue, but novaclient still allows the flavor id to be specified manually.
> 
> Does nova itself still allow you to create flavors with the same flavor id as a deleted flavor?


Yes it does. Although you shouldn't be able to access deleted flavors that way so that sounds like a bug.

Vish


More information about the OpenStack-dev mailing list