osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openstack] unexpected distribution of compute instances in queens


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