Installation and configuration¶
Install¶
Important
First need to do setting up the environment. All commands are executed only from superuser.
Mode superuser:
sudo -i
Install package:
from Python packages repository:
pip3 install nova-scheduler-filter
Note
To install Nova Scheduler Filter on Astra Linux (Smolensk) do following:
Connect the provided repository with AccentOS packages.
Install the package with the command:
sudo apt install -y aos-nova-scheduler-filter
Configure¶
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
Restart
nova-scheduler
service:# Debian: systemctl restart nova-scheduler