Nova-scheduler weight question - prefer smaller hypervisors

asked 2018-03-02 10:13:39 -0600

apdibbo gravatar image


I would like to configure the nova scheduler to prefer placing VMs on smaller hypervisors.

How would I go about doing this?

I can see that meters and weights are probably the way but I cant see good examples of this.



edit retag flag offensive close merge delete


Under nova/scheduler/weights, find a simple example like and adapt it to your need. Whatever python code is in this directory will be registered as a weigher.

Bernd Bausch gravatar imageBernd Bausch ( 2018-03-02 17:00:43 -0600 )edit