]> git.proxmox.com Git - ovs.git/commit - tests/ovn.at
ovn: l3ha ensure no master bouncing when ovn-controller is restarted
authormajopela@redhat.com <majopela@redhat.com>
Thu, 13 Jul 2017 17:02:41 +0000 (17:02 +0000)
committerRussell Bryant <russell@ovn.org>
Sun, 16 Jul 2017 18:53:36 +0000 (14:53 -0400)
commit79371ff526454f95280d3e12a805c7e37a213957
treea9c0fc81a8bf268ed30876ff966255326cd252d2
parentacfc41ffa1b305f0c6fc7db8fecde4b8979e5743
ovn: l3ha ensure no master bouncing when ovn-controller is restarted

When ovn-controller is restarted, ovn-controller removes the old
Chassis entry from the SBDB and a new one is inserted.

This cleared the Gateway_Chassis chassis column in the SBDB and then
ovn-northd removed the empty-column Gateway_Chassis entry.
Such event made the other (non-restarted and master gateway chassis)
believe that he was a single (non-HA) gateway, turning off BFD and
releasing the port for a tiny time frame causing unnecesary downtime.

Signed-off-by: Miguel Angel Ajo <majopela@redhat.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
ovn/northd/ovn-northd.c
tests/ovn.at