summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ironic/conf/default.py3
-rw-r--r--releasenotes/notes/deprecate-hash-distribution-replicas-ef0626ccc592b70e.yaml5
2 files changed, 7 insertions, 1 deletions
diff --git a/ironic/conf/default.py b/ironic/conf/default.py
index 9603e62d1..bc0043139 100644
--- a/ironic/conf/default.py
+++ b/ironic/conf/default.py
@@ -190,7 +190,8 @@ hash_opts = [
'Setting this to more than one will cause additional '
'conductor services to prepare deployment environments '
'and potentially allow the Ironic cluster to recover '
- 'more quickly if a conductor instance is terminated.')),
+ 'more quickly if a conductor instance is terminated.'),
+ deprecated_for_removal=True),
cfg.IntOpt('hash_ring_reset_interval',
default=15,
help=_('Time (in seconds) after which the hash ring is '
diff --git a/releasenotes/notes/deprecate-hash-distribution-replicas-ef0626ccc592b70e.yaml b/releasenotes/notes/deprecate-hash-distribution-replicas-ef0626ccc592b70e.yaml
new file mode 100644
index 000000000..dbf2fd61e
--- /dev/null
+++ b/releasenotes/notes/deprecate-hash-distribution-replicas-ef0626ccc592b70e.yaml
@@ -0,0 +1,5 @@
+---
+deprecations:
+ - |
+ The "hash_distribution_replicas" configuration option is now deprecated.
+ If specified in the config file, a warning is logged.