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

Matt Riedemann mriedemos at gmail.com
Wed Apr 17 02:49:00 UTC 2019

On 4/16/2019 7:03 PM, melanie witt wrote:
> To debug further, you should set debug to True in the nova.conf on your 
> scheduler host and look for which filter is removing the desired host 
> for the second VM. You can find where to start by looking for a message 
> like, "Starting with N host(s)". If you have two hosts with enough RAM, 
> you should see "Starting with 2 host(s)" and then look for the log 
> message where it says "Filter returned 1 host(s)" and that will be the 
> filter that is removing the desired host. Once you know which filter is 
> removing it, you can debug further.

If the other host isn't getting filtered out, it could be the weighers 
that aren't prioritizing the host you expect, but debug logs should dump 
the weighed hosts as well which might give a clue.




More information about the openstack-discuss mailing list