neutron/neutron/conf/agent
Slawek Kaplonski 8ffbcb5a85 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
    neutron/tests/functional/agent/linux/test_keepalived.py

Change-Id: I2dfdb9f56de28d56ca0f240ff34fa7c3a12e339b
Closes-Bug: #1890400
(cherry picked from commit 7abe0ee34c)
2020-08-25 10:27:05 +02:00
..
database Refactoring db config options 2017-10-04 15:42:50 -04:00
l3 Add 'keepalived_use_no_track' config option 2020-08-25 10:27:05 +02:00
metadata Merge "Remove deprecated nova_metadata_ip" 2018-01-18 12:09:06 +00:00
__init__.py Refactoring config options for dhcp agent 2016-07-06 17:24:23 +00:00
agent_extensions_manager.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00
cmd.py Refactoring config options for cmd 2016-07-31 04:37:29 +00:00
common.py Adopt hacking 1.1.0 2018-07-05 11:31:40 +09:00
dhcp.py Allow to configure DHCP T1 and T2 timers in dnsmasq 2017-10-05 18:39:03 +00:00
l2_ext_fdb_population.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00
linux.py Refactoring agent linux&ovsdb config 2017-08-25 10:41:39 -04:00
ovs_conf.py Add "igmp_snooping_enable" config option for OVS agent 2020-06-12 15:03:32 +00:00
ovsdb_api.py Make OVSDB debug logging optional 2018-04-18 15:57:18 -05:00
securitygroups_rpc.py Add custom ethertype processing 2019-07-01 15:33:34 +00:00
windows.py Refactoring agent linux&ovsdb config 2017-08-25 10:41:39 -04:00
xenapi_conf.py XenAPI: Support daemon mode for rootwrap 2017-01-19 07:33:43 +00:00