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.

Depends-On: https://review.opendev.org/#/c/669252/
Change-Id: Ic1a7ff0996c5cfeec2ca013bc4e5b2eddab0c377
This commit is contained in:
Rajesh Tailor 2019-06-10 12:42:29 +05:30
parent 2fd958eb64
commit 2074b356f5
2 changed files with 17 additions and 0 deletions

View File

@ -81,6 +81,13 @@ parameters:
description: >
This setting causes the scheduler to ask placement only for compute
hosts that support the disk_format of the image used in the request.
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]}
@ -125,6 +132,7 @@ outputs:
nova::scheduler::filter::scheduler_max_attempts: {get_param: NovaSchedulerMaxAttempts}
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}
-
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.