From 591fc8d9f6115df17ceec9fb75ce36fca5015320 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Wed, 23 Jan 2019 06:59:55 +0100 Subject: [PATCH] Deprecated config option [DEFAUL]memcached_servers The option is not used in the code so deprecate it and remove it in a later release. Change-Id: Ie607f263f5abc510134deda4b98cfd070b382687 --- manila/common/config.py | 5 ++++- ...memcached-servers-config-option-f4456382b9b4d6db.yaml | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/deprecate-memcached-servers-config-option-f4456382b9b4d6db.yaml diff --git a/manila/common/config.py b/manila/common/config.py index 81bdae7fda..9badd4cbfe 100644 --- a/manila/common/config.py +++ b/manila/common/config.py @@ -101,7 +101,10 @@ global_opts = [ cfg.StrOpt('default_share_group_type', help='Default share group type to use.'), cfg.ListOpt('memcached_servers', - help='Memcached servers or None for in process cache.'), + help='Memcached servers or None for in process cache.', + deprecated_reason="The config option is not used. It should " + "not be confused with [keystone_authtoken]/memcached_servers.", + deprecated_for_removal=True), cfg.StrOpt('share_usage_audit_period', default='month', help='Time period to generate share usages for. ' diff --git a/releasenotes/notes/deprecate-memcached-servers-config-option-f4456382b9b4d6db.yaml b/releasenotes/notes/deprecate-memcached-servers-config-option-f4456382b9b4d6db.yaml new file mode 100644 index 0000000000..2f0438ad2c --- /dev/null +++ b/releasenotes/notes/deprecate-memcached-servers-config-option-f4456382b9b4d6db.yaml @@ -0,0 +1,9 @@ +--- +deprecations: + - | + The configuration option "memcached_servers" from the [DEFAULT] + section is deprecated. This option has currently no effect and + will be removed in future releases. + To specify memcached servers for the authentication middleware + when using keystone, please use the option "memcached_servers" + from the [keystone_authtoken] configuration group.