-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BZ2117310: Fix race when adding and removing pod with same name
Adding and removing a pod on changing nodes back to back can end up in a race where corresponding logical switch port remains in the wrong logical switch and never gets properly removed. In order for this to happen, the logical switch port has to have the same name, which is the <namespace>_<podName>. Conflicts: go-controller/pkg/ovn/pods_test.go Signed-off-by: Flavio Fernandes <flaviof@redhat.com> Co-authored-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit be8786a)
- Loading branch information
1 parent
679c713
commit cd2a1cb
Showing
2 changed files
with
252 additions
and
6 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