Merge "Deprecate stores, default_store config options"

This commit is contained in:
Zuul 2018-07-16 22:58:59 +00:00 committed by Gerrit Code Review
commit b16a0fdeda
1 changed files with 21 additions and 0 deletions

View File

@ -33,6 +33,16 @@ LOG = logging.getLogger(__name__)
_STORE_OPTS = [
cfg.ListOpt('stores',
default=['file', 'http'],
deprecated_for_removal=True,
deprecated_since='Rocky',
deprecated_reason=_("""
This option is deprecated against new config option
``enabled_backends`` which helps to configure multiple backend stores
of different schemes.
This option is scheduled for removal in the Stein development
cycle.
"""),
help=_("""
List of enabled Glance stores.
@ -59,6 +69,17 @@ Related Options:
choices=('file', 'filesystem', 'http', 'https', 'swift',
'swift+http', 'swift+https', 'swift+config', 'rbd',
'sheepdog', 'cinder', 'vsphere'),
deprecated_for_removal=True,
deprecated_since='Rocky',
deprecated_reason=_("""
This option is deprecated against new config option
``default_backend`` which acts similar to ``default_store`` config
option.
This option is scheduled for removal in the Stein development
cycle.
"""),
help=_("""
The default scheme to use for storing images.