Create Soft Affinity/Anti-Affinity Server Groups
Problem
Need to create a server group with the soft-affinity or soft-anti-affinity rule as this option is not available in the UI.
Environment
Platform9 Managed OpenStack - v3.6.0 and Higher
Nova
Procedure
Use the OpenStack CLI to create a server group with either the soft-affinity or soft-anti-affinity option.
# openstack server group create --os-compute-api-version 2.37 --policy soft-anti-affinity [ServerGroupName]Note: You must specify --os-compute-api- version 2.15 or higher for the 'soft-affinity' or 'soft-anti-affinity' policy.
Additional Information
Previous"Unable to obtain pidfile" Error While Starting Libvirtd Service
NextIs it Possible to Set Server Group for Instances Created via OpenStack CLI?
Last updated
