Deprecates hash_distribution_replicas config option

The `hash_distribution_replicas` was an experimental feature. It accounted for
the number of hosts to map onto each hash partition and caused a couple of bugs.

Story: #1680160
Task: #10585

Change-Id: I72c19b46f63b139a1a4b1fd0f6c41a1e62e65383
This commit is contained in:
Varsha 2019-03-13 16:19:52 +05:30
parent 237f28f910
commit 9c266df8be
2 changed files with 7 additions and 1 deletions

View File

@ -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 '

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The "hash_distribution_replicas" configuration option is now deprecated.
If specified in the config file, a warning is logged.