GroupAntiAffinityFilter Not working

asked 2013-12-18 14:01:00 -0600

dbeutler gravatar image

I am trying to configure our openstack environment so hosts from the same group get provisioned on different compute nodes. From what I understand, this is exactly what the GroupAntiAffinityFilter does.

I have configured our nova.conf file with the following settings: scheduler_available_filters=nova.scheduler.filters.standard_filters scheduler_default_filters=GroupAntiAffinityFilter compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

I have restarted the scheduler service.

I have metadata which contains the the respective group.

However, when I spin up a new instance, it is still placed on the same node as other instances from the same group.

Any help would be appreciated.

-Danny

edit retag flag offensive close merge delete

Comments

Can you check setting scheduler_available_filters to nova.scheduler.filters.all_filters ?

unmesh-gurjar gravatar imageunmesh-gurjar ( 2013-12-19 04:15:13 -0600 )edit