Installation and configuration

Install

Important

First need to do setting up the environment. All commands are executed only from superuser.

Mode superuser:

sudo -i
  1. Install package:

    • from Python packages repository:

      pip3 install nova-scheduler-filter
      

Note

To install Nova Scheduler Filter on Astra Linux (Smolensk) do following:

  1. Connect the provided repository with AccentOS packages.

  2. Install the package with the command:

    sudo apt install -y aos-nova-scheduler-filter
    

Configure

  1. Add new filter to section filter_scheduler in conffig file /etc/nova/nova.conf:

    available_filters = nova.scheduler.filters.all_filters
    available_filters = nova_scheduler_filter.filter.SpecifiedTenantIsolation
    enabled_filters = AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,SpecifiedTenantIsolation
    
  2. Restart nova-scheduler service:

    # Debian:
    systemctl restart nova-scheduler