yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #26310
[Bug 1390031] Re: Inconsistancy in using "aggregate_instance_extra_specs" prefix in glance/etc/metadefs/compute-host-capabilities.json
** Changed in: glance
Status: Fix Committed => Fix Released
** Changed in: glance
Milestone: None => kilo-1
--
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):
Fix Released
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
References