Remove unused [memcache] options

These options has had no effect since Pike, and will be deprecated
soon.

Related-Bug: #1941020
Change-Id: I6b4cbde624ef2e27db13ff6f7a91c5b55432a2d9
changes/24/805924/1
Takashi Kajinami 1 year ago
parent fd670969a9
commit 023493194a
  1. 5
      manifests/cache.pp
  2. 6
      spec/classes/keystone_cache_spec.rb

@ -152,10 +152,7 @@ class keystone::cache(
}
keystone_config {
'memcache/dead_retry': value => $memcache_dead_retry;
'memcache/pool_maxsize': value => $memcache_pool_maxsize;
'memcache/pool_unused_timeout': value => $memcache_pool_unused_timeout;
'token/caching': value => $token_caching;
'token/caching': value => $token_caching;
}
oslo::cache { 'keystone_config':

@ -10,9 +10,6 @@ describe 'keystone::cache' do
context 'with default parameters' do
it 'configures cache' do
is_expected.to contain_keystone_config('memcache/dead_retry').with_value('<SERVICE DEFAULT>')
is_expected.to contain_keystone_config('memcache/pool_maxsize').with_value('<SERVICE DEFAULT>')
is_expected.to contain_keystone_config('memcache/pool_unused_timeout').with_value('<SERVICE DEFAULT>')
is_expected.to contain_keystone_config('token/caching').with_value('<SERVICE DEFAULT>')
is_expected.to contain_oslo__cache('keystone_config').with(
@ -61,9 +58,6 @@ describe 'keystone::cache' do
end
it 'configures cache' do
is_expected.to contain_keystone_config('memcache/dead_retry').with_value('60')
is_expected.to contain_keystone_config('memcache/pool_maxsize').with_value('10')
is_expected.to contain_keystone_config('memcache/pool_unused_timeout').with_value('120')
is_expected.to contain_keystone_config('token/caching').with_value(true)
is_expected.to contain_oslo__cache('keystone_config').with(

Loading…
Cancel
Save