← Back to team overview

openstack team mailing list archive

Re: Filter Scheduler options implemented by default

 

Hi, Atul

You are right, If you just put 
> compute_scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler
in nova.conf. And not explicitly set 'scheduler_default_filters', it's value will be ['RetryFilter', …,'ImagePropertiesFilter'] default. 

So all your host should pass these Filters.

Best regards,
Adir Gao
在 2013-2-11,下午5:31,Atul Jha <Atul.Jha@xxxxxxxxxxx> 写道:

> Hi All,
> 
> I wanted help regarding the nova scheduler options. If i am not passing any options inside my nova.conf apart from
> 
> compute_scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler
> 
> As per the default options https://github.com/openstack/nova/blob/master/nova/scheduler/host_manager.py#L32 (thanks garyk)
> 
> will all these filter rules will be processed
> 
> 
> fg.ListOpt('scheduler_default_filters',
>                default=[
>                  'RetryFilter',
>                  'AvailabilityZoneFilter',
>                  'RamFilter',
>                  'ComputeFilter',
>                  'ComputeCapabilitiesFilter',
>                  'ImagePropertiesFilter'
>                  ],
>                help='Which filter class names to use for filtering hosts '
>                      'when not specified in the request.'),
> 
> Let me know if am understanding it correctly. So by default my all host will go through all above filtering types. :)
> 
> Thanks!!
> 
> Atul Jha
> http://www.csscorp.com/common/email-disclaimer.php
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp




Follow ups

References