[nova][scheduler] - Stack VMs based on RAM

Matt Riedemann mriedemos at gmail.com
Fri Apr 19 20:40:01 UTC 2019


On 4/19/2019 2:47 PM, Georgios Dimitrakakis wrote:
> Meanwhile what I 've though was to change the "weight_classes" parameter 
> to use only the "RAM" weight instead of all, since initially this is 
> what I would like to be based and then move on from there.
> Unfortunately I haven't found a way to properly set it and no matter 
> what I 've tried I always ended up with an error in nova-scheduler.log 
> saying "ERROR nova ValueError: Empty module name"
> 
> Any ideas on how to set it based on the available weights? It seems that 
> it needs a list format but how?

You should be able to specify this in your nova.conf:

[filter_scheduler]
weight_classes = nova.scheduler.weights.ram.RAMWeigher

Does that not work?

-- 

Thanks,

Matt



More information about the openstack-discuss mailing list