summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Rosmaita <rosmaita.fossdev@gmail.com>2018-06-20 19:07:42 -0400
committerBrian Rosmaita <rosmaita.fossdev@gmail.com>2018-06-20 19:40:17 -0400
commit5a20d47cd3a6e16feea602a282b2b7892eb5b7d5 (patch)
tree593c5cb61b760c2927872a32ebead08853042164
parentfd2a80a08fc89693b7d472ab9792dc09e3ee0a82 (diff)
downloadglance_store-5a20d47cd3a6e16feea602a282b2b7892eb5b7d5.tar.gz
Deprecate store_capabilities_update_min_interval
Includes a release note. Change-Id: Ic25549ac022cf7fc93affc331f2379ea63bf6fb2 Implements: blueprint spec-lite-deprecate-update-min-interval
-rw-r--r--glance_store/backend.py17
-rw-r--r--releasenotes/notes/deprecate-store_capabilities_update_min_interval-039389fa296e2494.yaml14
2 files changed, 30 insertions, 1 deletions
diff --git a/glance_store/backend.py b/glance_store/backend.py
index e9a9080..8aa965b 100644
--- a/glance_store/backend.py
+++ b/glance_store/backend.py
@@ -91,6 +91,16 @@ Related Options:
cfg.IntOpt('store_capabilities_update_min_interval',
default=0,
min=0,
+ deprecated_for_removal=True,
+ deprecated_since='Rocky',
+ deprecated_reason=_("""
+This option configures a stub method that has not been implemented
+for any existing store drivers. Hence it is non-operational, and
+giving it a value does absolutely nothing.
+
+This option is scheduled for removal early in the Stein development
+cycle.
+"""),
help=_("""
Minimum interval in seconds to execute updating dynamic storage
capabilities based on current backend status.
@@ -106,7 +116,7 @@ of the store is triggered.
By default, this option is set to zero and is disabled. Provide an
integer value greater than zero to enable this option.
-NOTE: For more information on store capabilities and their updates,
+NOTE 1: For more information on store capabilities and their updates,
please visit: https://specs.openstack.org/openstack/glance-specs/\
specs/kilo/store-capabilities.html
@@ -115,6 +125,11 @@ deployment and help with the usage of this feature, please contact
the storage driver maintainers listed here:
https://docs.openstack.org/glance_store/latest/user/drivers.html
+NOTE 2: The dynamic store update capability described above is not
+implemented by any current store drivers. Thus, this option DOES
+NOT DO ANYTHING (and it never has). It is DEPRECATED and scheduled
+for removal early in the Stein development cycle.
+
Possible values:
* Zero
* Positive integer
diff --git a/releasenotes/notes/deprecate-store_capabilities_update_min_interval-039389fa296e2494.yaml b/releasenotes/notes/deprecate-store_capabilities_update_min_interval-039389fa296e2494.yaml
new file mode 100644
index 0000000..94af7f2
--- /dev/null
+++ b/releasenotes/notes/deprecate-store_capabilities_update_min_interval-039389fa296e2494.yaml
@@ -0,0 +1,14 @@
+---
+deprecations:
+ - |
+ The glance_store configuration option
+ ``store_capabilities_update_min_interval`` is deprecated in this
+ release and is subject to removal at the beginning of the Stein
+ development cycle, following the `OpenStack standard deprecation policy
+ <https://governance.openstack.org/reference/tags/assert_follows-standard-deprecation.html>`_.
+
+ The option configures a stub method that has not been implemented
+ for any existing store drivers. Hence it is non-operational. Given
+ that it has *never* been operational, it will not be missed. Its
+ presence is confusing to operators and thus it is hereby deprecated
+ for removal.