yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01567
[Bug 1148563] Re: flavor with empty string id cannot be specified
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => grizzly-rc1
--
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/1148563
Title:
flavor with empty string id cannot be specified
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
We can create a flavor with empty string id.
But once the flavor is created, it cannot be used or deleted by
specifying id/name.
For example:
$ nova flavor-create flavor1 '' 1024 0 1
+----+---------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs |
+----+---------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
| | flavor1 | 1024 | 0 | 0 | | 1 | 1.0 | True | N/A |
+----+---------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
$ nova boot --image 4515ae16-f9ca-4eb7-8e20-4c0f34eb0bf8 --flavor '' server01
ERROR: you need to specify a Flavor ID
$ nova boot --image 4515ae16-f9ca-4eb7-8e20-4c0f34eb0bf8 --flavor flavor1 server01
ERROR: No flavor with a name or ID of '' exists.
$ nova flavor-delete ''
ERROR: No flavor with a name or ID of '' exists.
$ nova flavor-delete flavor1
ERROR: Not found (HTTP 404)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1148563/+subscriptions