535151f32d
This adds the "nova-manage placement sync_aggregates" command which will compare nova host aggregates to placement resource provider aggregates and add any missing resource provider aggregates based on the nova host aggregates. At this time, it's only additive in that the command does not remove resource provider aggregates if those matching nodes are not found in nova host aggregates. That likely needs to happen in a change that provides an opt-in option for that behavior since it could be destructive for externally-managed provider aggregates for things like ironic nodes or shared storage pools. Part of blueprint placement-mirror-host-aggregates Change-Id: Iac67b6bf7e46fbac02b9d3cb59efc3c59b9e56c8
21 lines
968 B
YAML
21 lines
968 B
YAML
---
|
|
features:
|
|
- |
|
|
A ``nova-manage placement sync_aggregates`` command has been added which
|
|
can be used to mirror nova host aggregates to resource provider aggregates
|
|
in the placement service. This is a useful tool if you are using aggregates
|
|
in placement to optimize scheduling:
|
|
|
|
https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#aggregates-in-placement
|
|
|
|
The ``os-aggregates`` compute API ``add_host`` and ``remove_host`` actions
|
|
will automatically add/remove compute node resource providers from resource
|
|
provider aggregates in the placement service if the ``nova-api`` service
|
|
is configured to communicate with the placement service, so this command
|
|
is mostly useful for existing deployments with host aggregates which are
|
|
not yet mirrored in the placement service.
|
|
|
|
For more details, see the command documentation:
|
|
|
|
https://docs.openstack.org/nova/latest/cli/nova-manage.html#placement
|