[openstack-dev] [nova] Flavor extra-spec and image metadata documentation
Kashyap Chamarthy
kchamart at redhat.com
Wed Feb 11 10:13:48 UTC 2015
On Wed, Feb 11, 2015 at 10:23:54AM +0100, Pasquale Porreca wrote:
> Hello
>
> I am working on a little patch that introduce a new flavor extra-spec
> and image metadata key-value pair https://review.openstack.org/#/c/153607/
>
> I am wondering how an openstack admin can be aware that a specific value
> of a flavor extra-spec or image metadata provides a feature he may
> desire, in other words is there a place where the flavor extra-specs
> and/or image metadata key-value pairs are documented?
Unfortunately, there's none as of now. I found this the hard way that
you cannot trivially find all possible 'extra_spec' key values that can
be set by `nova flavor-key`
I did gross things like this:
$ grep hw\: nova/virt/hardware.py nova/tests/unit/virt/test_hardware.py | sort | uniq
And, obviously the above will only find you 'hw' properties.
Daniel Berrangé once suggested that image properties and flavor extra
specs need to be 'objectified' to alleviate this.
> I found plenty of documentation on how to list, create, delete, etc.
> flavor extra-spec and image metadata, but the only place where I found a
> list (is that complete?) of the accepted (i.e. that trigger specific
> feature in nova) key-value pairs is in horizon dashboard, when logged
> with admin credential.
>
> I am a bit confused on how someone working to add a new key/value pair
> should proceed.
>
--
/kashyap
More information about the OpenStack-dev
mailing list