Comment 24 for bug 1168260

Revision history for this message
Michal Ptacek (michalx-ptacek) wrote :

I can also see deleted flavor, in my case I wrongly passed arguments of flavor-create:

nova flavor-create auto nodepool-14-35-24 14336 35 24

which created flavor with id "nodepool-14-35-24" and name "auto"
when deleted via (nova flavor-delete nodepool-14-35-24 | or nova flavor-delete auto)
I can still see some remnants of deleted flavor.

nova flavor-show nodepool-14-35-24
+----------------------------+-------------------+
| Property | Value |
+----------------------------+-------------------+
| OS-FLV-DISABLED:disabled | False |
| OS-FLV-EXT-DATA:ephemeral | 0 |
| disk | 35 |
| extra_specs | N/A |
| id | nodepool-14-35-24 |
| name | auto |
| os-flavor-access:is_public | True |
| ram | 14336 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 24 |
+----------------------------+-------------------+

unfortunately when I create a proper flavor
nova flavor-create nodepool-14-35-24 auto 14336 35 24

I can't modify it via "nova flavor-key nodepool-14-35-24 ...."
ERROR (NotFound): Flavor nodepool-14-35-24 could not be found
probably it's preferring flavor-id of deleted flavor ....

I can modify using flavor id, but this mess is confusing me and I would like to clean it somehow first to avoid potentially further problems,

any suggestions for cleaning the mess ?
thanks