Add nova-scheduler worker support
Rocky added nova-scheduler worker support so we need to be able to configure (and tune it) as necessary. Change-Id: Idd702e01b67a2f25eb621d1251e8457ea376f51b Closes-Bug: #1796933
This commit is contained in:
parent
ec227891bd
commit
88b7347fd6
@ -65,6 +65,13 @@ parameters:
|
|||||||
attempt to discover new hosts that have been added to cells.
|
attempt to discover new hosts that have been added to cells.
|
||||||
The default value of -1 disables the periodic task completely.
|
The default value of -1 disables the periodic task completely.
|
||||||
It is recommended to set this parameter for deployments using Ironic.
|
It is recommended to set this parameter for deployments using Ironic.
|
||||||
|
NovaSchedulerWorkers:
|
||||||
|
default: 0
|
||||||
|
description: Number of workers for Nova Scheduler services.
|
||||||
|
type: number
|
||||||
|
|
||||||
|
conditions:
|
||||||
|
nova_scheduler_workers_zero: {equals : [{get_param: NovaSchedulerWorkers}, 0]}
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
NovaBase:
|
NovaBase:
|
||||||
@ -91,6 +98,12 @@ outputs:
|
|||||||
nova::scheduler::filter::scheduler_default_filters: {get_param: NovaSchedulerDefaultFilters}
|
nova::scheduler::filter::scheduler_default_filters: {get_param: NovaSchedulerDefaultFilters}
|
||||||
nova::scheduler::filter::scheduler_max_attempts: {get_param: NovaSchedulerMaxAttempts}
|
nova::scheduler::filter::scheduler_max_attempts: {get_param: NovaSchedulerMaxAttempts}
|
||||||
nova::scheduler::discover_hosts_in_cells_interval: {get_param: NovaSchedulerDiscoverHostsInCellsInterval}
|
nova::scheduler::discover_hosts_in_cells_interval: {get_param: NovaSchedulerDiscoverHostsInCellsInterval}
|
||||||
|
-
|
||||||
|
if:
|
||||||
|
- nova_scheduler_workers_zero
|
||||||
|
- {}
|
||||||
|
- nova::scheduler::workers: {get_param: NovaSchedulerWorkers}
|
||||||
|
|
||||||
service_config_settings:
|
service_config_settings:
|
||||||
fluentd:
|
fluentd:
|
||||||
tripleo_fluentd_groups_nova_scheduler:
|
tripleo_fluentd_groups_nova_scheduler:
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- Nova Scheduler added worker support in Rocky. Added `NovaSchedulerWorkers`
|
||||||
|
to allow it to be configurable.
|
Loading…
Reference in New Issue
Block a user