Deprecate stores, default_store config options

Related to blueprint multi-store-backend-support

Change-Id: I50189862454ada978eb401ec24a46988517ea73b
This commit is contained in:
Abhishek Kekane 2018-07-10 15:17:22 +00:00
parent 92114fb679
commit 65959d6393
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.