"No flavor with a name or ID of '' exists" reported when call "nova flavor-show {id}"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
New
|
Undecided
|
Unassigned |
Bug Description
Create flavor by the following method:
flavors.
Created succeeded:
# nova flavor-list
+------
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+------
| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
| TT-19e3e819-
+------
But failed to show this:
#nova flavor-show TT-19e3e819-
ERROR (CommandError): No flavor with a name or ID of 'pvc-19e3e819-
This error also happend when boot vm, it shows cannot find the flavor, boot failed:
# nova boot --flavor TT-Testnew --image RHEL6.5 --nic net-id=
ERROR (CommandError): No flavor with a name or ID of 'tt-e835a885-
I think this is a critical issue, please help, thanks.
-------
1. version:
[root@controller ~]# rpm -aq | grep nova
openstack-
openstack-
openstack-
python-
openstack-
openstack-
openstack-
python-
openstack-
openstack-
openstack-
openstack-
openstack-
openstack-
openstack-
2. logs:
only this in nova-api.log
2015-04-22 04:24:03.051 28320 INFO nova.api.
3. 1) Create a flavor by the code above, then type the cmd as above.
Changed in nova: | |
assignee: | jichenjc (jichenjc) → nobody |
confused by your input sorry
you got following e68a-4ddf- ac2b-2f86363566 03 | TT-Testnew2
TT-19e3e819-
but you are using e68a-4ddf- ac2b-2f86363566 03
#nova flavor-show PVC-19e3e819-
This error also happend when boot vm, it shows cannot find the flavor, boot failed: 3ccfc448- ee59-4b36- 94c1-57b76fa84b 26,v4
# nova boot --flavor TT-Testnew --image RHEL6.5 --nic net-id=