[ovs-git] [openvswitch/ovs] de7791: ovn-northd: Fix the HA_Chassis sync issue in OVN S...

numansiddique noreply at github.com
Thu Apr 25 20:38:53 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: de77917824a0b2c2957e3f7589a96d472b7f3407
      https://github.com/openvswitch/ovs/commit/de77917824a0b2c2957e3f7589a96d472b7f3407
  Author: Numan Siddique <nusiddiq at redhat.com>
  Date:   2019-04-25 (Thu, 25 Apr 2019)

  Changed paths:
    M ovn/northd/ovn-northd.c
    M tests/ovn-northd.at
    M tests/ovn.at

  Log Message:
  -----------
  ovn-northd: Fix the HA_Chassis sync issue in OVN SB DB

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>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list