forked from ovn-org/ovn
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovn-northd: Clear SB records depending on stale datapaths.
When purging stale SB Datapath_Binding records ovn-northd doesn't properly clean records from other tables that might refer the datapaths being deleted. One way to reproduce the issue is: $ ovn-nbctl lr-add lr $ ovn-nbctl lrp-add lr p 00:00:00:00:00:01 1.1.1.1/24 $ ovn-nbctl --wait=sb sync $ dp=$(ovn-sbctl --bare --columns _uuid list datapath .) $ ovn-sbctl create mac_binding logical_port="p" ip="1.1.1.2" datapath="$dp" $ ovn-nbctl lrp-del p -- lr-del lr -- \ lr-add lr -- lrp-add lr p 00:00:00:00:00:01 1.1.1.1/24 Reported-by: Dan Williams <dcbw@redhat.com> Reported-at: https://bugzilla.redhat.com/1828637 Signed-off-by: Dumitru Ceara <dceara@redhat.com> Signed-off-by: 0-day Robot <robot@bytheb.org>
- Loading branch information
Showing
2 changed files
with
56 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters