Public bug reported: In file glance/etc/metadefs/compute-host-capabilities.json there is a part of schema:
"resource_type_associations": [ { "name": "OS::Nova::Flavor", "prefix": "capabilities:" }, { "name": "OS::Nova::Aggregate", "prefix": "aggregate_instance_extra_spec:" } ], It's important to notice aggegate prefix: "aggregate_instance_extra_spec:". But in nova scheduler filters (/nova/scheduler/filters/aggregate_instance_extra_specs.py) there is this line of code: _SCOPE = 'aggregate_instance_extra_specs' So in order not to touch nova filter prefix (which is ok), glance schema file should be fixed. /etc/metadefs/compute-host-capabilities.json should be corrected by adding 's' after 'aggregate_instance_extra_spec' ** Affects: glance Importance: Undecided Status: New ** Tags: low-hanging-fruit metadef ** Tags added: low-hanging-fruit ** Tags added: metadef ** Tags removed: metadef ** Tags added: metadefs ** Tags removed: metadefs ** Tags added: metadef -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1390031 Title: Inconsistancy in using "aggregate_instance_extra_specs" prefix in glance/etc/metadefs/compute-host-capabilities.json Status in OpenStack Image Registry and Delivery Service (Glance): New Bug description: In file glance/etc/metadefs/compute-host-capabilities.json there is a part of schema: "resource_type_associations": [ { "name": "OS::Nova::Flavor", "prefix": "capabilities:" }, { "name": "OS::Nova::Aggregate", "prefix": "aggregate_instance_extra_spec:" } ], It's important to notice aggegate prefix: "aggregate_instance_extra_spec:". But in nova scheduler filters (/nova/scheduler/filters/aggregate_instance_extra_specs.py) there is this line of code: _SCOPE = 'aggregate_instance_extra_specs' So in order not to touch nova filter prefix (which is ok), glance schema file should be fixed. /etc/metadefs/compute-host-capabilities.json should be corrected by adding 's' after 'aggregate_instance_extra_spec' To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1390031/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp