[Openstack] unexpected distribution of compute instances in queens

Zufar Dhiyaulhaq zufardhiyaulhaq at gmail.com
Tue Dec 4 16:00:23 UTC 2018


Hi all, I am facing this issue again,

I try to add this configuration but still, the node is going to compute1.

[scheduler]
driver = filter_scheduler
host_manager = host_manager

[filter_scheduler]
available_filters=nova.scheduler.filters.all_filters
enabled_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,CoreFilter
use_baremetal_filters=False
weight_classes=nova.scheduler.weights.all_weighers

[placement]
randomize_allocation_candidates = true

thank you.

Best Regards,
Zufar Dhiyaulhaq


On Tue, Dec 4, 2018 at 3:59 PM Zufar Dhiyaulhaq <zufar at onf-ambassador.org>
wrote:

> Hi all, I am facing this issue again,
>
> I try to add this configuration but still, the node is going to compute1.
>
> [scheduler]
> driver = filter_scheduler
> host_manager = host_manager
>
> [filter_scheduler]
> available_filters=nova.scheduler.filters.all_filters
>
> enabled_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,CoreFilter
> use_baremetal_filters=False
> weight_classes=nova.scheduler.weights.all_weighers
>
> [placement]
> randomize_allocation_candidates = true
>
> thank you.
>
>
> Best Regards,
> Zufar Dhiyaulhaq
>
>
> On Tue, Dec 4, 2018 at 3:55 AM Mike Carden <mike.carden at gmail.com> wrote:
>
>>
>>> Presuming you are deploying Rocky or Queens,
>>>
>>
>> Yep, it's Queens.
>>
>>
>>>
>>> It goes in the nova.conf file under the [placement] section:
>>>
>>> randomize_allocation_candidates = true
>>>
>>
>> In triple-o land it seems like the config may need to be somewhere like
>> nova-scheduler.yaml and laid down via a re-deploy.
>>
>> Or something.
>>
>> The nova_scheduler runs in a container on a 'controller' host.
>>
>> --
>> MC
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20181204/212f3f5e/attachment-0001.html>


More information about the openstack-discuss mailing list