Merge "Deprecate stores, default_store config options"
This commit is contained in:
commit
b16a0fdeda
|
@ -33,6 +33,16 @@ LOG = logging.getLogger(__name__)
|
||||||
_STORE_OPTS = [
|
_STORE_OPTS = [
|
||||||
cfg.ListOpt('stores',
|
cfg.ListOpt('stores',
|
||||||
default=['file', 'http'],
|
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=_("""
|
help=_("""
|
||||||
List of enabled Glance stores.
|
List of enabled Glance stores.
|
||||||
|
|
||||||
|
@ -59,6 +69,17 @@ Related Options:
|
||||||
choices=('file', 'filesystem', 'http', 'https', 'swift',
|
choices=('file', 'filesystem', 'http', 'https', 'swift',
|
||||||
'swift+http', 'swift+https', 'swift+config', 'rbd',
|
'swift+http', 'swift+https', 'swift+config', 'rbd',
|
||||||
'sheepdog', 'cinder', 'vsphere'),
|
'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=_("""
|
help=_("""
|
||||||
The default scheme to use for storing images.
|
The default scheme to use for storing images.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue