Remove deprecated [health_manager] health_update_driver

The option was deprecated in Victoria release[1] and has had no effect
since then.

Also remove the deprecated [health_manager] stats_update_driver option
which was renamed by the same commit.

[1] 5092597f6b

Change-Id: I690428bae49dc594eacae08d40612e4d1f7523a1
This commit is contained in:
Takashi Kajinami 2024-05-05 15:47:44 +09:00
parent 5898d54b13
commit 874ec0691f
2 changed files with 9 additions and 10 deletions

View File

@ -317,13 +317,6 @@ health_manager_opts = [
default=10, default=10,
mutable=True, mutable=True,
help=_('Sleep time between sending heartbeats.')), help=_('Sleep time between sending heartbeats.')),
# Used for updating health
cfg.StrOpt('health_update_driver', default='health_db',
help=_('Driver for updating amphora health system.'),
deprecated_for_removal=True,
deprecated_reason=_('This driver interface was removed.'),
deprecated_since='Victoria'),
] ]
oslo_messaging_opts = [ oslo_messaging_opts = [
@ -507,9 +500,6 @@ controller_worker_opts = [
default='distributor_noop_driver', default='distributor_noop_driver',
help=_('Name of the distributor driver to use')), help=_('Name of the distributor driver to use')),
cfg.ListOpt('statistics_drivers', default=['stats_db'], cfg.ListOpt('statistics_drivers', default=['stats_db'],
deprecated_name='stats_update_driver',
deprecated_group='health_manager',
deprecated_since='Victoria',
help=_('List of drivers for updating amphora statistics.')), help=_('List of drivers for updating amphora statistics.')),
cfg.StrOpt('loadbalancer_topology', cfg.StrOpt('loadbalancer_topology',
default=constants.TOPOLOGY_SINGLE, default=constants.TOPOLOGY_SINGLE,

View File

@ -0,0 +1,9 @@
---
upgrade:
- |
The deprecated ``[health_manager] health_update_driver`` option was
removed.
- |
The deprecated ``[health_manager] stats_update_driver`` option has been
removed. Use the ``[controller_worker] statistics_drivers`` option instead.