Hi all, I am facing this issue again,

I try to add this configuration but still, the node is going to compute1.

[scheduler]
driver = filter_scheduler
host_manager = host_manager

[filter_scheduler]
available_filters=nova.scheduler.filters.all_filters
enabled_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,CoreFilter
use_baremetal_filters=False
weight_classes=nova.scheduler.weights.all_weighers

[placement]
randomize_allocation_candidates = true

thank you.

Best Regards,
Zufar Dhiyaulhaq


On Tue, Dec 4, 2018 at 3:55 AM Mike Carden <mike.carden@gmail.com> wrote:

Presuming you are deploying Rocky or Queens,

Yep, it's Queens.
 

It goes in the nova.conf file under the [placement] section:

randomize_allocation_candidates = true

In triple-o land it seems like the config may need to be somewhere like nova-scheduler.yaml and laid down via a re-deploy.

Or something.

The nova_scheduler runs in a container on a 'controller' host.

-- 
MC
 
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack