[openstack-dev] Combination of ComputeCapabilitiesFilter and AggregateInstanceExtraSpecsFilter
jeronimo974 at gmail.com
Fri Jul 5 16:42:15 UTC 2013
I'm trying to combine ComputeCapabilitiesFilter and
AggregateInstanceExtraSpecsFilter. However I probably missed
something, because it does not work :-)
Both filters are activated with the following order:
I created a flavor with the following extra_spec:
I created an aggregate containing node1 with an extra_spec:
When I start a new instance with the previously created flavor, the
ComputeCapabilitiesFilter can't find an available node. I put some
debug inside the filter. From my understanding, it seems that,
ComputeCapabilitiesFilter manage to find the first spec
"capabilities:hypervisor_hostname=node1" into the list of metadata
provided by the host node1 : the first iteration of the loop is OK.
Then this filter continues with the "class=good" spec and, of course,
it fails and the filter returns that there is no available host.
Do you have an idea about what I'm missing? How to tell to
ComputeCapabilitiesFilter that the "class" key is not for it?
I read the detailed documentation about filter_scheduler (
). But I didn't manage to solve the issue.
Thanks a lot.
More information about the OpenStack-dev