flavor with empty string id cannot be specified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Mitsuhiko Yamazaki |
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-
ERROR: you need to specify a Flavor ID
$ nova boot --image 4515ae16-
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)
Changed in nova: | |
assignee: | nobody → Mitsuhiko Yamazaki (ymzk37) |
Changed in nova: | |
milestone: | none → grizzly-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-rc1 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/23788
Review: https:/