[ovs-dev] [PATCH v2 ovn 0/3] Make ovn-northd recover from NB/SB inconsistencies.

Dumitru Ceara dceara at redhat.com
Thu Apr 30 13:13:44 UTC 2020


The patches in this series address the following issues:
- patch 1: ovn-northd generates transactions that trigger referential
  integrity violations due to stale Datapath_Binding records in
  the SB database.
- patch 2: ovn-northd generates transactions that trigger index uniqueness
  constraint violations due to reusing of stale tunnel_key values in various
  SB database table records.
- patch 3: ovn-northd generates transactions that trigger referential
  integrity violations due to stale references to HA_Chassis_Group records
  when SB Port_Bindings are reused.

Reported-by: Dan Williams <dcbw at redhat.com>
Reported-at: https://bugzilla.redhat.com/1828637
Signed-off-by: Dumitru Ceara <dceara at redhat.com>

Dumitru Ceara (3):
      ovn-northd: Clear SB records depending on stale datapaths.
      ovn-northd: Fix tunnel_key allocation for SB records.
      ovn-northd: Remove Port_Binding stale references to HA_Chassis_Group.


 northd/ovn-northd.c |   90 ++++++++++++++++++++++++++++++++++++---------------
 tests/ovn-northd.at |   80 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 143 insertions(+), 27 deletions(-)


---
V2:
- add patch #3 to handle stale HA_Chassis_Group references.
- add unit tests.
- call cleanup_mac_bindings() also when stale Port_Bindings
  are reused.
- rephrase commit messages.



More information about the dev mailing list