Add [DEFAULT] lock_path to glance-cache.conf
This option is required to access image data when cinder backend is used. Related-Bug: #2034893 Change-Id: Ic5e1d1c55fe31d48b8c9605beaabbc12446682dd
This commit is contained in:
parent
10d7bbdeef
commit
b1aaafa39b
|
@ -555,7 +555,7 @@ enabled_backends instead.')
|
|||
include glance::api::authtoken
|
||||
}
|
||||
|
||||
oslo::concurrency { 'glance_api_config':
|
||||
oslo::concurrency { ['glance_api_config', 'glance_cache_config']:
|
||||
lock_path => $lock_path,
|
||||
}
|
||||
|
||||
|
|
|
@ -300,6 +300,9 @@ describe 'glance::api' do
|
|||
it { is_expected.to contain_oslo__concurrency('glance_api_config').with(
|
||||
:lock_path => platform_params[:lock_path]
|
||||
)}
|
||||
it { is_expected.to contain_oslo__concurrency('glance_cache_config').with(
|
||||
:lock_path => platform_params[:lock_path]
|
||||
)}
|
||||
end
|
||||
|
||||
describe 'with overridden oslo concurrency lock_path' do
|
||||
|
@ -310,6 +313,9 @@ describe 'glance::api' do
|
|||
it { is_expected.to contain_oslo__concurrency('glance_api_config').with(
|
||||
:lock_path => '/glance/lock/path',
|
||||
)}
|
||||
it { is_expected.to contain_oslo__concurrency('glance_cache_config').with(
|
||||
:lock_path => '/glance/lock/path',
|
||||
)}
|
||||
end
|
||||
|
||||
describe 'setting enable_proxy_headers_parsing' do
|
||||
|
|
Loading…
Reference in New Issue