Patch [1] added option "no_track" to the keepalived's config file which
is generated by L3 agent in HA mode.
This was added to handle properly keepalived 2.x and interfaces which
are in DOWN state in the backup nodes.
But this "no_track" option is not compatible with keepalived 1.x series
which is available e.g. on Ubuntu 18.04.
As there is no easy way to check automatically if keepalived supports or
not this config flag, this patch introduces new config option
"keepalived_use_no_track".
If this config option will be set to False, neutron L3 agent will not
add "no_track" to the keepalived's config.
As master branch is moving to gate on Ubuntu 20.04 where keepalived 2.x
is already available, this new config option default value is set to
True.
Reviewed: https:/ /review. opendev. org/745641 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7abe0ee34c3 67b4abf84820048 b4aed643fc1162
Committed: https:/
Submitter: Zuul
Branch: master
commit 7abe0ee34c367b4 abf84820048b4ae d643fc1162
Author: Slawek Kaplonski <email address hidden>
Date: Tue Aug 11 10:47:24 2020 +0200
Add 'keepalived_ use_no_ track' config option
Patch [1] added option "no_track" to the keepalived's config file which
is generated by L3 agent in HA mode.
This was added to handle properly keepalived 2.x and interfaces which
are in DOWN state in the backup nodes.
But this "no_track" option is not compatible with keepalived 1.x series
which is available e.g. on Ubuntu 18.04.
As there is no easy way to check automatically if keepalived supports or _use_no_ track".
not this config flag, this patch introduces new config option
"keepalived
If this config option will be set to False, neutron L3 agent will not
add "no_track" to the keepalived's config.
As master branch is moving to gate on Ubuntu 20.04 where keepalived 2.x
is already available, this new config option default value is set to
True.
[1] https:/ /review. opendev. org/#/c/ 721799/
Change-Id: I2dfdb9f56de28d 56ca0f240ff34fa 7c3a12e339b
Closes-Bug: #1890400