Add support for [DEFAULT] cell_worker_thread_pool_size
... which was added during this cycle. Depends-on: https://review.opendev.org/947966 Change-Id: I9c2ad06715e94aacd53e966e5d8ddf3ef9e7e165 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -346,6 +346,11 @@
|
||||
# (optional) Template string to be used to generate instance names
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*cell_worker_thread_pool_size*]
|
||||
# (optional) The number of tasks that can run concurrently, one for each
|
||||
# cell, for operations requires cross cell data gathering.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# DEPRECATED PARAMETERS
|
||||
#
|
||||
# [*auth_strategy*]
|
||||
@@ -434,6 +439,7 @@ class nova(
|
||||
$my_ip = $facts['os_service_default'],
|
||||
$dhcp_domain = $facts['os_service_default'],
|
||||
$instance_name_template = $facts['os_service_default'],
|
||||
$cell_worker_thread_pool_size = $facts['os_service_default'],
|
||||
# DEPRECATED PARAMETERS
|
||||
$auth_strategy = undef,
|
||||
$rabbit_heartbeat_in_pthread = undef,
|
||||
@@ -531,6 +537,7 @@ class nova(
|
||||
'DEFAULT/initial_disk_allocation_ratio': value => $initial_disk_allocation_ratio;
|
||||
'DEFAULT/dhcp_domain': value => $dhcp_domain;
|
||||
'DEFAULT/instance_name_template': value => $instance_name_template;
|
||||
'DEFAULT/cell_worker_thread_pool_size': value => $cell_worker_thread_pool_size;
|
||||
}
|
||||
|
||||
oslo::messaging::rabbit {'nova_config':
|
||||
|
@@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The new ``nova::cell_worker_thread_pool_size`` parameter has been added.
|
@@ -99,6 +99,7 @@ describe 'nova' do
|
||||
is_expected.to contain_nova_config('console/ssl_minimum_version').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_nova_config('DEFAULT/dhcp_domain').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_nova_config('DEFAULT/instance_name_template').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_nova_config('DEFAULT/cell_worker_thread_pool_size').with_value('<SERVICE DEFAULT>')
|
||||
end
|
||||
|
||||
end
|
||||
@@ -164,6 +165,7 @@ describe 'nova' do
|
||||
:console_ssl_minimum_version => 'tlsv1_2',
|
||||
:dhcp_domain => 'foo',
|
||||
:instance_name_template => 'instance-%08x',
|
||||
:cell_worker_thread_pool_size => 5,
|
||||
}
|
||||
end
|
||||
|
||||
@@ -260,6 +262,7 @@ describe 'nova' do
|
||||
is_expected.to contain_nova_config('console/ssl_minimum_version').with_value('tlsv1_2')
|
||||
is_expected.to contain_nova_config('DEFAULT/dhcp_domain').with_value('foo')
|
||||
is_expected.to contain_nova_config('DEFAULT/instance_name_template').with_value('instance-%08x');
|
||||
is_expected.to contain_nova_config('DEFAULT/cell_worker_thread_pool_size').with_value(5);
|
||||
end
|
||||
|
||||
context 'with multiple notification_driver' do
|
||||
|
Reference in New Issue
Block a user