Skip to content

Commit

Permalink
Merge "Add support for [DEFAULT] rpc_state_report_workers"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Nov 13, 2021
2 parents 07dd032 + 4c5bf0c commit aef6cd2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@
# manages them.
# Defaults to: $::os_workers
#
# [*rpc_state_report_workers*]
# (Optional) Number of RPC worker process dedicated to state reports queue.
# Defaults to: $::os_service_default.
#
# [*rpc_response_max_timeout*]
# (Optional) Maximum seconds to wait for a response from an RPC call
# Defaults to: $::os_service_default
Expand Down Expand Up @@ -239,6 +243,7 @@
$sync_db = false,
$api_workers = $::os_workers,
$rpc_workers = $::os_workers,
$rpc_state_report_workers = $::os_service_default,
$rpc_response_max_timeout = $::os_service_default,
$agent_down_time = $::os_service_default,
$enable_new_agents = $::os_service_default,
Expand Down Expand Up @@ -319,6 +324,7 @@
'DEFAULT/l3_ha_net_cidr': value => $l3_ha_net_cidr;
'DEFAULT/api_workers': value => $api_workers;
'DEFAULT/rpc_workers': value => $rpc_workers;
'DEFAULT/rpc_state_report_workers': value => $rpc_state_report_workers;
'DEFAULT/rpc_response_max_timeout': value => $rpc_response_max_timeout;
'DEFAULT/agent_down_time': value => $agent_down_time;
'DEFAULT/enable_new_agents': value => $enable_new_agents;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
features:
- |
The new ``neutron::server::rpc_state_report_workers`` parameter has been
added.
1 change: 1 addition & 0 deletions spec/classes/neutron_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class { 'neutron::keystone::authtoken':
should contain_service('neutron-server').with_name('neutron-server')
should contain_neutron_config('DEFAULT/api_workers').with_value(facts[:os_workers])
should contain_neutron_config('DEFAULT/rpc_workers').with_value(facts[:os_workers])
should contain_neutron_config('DEFAULT/rpc_state_report_workers').with_value('<SERVICE DEFAULT>')
should contain_neutron_config('DEFAULT/rpc_response_max_timeout').with_value('<SERVICE DEFAULT>')
should contain_neutron_config('DEFAULT/agent_down_time').with_value('<SERVICE DEFAULT>')
should contain_neutron_config('DEFAULT/enable_new_agents').with_value('<SERVICE DEFAULT>')
Expand Down

0 comments on commit aef6cd2

Please sign in to comment.