← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1172612] Re: nova flavor-create with deleted flavor id works in allinone config

 

** Changed in: nova
       Status: Incomplete => Invalid

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

Title:
  nova flavor-create with deleted flavor id works in allinone config

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  In Grizzly multi-node configuration (packstack with edited answer
  file) if I add a flavor using the id of a deleted flavor I get the
  following error:

  ERROR: Instance Type with ID 100 already exists. (HTTP 409) (Request-
  ID: req-df369a45-8a61-426b-a07c-bf8a2a689fe5)

  While in Grizzly installed with packstack --allinone, if I delete a
  flavor and then I add a new one with the same id, it works and in the
  database I have these two entries with the same flavorid:

  | 2013-04-25 07:51:11 | NULL       | 2013-04-25 07:52:11 | test        | 19 |         1 |     1 |    0 |        NULL | 100      |           1 |       1 |            0 |        0 |         1 |      19 |
  | 2013-04-25 07:52:33 | NULL       | NULL                              | test        | 20 |         1 |     1 |    0 |        NULL | 100      |           1 |       1 |            0 |        0 |         1 |       0 |

  To reproduce just use install with packstack --allinone and run the following commands:
  > nova flavor-create test 100 1 1 1
  > nova flavor-delete test
  > nova flavor-create test 100 1 1 1

  I think we should have a consistent behavior with the output of an
  error in both the cases.

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