Merge "Decoupling number of API and RPC workers for neutron-api" into stable/rocky
This commit is contained in:
commit
fa7a224e01
|
@ -33,7 +33,7 @@ parameters:
|
||||||
NeutronWorkers:
|
NeutronWorkers:
|
||||||
default: ''
|
default: ''
|
||||||
description: |
|
description: |
|
||||||
Sets the number of API and RPC workers for the Neutron service.
|
Sets the number of API workers for the Neutron service.
|
||||||
The default value results in the configuration being left unset
|
The default value results in the configuration being left unset
|
||||||
and a system-dependent default will be chosen (usually the number
|
and a system-dependent default will be chosen (usually the number
|
||||||
of processors). Please note that this can result in a large number
|
of processors). Please note that this can result in a large number
|
||||||
|
@ -41,6 +41,15 @@ parameters:
|
||||||
count. On such systems it is recommended that a non-default value
|
count. On such systems it is recommended that a non-default value
|
||||||
be selected that matches the load requirements.
|
be selected that matches the load requirements.
|
||||||
type: string
|
type: string
|
||||||
|
NeutronRpcWorkers:
|
||||||
|
default: ''
|
||||||
|
description: |
|
||||||
|
Sets the number of RPC workers for the Neutron service.
|
||||||
|
If not specified, it'll take the value of NeutronWorkers and if this is
|
||||||
|
not specified either, the default value results in the configuration
|
||||||
|
being left unset and a system-dependent default will be chosen
|
||||||
|
(usually 1).
|
||||||
|
type: string
|
||||||
NeutronPassword:
|
NeutronPassword:
|
||||||
description: The password for the neutron service and db account, used by neutron agents.
|
description: The password for the neutron service and db account, used by neutron agents.
|
||||||
type: string
|
type: string
|
||||||
|
@ -112,6 +121,7 @@ parameter_groups:
|
||||||
conditions:
|
conditions:
|
||||||
use_tls_proxy: {equals : [{get_param: EnableInternalTLS}, true]}
|
use_tls_proxy: {equals : [{get_param: EnableInternalTLS}, true]}
|
||||||
neutron_workers_unset: {equals : [{get_param: NeutronWorkers}, '']}
|
neutron_workers_unset: {equals : [{get_param: NeutronWorkers}, '']}
|
||||||
|
neutron_rpc_workers_unset: {equals : [{get_param: NeutronRpcWorkers}, '']}
|
||||||
neutron_ovs_int_br_unset: {equals : [{get_param: NeutronOvsIntegrationBridge}, '']}
|
neutron_ovs_int_br_unset: {equals : [{get_param: NeutronOvsIntegrationBridge}, '']}
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
@ -217,7 +227,15 @@ outputs:
|
||||||
- neutron_workers_unset
|
- neutron_workers_unset
|
||||||
- {}
|
- {}
|
||||||
- neutron::server::api_workers: {get_param: NeutronWorkers}
|
- neutron::server::api_workers: {get_param: NeutronWorkers}
|
||||||
neutron::server::rpc_workers: {get_param: NeutronWorkers}
|
-
|
||||||
|
if:
|
||||||
|
- neutron_rpc_workers_unset
|
||||||
|
-
|
||||||
|
if:
|
||||||
|
- neutron_workers_unset
|
||||||
|
- {}
|
||||||
|
- neutron::server::rpc_workers: {get_param: NeutronWorkers}
|
||||||
|
- neutron::server::rpc_workers: {get_param: NeutronRpcWorkers}
|
||||||
-
|
-
|
||||||
if:
|
if:
|
||||||
- neutron_ovs_int_br_unset
|
- neutron_ovs_int_br_unset
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Now it's possible to define the number of API and RPC workers separately
|
||||||
|
for neutron-api service. This is good for certain network backends such
|
||||||
|
as OVN that don't require RPC communication.
|
Loading…
Reference in New Issue