osdir.com


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

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


 Is there a way I can further debug this?

 Setting debug to "true" didn't show a reason why VMs are spreading and 
 which filter is used every time which will make VMs spread.

 In addition I think that I 've read somewhere that placement does this 
 (stack VMs) by default but have not seen that behavior at all...

 Any ideas appreciated...

 Regards,

 G.

 P.S: Added the "scheduler" tag to catch more attention from the correct 
 people.


> All,
>
> in the past I used to stack VMs based on RAM on hosts by putting the
> following settings in my nova.conf file:
>
> ->ram_weight_multiplier=-1.0
> ->available_filters=nova.scheduler.filters.all_filters
> 
> ->enabled_filters=RetryFilter,AvailabilityZoneFilter,CoreFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter
>
>
> I have now a Rocky installation and although I have set the above on
> my controller node and restarted corresponding services the result
> when spawning two VMs (one after another) is still to be distributed
> on two different hosts. Seems that the something is missing in order
> to override the default behavior.
>
> Any suggestions please?
>
> Best regards,
>
> G.