neutron/neutron/tests/unit/agent/linux
Slawek Kaplonski e24bdb3e9d [L3 HA] Add "no_track" option to VIPs in keepalived config
Patch [1] introduced new mechanism which only brings UP interfaces
on master node of HA router. It works fine with keepalived 1.x
but it is broken when keepalived 2.x was used (e.g. on Centos 8) as
in this new version of keepalived by default all interfaces of VIPs
and routes are tracked, and if one of them is DOWN, keepalived is
going to FAULT state. Because of that router will never be
transitioned to MASTER on any node.

This patch fixes it by adding "no_track" option to all VIPs
and routes in keepalived's config file.

This "no_track" option isn't added to ha interface so this one
is still tracked by keepalived.

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

Closes-bug: #1874211

Change-Id: Ic16cf83fe1d1576d91047adb2d4f9e07d57185b6
(cherry picked from commit dc9084a8ec)
2020-04-23 07:15:09 +00:00
..
openvswitch_firewall Add accepted egress direct flow 2020-03-26 08:23:32 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
failing_process.py Keep reading stdout/stderr until after kill 2015-11-19 19:14:13 +02:00
test_async_process.py Add kill_timeout to AsyncProcess 2019-01-04 11:44:23 +01:00
test_bridge_lib.py Fix UT BridgeLibTest when IPv6 is disabled 2018-06-05 12:02:26 +02:00
test_daemon.py Use bytes for python3 friendly os.write 2017-02-02 18:59:03 -08:00
test_dhcp.py Check dnsmasq process is active when spawned 2020-04-07 20:09:41 +00:00
test_external_process.py Check dnsmasq process is active when spawned 2020-04-07 20:09:41 +00:00
test_interface.py Remove deprecated IVS interface driver 2018-04-26 20:15:46 +00:00
test_ip_conntrack.py Move conntrack zones to IPTablesFirewall 2017-03-30 14:54:51 -07:00
test_ip_lib.py Switch isolated metadata proxy to bind to 169.254.169.254 2019-02-12 10:30:25 +00:00
test_ip_link_support.py sriov: implement spoofchecking configuration 2015-07-29 19:38:25 +02:00
test_ip_monitor.py Fix W605 warnings 2018-05-17 16:20:59 +09:00
test_ipset_manager.py Create ipset set_name_exists() method 2015-10-14 10:18:44 -04:00
test_iptables_firewall.py When converting sg rules to iptables, do not emit dport if not supported 2019-03-11 18:14:02 +00:00
test_iptables_manager.py Fix neutron-openvswitch-agent Windows support 2018-08-28 06:53:11 +00:00
test_keepalived.py [L3 HA] Add "no_track" option to VIPs in keepalived config 2020-04-23 07:15:09 +00:00
test_l3_tc_lib.py Support iproute2 4.15 in l3_tc_lib 2020-04-14 07:40:42 +00:00
test_ovsdb_monitor.py Ensure ovsdb_connection enabled before calling monitor 2017-03-06 22:19:18 +00:00
test_pd.py Fix errors in PrefixDelegation.remove_stale_ri_ifname 2017-05-02 16:46:56 +00:00
test_polling.py Ensure ovsdb_connection enabled before calling monitor 2017-03-06 22:19:18 +00:00
test_tc_lib.py Fix ingress bw limit for OVS DPDK ports 2018-01-15 13:19:14 +00:00
test_utils.py Fix race condition when getting cmdline 2019-11-24 14:33:32 +00:00
test_xenapi_root_helper.py Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00