[Openstack] unexpected distribution of compute instances in queens

Jay Pipes jaypipes at gmail.com
Mon Dec 3 13:59:13 UTC 2018


On 11/30/2018 05:52 PM, Mike Carden wrote:
> 
>     Have you set the placement_randomize_allocation_candidates CONF option
>     and are still seeing the packing behaviour?
> 
> 
> No I haven't. Where would be the place to do that? In a nova.conf 
> somewhere that the nova-scheduler containers on the controller hosts 
> could pick it up?
> 
> Just about to deploy for realz with about forty x86 compute nodes, so it 
> would be really nice to sort this first. :)

Presuming you are deploying Rocky or Queens,

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

randomize_allocation_candidates = true

The nova.conf file should be the one used by nova-scheduler.

Best,
-jay



More information about the Openstack mailing list