neutron/neutron/cmd
Slawek Kaplonski abd4e84925 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
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.

[1] https://review.opendev.org/#/c/721799/

Conflicts:
    neutron/conf/agent/l3/config.py

Change-Id: I2dfdb9f56de28d56ca0f240ff34fa7c3a12e339b
Closes-Bug: #1890400
(cherry picked from commit 7abe0ee34c)
2020-08-25 07:58:35 +00:00
..
eventlet remove neutron.common.rpc 2019-02-06 11:05:55 -07:00
sanity Add 'keepalived_use_no_track' config option 2020-08-25 07:58:35 +00:00
upgrade_checks Add check for external_network_bridge in neutron-status 2019-03-22 13:14:24 +00:00
__init__.py Fix logging error for Guru Meditation Report 2016-02-08 16:52:17 -08:00
ipset_cleanup.py Fix Traceback when running neutron-ipset-cleanup tool 2020-07-31 11:04:34 +00:00
keepalived_state_change.py Replace keepalived notifier bash script with Python ip monitor 2015-03-18 18:59:33 -04:00
linuxbridge_cleanup.py Switch IPDevice.exists() method to use pyroute2 2018-03-19 11:56:45 +01:00
netns_cleanup.py netns_cleanup: Remove unused parameter from unplug_devices() 2018-10-10 11:15:59 +02:00
ovs_cleanup.py Remove deprecated 'external_network_bridge' option 2019-03-09 22:07:38 +00:00
pd_notify.py Fix pylint R1714 (consider-using-in) refactor messages 2019-02-21 21:11:34 +00:00
runtime_checks.py Move dhcp_release6_supported to runtime checks file 2017-02-15 16:29:01 -06:00
sanity_check.py Secure dnsmasq process against external abuse 2018-11-28 15:49:25 -05:00
status.py Add check for external_network_bridge in neutron-status 2019-03-22 13:14:24 +00:00