Merge "[OVN] Split NeutronWorkers and NeutronMetadataWorkers for OVN"
This commit is contained in:
commit
7a0297e923
@ -69,11 +69,11 @@ parameters:
|
||||
description: Shared secret to prevent spoofing
|
||||
type: string
|
||||
hidden: true
|
||||
NeutronWorkers:
|
||||
NeutronMetadataWorkers:
|
||||
default: ''
|
||||
description: |
|
||||
Sets the number of worker processes for the neutron metadata agent. The
|
||||
default value results in the configuration being left unset and a
|
||||
Sets the number of worker processes for the neutron OVN metadata agent.
|
||||
The default value results in the configuration being left unset and a
|
||||
system-dependent default will be chosen (usually the number of
|
||||
processors). Please note that this can result in a large number of
|
||||
processes and memory consumption on systems with a large core count. On
|
||||
@ -128,7 +128,7 @@ conditions:
|
||||
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
|
||||
service_debug_unset: {equals : [{get_param: OVNWrapperDebug}, false]}
|
||||
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
|
||||
neutron_workers_unset: {equals : [{get_param: NeutronWorkers}, '']}
|
||||
neutron_metadata_workers_unset: {equals : [{get_param: NeutronMetadataWorkers}, '']}
|
||||
|
||||
resources:
|
||||
|
||||
@ -189,9 +189,9 @@ outputs:
|
||||
- 'http'
|
||||
-
|
||||
if:
|
||||
- neutron_workers_unset
|
||||
- neutron_metadata_workers_unset
|
||||
- {}
|
||||
- neutron::agents::ovn_metadata::metadata_workers: {get_param: NeutronWorkers}
|
||||
- neutron::agents::ovn_metadata::metadata_workers: {get_param: NeutronMetadataWorkers}
|
||||
- if:
|
||||
- internal_tls_enabled
|
||||
- tripleo::profile::base::neutron::ovn_metadata::ovn_sb_ca_cert: {get_param: InternalTLSCAFile}
|
||||
|
@ -5,6 +5,7 @@ parameter_defaults:
|
||||
HeatWorkers: 1
|
||||
KeystoneWorkers: 1
|
||||
NeutronWorkers: 1
|
||||
NeutronMetadataWorkers: 1
|
||||
NovaWorkers: 1
|
||||
NovaSchedulerWorkers: 1
|
||||
SaharaWorkers: 1
|
||||
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Adds a new parameter ``NeutronMetadataWorkers`` for OVN. This
|
||||
parameters allows users to configure the number of OVN metadata
|
||||
workers separately from the value of ``NeutronWorkers``. The OVN
|
||||
metadata workers are deployed onto the compute nodes and not on the
|
||||
controllers/gateways as the OVS ones.
|
||||
|
Loading…
Reference in New Issue
Block a user