Configuring Nova scheduler filters
First, let's configure Nova scheduler filters, they are configured in Nova's main configuration file /etc/nova/nova.conf
on the host running a Nova scheduler service, which is most commonly installed on the controller node.
Getting ready
Enable and set the filter scheduler driver under the DEFAULT
section:
[root@controller ~]# openstack-config --set /etc/nova/nova.conf DEFAULT scheduler_driver nova.scheduler.filter_scheduler.FilterScheduler
Then, set which filter scheduler should be available:
[root@controller ~]# openstack-config --set /etc/nova/nova.conf DEFAULT scheduler_available_filters nova.scheduler.filters.all_filters
The parameter scheduler_default_filters
will enable filters to be used:
[root@controller ~]# openstack-config --set /etc/nova/nova.conf DEFAULT scheduler_default_filters RetryFilter, AvailabilityZoneFilter, RamFilter, ComputeFilter, ComputeCapabilitiesFilter, ImagePropertiesFilter, CoreFilter
Note that scheduler_default_filters
allows...