This is an old feature request (= "wishlist" bug report) which wasn't able to draw enough attention for an implementation. Also, the effort to implement this needs to be driven by a blueprint + spec file. I'm closing it as "Opinion".
If you want to work on this, consider reading [1] and create a blueprint at [2] and a spec-file at [3]. If you need assistance, reach out on the IRC channel #openstack-nova or use the mailing list. References: [1] https://wiki.openstack.org/wiki/Blueprints [2] https://blueprints.launchpad.net/nova/ [3] https://github.com/openstack/nova-specs ** Changed in: nova Status: Confirmed => Opinion ** Changed in: nova Assignee: Jennifer Mulsow (jmulsow) => (unassigned) -- 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/1399815 Title: targeted migrations/evacuations skip scheduler validation Status in OpenStack Compute (nova): Opinion Bug description: This was observed in the Juno release. Because targeted live and cold migrations do not go through the scheduler for policy-based decision making, a VM could be migrated to a host that would violate the policy of the server-group. If a VM belongs to a server group, the group policy will need to be checked in the compute manager at the time of migration to ensure that: 1. VMs in a server group with affinity rule can't be migrated. 2. VMs in a server group with anti-affinity rule don't move to a host that would violate the rule. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1399815/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

