Add new parameter NovaSchedulerLimitTenantsToPlacementAggregate

Add new parameter NovaSchedulerLimitTenantsToPlacementAggregate
allows for configuring scheduler to enable tenant-isolation with
placement, which ensures that hosts in tenant-isolated host
aggregate and availability zones will only be available to
specific set of tenants.

 Conflicts:
       deployment/nova/nova-scheduler-container-puppet.yaml

Resolved conflicts occure due to missing change
I6d12a66616cc2cc65e62755e8a54084d65aeae5e in stein.

Depends-On: https://review.opendev.org/#/c/728044/
Change-Id: Ic1a7ff0996c5cfeec2ca013bc4e5b2eddab0c377
(cherry picked from commit 2074b356f5)
This commit is contained in:
Rajesh Tailor 2019-06-10 12:42:29 +05:30
parent 6f61007a14
commit 603696a065
2 changed files with 17 additions and 0 deletions

View File

@ -75,6 +75,13 @@ parameters:
default: 0
description: Number of workers for Nova Scheduler services.
type: number
NovaSchedulerLimitTenantsToPlacementAggregate:
default: false
description: >
This value allows to have tenant isolation with placement. It ensures
hosts in tenant-isolated host aggregate and availability zones will
only be available to specific set of tenants.
type: boolean
conditions:
nova_scheduler_workers_zero: {equals : [{get_param: NovaSchedulerWorkers}, 0]}
@ -118,6 +125,7 @@ outputs:
nova::scheduler::filter::scheduler_default_filters: {get_param: NovaSchedulerDefaultFilters}
nova::scheduler::filter::scheduler_max_attempts: {get_param: NovaSchedulerMaxAttempts}
nova::scheduler::discover_hosts_in_cells_interval: {get_param: NovaSchedulerDiscoverHostsInCellsInterval}
nova::scheduler::limit_tenants_to_placement_aggregate: {get_param: NovaSchedulerLimitTenantsToPlacementAggregate}
-
if:
- nova_scheduler_workers_zero

View File

@ -0,0 +1,9 @@
---
features:
- |
Add boolean parameter `NovaSchedulerLimitTenantsToPlacementAggregate` which
allows to set `scheduler/limit_tenants_to_placement_aggregate` parameter
value, to have tenant isolation with placement. It ensures hosts are in
tenant-isolated host aggregate and availability zones will only be available
to specific set of tenants.
Default value for NovaSchedulerLimitTenantsToPlacementAggregate is false.