Deprecate stores, default_store config options
Related to blueprint multi-store-backend-support
@@ -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.
