Remove revocation_cache_time parameter

revocation_cache_time parameter is deprecated, has no effect
and will be removed in the future.

Change-Id: I62a830e78e39162a1f7fd439c2e9808bbd07b828
This commit is contained in:
zhangyangyang
2017-09-30 16:15:24 +08:00
parent c60b1b3534
commit 8d84e2e4a9
2 changed files with 5 additions and 15 deletions

View File

@@ -178,15 +178,6 @@
# (in seconds). Set to -1 to disable caching completely. Integer value # (in seconds). Set to -1 to disable caching completely. Integer value
# Defaults to $::os_service_default. # Defaults to $::os_service_default.
# #
# DEPRECATED PARAMETERS
#
# [*revocation_cache_time*]
# (Optional) Determines the frequency at which the list of revoked tokens is
# retrieved from the Identity service (in seconds). A high number of
# revocation events combined with a low cache duration may significantly
# reduce performance. Only valid for PKI tokens. Integer value
# Defaults to undef
#
class nova::keystone::authtoken( class nova::keystone::authtoken(
$username = 'nova', $username = 'nova',
$password = $::os_service_default, $password = $::os_service_default,
@@ -222,8 +213,6 @@ class nova::keystone::authtoken(
$manage_memcache_package = false, $manage_memcache_package = false,
$region_name = $::os_service_default, $region_name = $::os_service_default,
$token_cache_time = $::os_service_default, $token_cache_time = $::os_service_default,
# DEPRECATED PARAMETERS
$revocation_cache_time = undef,
) { ) {
include ::nova::deps include ::nova::deps
@@ -232,10 +221,6 @@ class nova::keystone::authtoken(
fail('Please set password for nova service user') fail('Please set password for nova service user')
} }
if $revocation_cache_time {
warning('revocation_cache_time parameter is deprecated, has no effect and will be removed in the future.')
}
keystone::resource::authtoken { 'nova_config': keystone::resource::authtoken { 'nova_config':
username => $username, username => $username,
password => $password, password => $password,

View File

@@ -0,0 +1,5 @@
---
upgrade:
- remove revocation_cache_time parameter
revocation_cache_time parameter is deprecated, has no effect
and will be removed in the future.