O'Reilly logo

Production Ready OpenStack - Recipes for Successful Environments by Arthur Berezin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required