Configuring Nova Scheduler to use host aggregates
OpenStack Compute provides the ability to create logical groupings of hypervisors called host aggregates, which allow users and administrators to control what physical compute hosts can run the requested workload. Often times, host aggregates are used to organize hosts with similar attributes, such as SSD, performance, or hosts, that have passed a security audit such as HITRUST or PCI. A host can be assigned to multiple aggregates. That is, a host can be part of the PCI and SSD grouping. To enable host aggregate scheduling in Nova Scheduler, you must first enable host aggregate filtering in nova.conf
. In openstack-ansible
, Ansible manages this file, and we will use it to push the appropriate changes.
Getting ready
Ensure that you are root
on the deployment host. In most cases, this is the first infrastructure controller node, infra01
.
How to do it…
To enable scheduling for host aggregates, the following steps can be used:
On the deployment host...