diff options
author | Zuul <zuul@review.openstack.org> | 2018-07-16 22:58:59 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-07-16 22:58:59 +0000 |
commit | b16a0fdeda2d9f78e02539df752cbb30301382d7 (patch) | |
tree | 2de793933b2b36e8acf038f80e52b135cb191380 | |
parent | 0d0e4100e2d299c9f62833dc990711c5a95bee1f (diff) | |
parent | 65959d63937805afadc385091a3100c53172b57c (diff) | |
download | glance_store-b16a0fdeda2d9f78e02539df752cbb30301382d7.tar.gz |
Merge "Deprecate stores, default_store config options"
-rw-r--r-- | glance_store/backend.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/glance_store/backend.py b/glance_store/backend.py index 8aa965b..d283bd2 100644 --- a/glance_store/backend.py +++ b/glance_store/backend.py @@ -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. |