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