[Openstack] [Nova] use the wrong deleted flavor when boot an instance after creating flavor with same flavorid as the deleted one

Vinay Bannai vbannai at gmail.com
Fri Nov 9 04:36:01 UTC 2012


Look at the following bugs for context

https://bugs.launchpad.net/nova/+bug/981263
https://bugs.launchpad.net/horizon/+bug/1057799

On Nov 8, 2012, at 7:36 PM, Wangpan <hzwangpan at corp.netease.com> wrote:

  Hi all,
I use the folsom openstack recently.
I found a problem that when I delete a flavor by using 'nova-manage flavor
delete', and then I create a new one which use the same "flavorid" as the
"DELETED" flavor a moment ago, then I check the instance_types table
in nova DB, there have two records with the SAME "flavorid", and the
"DELETED" one is marked as 'deleted=1'.

The issue is when I use nova boot --flavor "flavorid or name be created" to
create an instance, it uses the "DELETED" one, not the one I create!
is this a bug or my misoperation?

Thanks in advance!
2012-11-09
------------------------------
 Wangpan

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121108/814cc4cf/attachment.html>


More information about the Openstack mailing list