diff options
author | Zuul <zuul@review.openstack.org> | 2019-03-15 08:38:15 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-03-15 08:38:15 +0000 |
commit | f5a983e04e50d4ef4df74cfa56161a565fc399eb (patch) | |
tree | ad2b94f3292c8a886db7418d09d201ff38b066ab | |
parent | e607a3e3db2bef5b48f214816c4824978e19fd63 (diff) | |
parent | 9c266df8be21f9e73136e96ba42cf04e5f49bae2 (diff) | |
download | ironic-f5a983e04e50d4ef4df74cfa56161a565fc399eb.tar.gz |
Merge "Deprecates `hash_distribution_replicas` config option"
-rw-r--r-- | ironic/conf/default.py | 3 | ||||
-rw-r--r-- | releasenotes/notes/deprecate-hash-distribution-replicas-ef0626ccc592b70e.yaml | 5 |
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. |