Problem
Admin user would like to exclude a set of hypervisors to avoid migration of instances to noncompliant hosts.
Environment
- Platform9 Managed OpenStack- All Versions
Procedure
- Login to the Clarity UI.
- Open the Infrastructure tab.
- Select the hosts you don't want the instances to be migrated to.
- Put those hosts in Maintenance Mode using the switch button shown in the image below.
Note: Hosts in Maintenance Mode will have its nova-compute service disabled. This will not allow any new instances to get spawned on the hosts. Existing instances will not get disrupted by this process.