Add support for sync_power_state_pool_size param
Change-Id: I31f9e58b82564cc35776846f8595adcdf59906ae
This commit is contained in:
parent
0339d56f0b
commit
78d5ecad86
|
@ -143,6 +143,10 @@
|
|||
# (optional) Maximum number of live migrations to run in parallel.
|
||||
# Defaults to $::os_service_default
|
||||
#
|
||||
# [*sync_power_state_pool_size*]
|
||||
# (optional) Maximum number of greenthreads to use when syncing power states.
|
||||
# Defaults to $::os_service_default
|
||||
#
|
||||
# [*consecutive_build_service_disable_threshold*]
|
||||
# (optional) Max number of consecutive build failures before the nova-compute
|
||||
# will disable itself.
|
||||
|
@ -201,6 +205,7 @@ class nova::compute (
|
|||
$barbican_endpoint = $::os_service_default,
|
||||
$barbican_api_version = $::os_service_default,
|
||||
$max_concurrent_live_migrations = $::os_service_default,
|
||||
$sync_power_state_pool_size = $::os_service_default,
|
||||
$consecutive_build_service_disable_threshold = $::os_service_default,
|
||||
$keymgr_backend = 'nova.keymgr.conf_key_mgr.ConfKeyManager',
|
||||
$verify_glance_signatures = $::os_service_default,
|
||||
|
@ -262,6 +267,7 @@ class nova::compute (
|
|||
'barbican/barbican_endpoint': value => $barbican_endpoint;
|
||||
'barbican/barbican_api_version': value => $barbican_api_version;
|
||||
'DEFAULT/max_concurrent_live_migrations': value => $max_concurrent_live_migrations;
|
||||
'DEFAULT/sync_power_state_pool_size': value => $sync_power_state_pool_size;
|
||||
'compute/consecutive_build_service_disable_threshold':
|
||||
value => $consecutive_build_service_disable_threshold;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
features:
|
||||
- Add sync_power_state_pool_size as a parameter to nova::compute.
|
||||
|
|
@ -36,6 +36,7 @@ describe 'nova::compute' do
|
|||
it { is_expected.to contain_nova_config('barbican/auth_endpoint').with_value('<SERVICE DEFAULT>') }
|
||||
it { is_expected.to contain_nova_config('glance/verify_glance_signatures').with_value('<SERVICE DEFAULT>') }
|
||||
it { is_expected.to contain_nova_config('DEFAULT/max_concurrent_live_migrations').with_value('<SERVICE DEFAULT>') }
|
||||
it { is_expected.to contain_nova_config('DEFAULT/sync_power_state_pool_size').with_value('<SERVICE DEFAULT>') }
|
||||
it { is_expected.to contain_nova_config('compute/consecutive_build_service_disable_threshold').with_value('<SERVICE DEFAULT>') }
|
||||
it { is_expected.to contain_nova_config('DEFAULT/reserved_huge_pages').with_value('<SERVICE DEFAULT>') }
|
||||
|
||||
|
@ -83,6 +84,7 @@ describe 'nova::compute' do
|
|||
:barbican_api_version => 'v1',
|
||||
:barbican_auth_endpoint => 'http://127.0.0.1:5000/v3',
|
||||
:max_concurrent_live_migrations => '4',
|
||||
:sync_power_state_pool_size => '10',
|
||||
:verify_glance_signatures => true,
|
||||
:consecutive_build_service_disable_threshold => '9',
|
||||
}
|
||||
|
@ -140,6 +142,8 @@ describe 'nova::compute' do
|
|||
|
||||
it { is_expected.to contain_nova_config('DEFAULT/max_concurrent_live_migrations').with_value('4') }
|
||||
|
||||
it { is_expected.to contain_nova_config('DEFAULT/sync_power_state_pool_size').with_value('10') }
|
||||
|
||||
it { is_expected.to contain_nova_config('compute/consecutive_build_service_disable_threshold').with_value('9') }
|
||||
|
||||
it { is_expected.to contain_nova_config('DEFAULT/resume_guests_state_on_host_boot').with_value(true) }
|
||||
|
|
Loading…
Reference in New Issue