Expose executor_thread_pool_size
This option has been supported by puppet-oslo but has not been configurable. Change-Id: Iadb2308d8a7f6c32e01395ca17861b172217f3d6
This commit is contained in:
parent
486d7f1435
commit
eab0404ff3
|
@ -166,6 +166,10 @@
|
|||
# (Optional) Seconds to wait for a response from a call.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*executor_thread_pool_size*]
|
||||
# (Optional) Size of executor thread pool when executor is threading or eventlet.
|
||||
# Defaults to $facts['os_service_default'].
|
||||
#
|
||||
# [*public_endpoint*]
|
||||
# (Optional) The base public endpoint URL for keystone that are
|
||||
# advertised to clients (NOTE: this does NOT affect how
|
||||
|
@ -366,6 +370,7 @@ class keystone(
|
|||
$notification_format = $facts['os_service_default'],
|
||||
$notification_opt_out = $facts['os_service_default'],
|
||||
$control_exchange = $facts['os_service_default'],
|
||||
$executor_thread_pool_size = $facts['os_service_default'],
|
||||
$rpc_response_timeout = $facts['os_service_default'],
|
||||
$service_name = $::keystone::params::service_name,
|
||||
$max_token_size = $facts['os_service_default'],
|
||||
|
@ -490,6 +495,7 @@ class keystone(
|
|||
}
|
||||
|
||||
oslo::messaging::default { 'keystone_config':
|
||||
executor_thread_pool_size => $executor_thread_pool_size,
|
||||
transport_url => $default_transport_url,
|
||||
control_exchange => $control_exchange,
|
||||
rpc_response_timeout => $rpc_response_timeout,
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
The new ``keystone::executor_thread_pool_size`` parameter has been added.
|
|
@ -54,6 +54,7 @@ describe 'keystone' do
|
|||
is_expected.to contain_keystone_config('DEFAULT/notification_opt_out').with_value('<SERVICE DEFAULT>')
|
||||
|
||||
is_expected.to contain_oslo__messaging__default('keystone_config').with(
|
||||
:executor_thread_pool_size => '<SERVICE DEFAULT>',
|
||||
:transport_url => '<SERVICE DEFAULT>',
|
||||
:control_exchange => '<SERVICE DEFAULT>',
|
||||
:rpc_response_timeout => '<SERVICE DEFAULT>',
|
||||
|
@ -270,12 +271,14 @@ describe 'keystone' do
|
|||
:notification_driver => ['keystone.openstack.common.notifier.rpc_notifier'],
|
||||
:notification_topics => ['notifications'],
|
||||
:control_exchange => 'keystone',
|
||||
:rpc_response_timeout => 120
|
||||
:rpc_response_timeout => 120,
|
||||
:executor_thread_pool_size => 64,
|
||||
}
|
||||
end
|
||||
|
||||
it {
|
||||
is_expected.to contain_oslo__messaging__default('keystone_config').with(
|
||||
:executor_thread_pool_size => 64,
|
||||
:transport_url => 'rabbit://user:pass@host:1234/virt',
|
||||
:control_exchange => 'keystone',
|
||||
:rpc_response_timeout => 120,
|
||||
|
|
Loading…
Reference in New Issue