Legacy GroupAffinity and GroupAntiAffinity filters are broken
Bug #1394551 reported by
Balazs Gibizer
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Balazs Gibizer | ||
Juno |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Both GroupAffinity and GroupAntiAffinity filters are broken. The scheduler does not respect the filters and schedules the servers against the policy.
Reproduction steps:
0) Spin up a single node devstack
1) Add GroupAntiAffini
2) Boot multiple server with the following command
nova boot --image cirros-
Expected behaviour:
The second and any further boot should fail with NoValidHostFound exception as anti-affinity policy cannot be fulfilled.
Actual behaviour:
Any number of servers are booted to the same compute node
Changed in nova: | |
assignee: | nobody → Balazs Gibizer (balazs-gibizer) |
tags: | added: juno-backport-potential |
Changed in nova: | |
status: | Invalid → In Progress |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/135933
Review: https:/