[ovs-dev] [PATCH] ovn-northd: Fix the HA_Chassis sync issue in OVN SB DB

Ben Pfaff blp at ovn.org
Thu Apr 25 20:38:57 UTC 2019


On Fri, Apr 26, 2019 at 12:31:39AM +0530, nusiddiq at redhat.com wrote:
> From: Numan Siddique <nusiddiq at redhat.com>
> 
> ovn-northd deletes and recreates HA_Chassis rows (which belong
> to a HA_Chassis_Group) whenever the HA_Chassis_Group/Gateway_Chassis
> rows in Northbound DB are out of sync. If a Chassis table row in
> Southbound DB is deleted and if this row is referenced by HA_Chassis
> row (in Southbound DB), then the present code syncs the HA_Chassis
> rows continously and this causes the ovn-controller's to wake up
> and results in 100% cpu usage.
> 
> This was a simple case which the commit
> 1be1e0e5e0d1 ("ovn: Add generic HA chassis group") missed out addressing.
> 
> This patch fixes this issue.
> 
> Fixes: 1be1e0e5e0d1 ("ovn: Add generic HA chassis group")
> Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2019-April/048580.html
> Reported-by: Daniel Alvarez Sanchez (dalvarez at redhat.com)
> Signed-off-by: Numan Siddique <nusiddiq at redhat.com>

Thanks.  Applied to master.


More information about the dev mailing list