Merge "Add new parameter NovaSchedulePlacementAggregateRequiredForTenants"

This commit is contained in:
Zuul 2020-04-06 14:57:20 +00:00 committed by Gerrit Code Review
commit 0351a5350e
2 changed files with 21 additions and 0 deletions

View File

@ -88,6 +88,15 @@ parameters:
hosts in tenant-isolated host aggregate and availability zones will
only be available to specific set of tenants.
type: boolean
NovaSchedulePlacementAggregateRequiredForTenants:
default: false
description: >
This setting, when `NovaScheduleLimitTenantsToPlacementAggregate` is true,
controls whether or not a tenant with no aggregate affinity will be allowed
to schedule to any available node.
If aggregates are used to limit some tenants but not all, then this should be
False. If all tenants should be confined via aggregate, then this should be True.
type: boolean
conditions:
nova_scheduler_workers_zero: {equals : [{get_param: NovaSchedulerWorkers}, 0]}
@ -133,6 +142,7 @@ outputs:
nova::scheduler::discover_hosts_in_cells_interval: {get_param: NovaSchedulerDiscoverHostsInCellsInterval}
nova::scheduler::query_placement_for_image_type_support: {get_param: NovaSchedulerQueryImageType}
nova::scheduler::limit_tenants_to_placement_aggregate: {get_param: NovaSchedulerLimitTenantsToPlacementAggregate}
nova::schedule::placement_aggregate_required_for_tenants: {get_param: NovaSchedulePlacementAggregateRequiredForTenants}
-
if:
- nova_scheduler_workers_zero

View File

@ -0,0 +1,11 @@
---
features:
- |
Add boolean parameter `NovaSchedulePlacementAggregateRequiredForTenants`
which allows to set `scheduler/placement_aggregate_required_for_tenants`
parameter. It controls whether or not a tenant with no aggregate affinity
will be allowed to schedule to any available node.
If aggregates are used to limit some tenants but not all, then this should
be False. If all tenants should be confined via aggregate, then this
should be True.
Default value for NovaSchedulePlacementAggregateRequiredForTenants is false.