Public bug reported:

With the below extra_specs in a flavor:
  extra_specs                | {"cpu_arch": "x86_64", 
"aggregate_instance_extra_specs:bm": "true"} |

The filter doesn't qualify a host that satisfies
"aggregate_instance_extra_specs:bm": "true". This is because "cpu_arch":
"x86_64" doesn't match any aggregates since "cpu_arch" is not defined in
aggregates' metadata. This is wrong since the filter should only look at
keys with initial scope being "aggregate_instance_extra_specs", and
should not look at the key "cpu_arch" at all

** Affects: nova
     Importance: Undecided
     Assignee: Baodong (Robert) Li (baoli)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Baodong (Robert) Li (baoli)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1504196

Title:
  aggregate instance extra specs filter incorrectly  filter out
  qualified host

Status in OpenStack Compute (nova):
  New

Bug description:
  With the below extra_specs in a flavor:
    extra_specs                | {"cpu_arch": "x86_64", 
"aggregate_instance_extra_specs:bm": "true"} |

  The filter doesn't qualify a host that satisfies
  "aggregate_instance_extra_specs:bm": "true". This is because
  "cpu_arch": "x86_64" doesn't match any aggregates since "cpu_arch" is
  not defined in aggregates' metadata. This is wrong since the filter
  should only look at keys with initial scope being
  "aggregate_instance_extra_specs", and should not look at the key
  "cpu_arch" at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1504196/+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

Reply via email to