No Valid Host From Host Aggregates Resulted in Instance Spawning Failure
Problem
Cold Migration for the instance failed as it could not find any valid host for the instance to be deployed on.
It queried the hosts available within host aggregates, however, since the flavor used for the instance did not match with any of the host aggregate metadata, migration failed.
Environment
Platform9 Managed OpenStack - All Versions
Cause
Host aggregate to match the instance flavor specifications is not present.
Resolution
Create a host aggregate matching the Instance flavor specifications.
If the flavor properties is not set, it is mandatory to specify one or more key-value pairs that match the key-value pairs on the host aggregates with the scope aggregate_instance_extra_specs. For our case, it is the aggregate_instance_extra_specs: host='AggregateMatch' key-value pair.
Set the key-value pair using the following command.
Additional Information
