group_policy flavor extra spec is not compatible with AggregateInstanceExtraSpecsFilter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Pavlo Shchelokovskyy |
Bug Description
Effectively adding this extra spec to use the 'granular resource request' feature of placement also requires that all the computes such flavor attempts to target are added into an aggregate with the metadata 'group_policy' set and equal to 'none' or 'isolate'.
We either have to finally move the group_policy extra spec to its own namespace (there's a TODO in the code for that, similar to what has been done to hide_hypervisor
or explicitly ignore this key in AggregateInstan
example:
using the flavor with the following extra spec
group_policy=
and having no aggregates, I get the following error in the scheduler log
2024-01-09 22:00:03.045 1 DEBUG nova.filters [None req-db963b93-
2024-01-09 22:00:03.046 1 DEBUG nova.scheduler.
2024-01-09 22:00:03.046 1 INFO nova.filters [None req-db963b93-
Fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /905210
Review: https:/