On Mon, Feb 04, 2019 at 10:20:31PM +0530, [email protected] wrote: > From: Numan Siddique <[email protected]> > > On a chassis when ovs-vswitchd crashes for some reason, the BFD status doesn't > get updated in the ovs db. ovn-controller will be reading the old BFD status > even though ovs-vswitchd is crashed. This results in the chassiredirect port > claim flapping between the master chassis and the chasiss with the next higher > priority if ovs-vswitchd crashes in the master chassis. > > All the other chassis notices the BFD status down with the master chassis > and hence the next higher priority claims the port. But according to > the master chassis, the BFD status is fine and it again claims back the > chassisredirect port. And this results in flapping. The issue gets resolved > when ovs-vswitchd comes back but until then it leads to lot of SB DB > transactions and high CPU usage in ovn-controller's. > > This patch fixes the issue by checking the OF connection status of the > ovn-controller with ovs-vswitchd and calculates the active bfd tunnels > only if it's connected. > > Signed-off-by: Numan Siddique <[email protected]> > Acked-by: Mark Michelson <[email protected]>
Thanks. Applied to master and branch-2.11. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
