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
This commit is contained in:
Thomas Bechtold 2019-01-23 06:59:55 +01:00
parent e4156ddb08
commit 591fc8d9f6
2 changed files with 13 additions and 1 deletions

View File

@ -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. '

View File

@ -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.