Deprecate config option "keepalived_use_no_track"

Change-Id: I448365bad076e67b32198277101f188fbfc3dece
Related-Bug: #1896506
This commit is contained in:
elajkat 2020-10-26 11:07:45 +01:00
parent 4dca7fae87
commit 2f66cb8182
2 changed files with 10 additions and 0 deletions

View File

@ -108,6 +108,11 @@ OPTS = [
'restarting the L3 agent.')),
cfg.BoolOpt('keepalived_use_no_track',
default=True,
deprecated_for_removal=True,
deprecated_reason='By keepalived version detection introduced '
'by https://review.opendev.org/757620 there '
'is no need for this config option. To be '
'removed in X.',
help=_('If keepalived without support for "no_track" option '
'is used, this should be set to False. '
'Support for this option was introduced in keepalived '

View File

@ -0,0 +1,5 @@
---
deprecations:
- Deprecate ``keepalived_use_no_track`` config option, as keepalived
version check is a safe source to decide if ``no_track`` can be
used in keepalived configuration file.