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 Port_Binding table records.
Reported-by: Dan Williams <[email protected]> Reported-at: https://bugzilla.redhat.com/1828637 Signed-off-by: Dumitru Ceara <[email protected]> Dumitru Ceara (2): ovn-northd: Clear SB records depending on stale datapaths. ovn-northd: Fix tunnel_key allocation for SB Port_Bindings. northd/ovn-northd.c | 51 ++++++++++++++++++++++----------- tests/ovn-northd.at | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+), 16 deletions(-) --- V3: - reworked patch #2 to delete/add the stale PB. - removed patch #3 as it's not needed anymore. - merged HA_Chassis_Group unit test in patch #2. 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. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
