← Back to team overview

openstack team mailing list archive

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

 

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@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

References