Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix remove remote pod when no IPs annotated #3976

Merged
merged 1 commit into from Oct 25, 2023

Conversation

jcaamano
Copy link
Contributor

@jcaamano jcaamano commented Oct 24, 2023

This was recently changed incorrectly. A pod can be deleted with no IPs annotated so don't assume that is an error.

Incidentally fix the case for a live migratable pod as well which would have failed in the same way before.

Fixes: #3919

@jcaamano
Copy link
Contributor Author

Quick test downstream here: openshift/ovn-kubernetes#1944

@jcaamano
Copy link
Contributor Author

typos

@jcaamano
Copy link
Contributor Author

re-worded the test case name

@jcaamano jcaamano force-pushed the fix-remove-remote-pod branch 2 times, most recently from 91bdddd to b9b5dde Compare October 24, 2023 18:55
trozet
trozet previously approved these changes Oct 24, 2023
@trozet
Copy link
Contributor

trozet commented Oct 24, 2023

need to fix gofmt

This was recently changed incorrectly. A pod can be deleted with no IPs
annotated so don't assume that is an error.

Incidentally fix the case for a live migrated pod as well which would
have failed in the same way before.

Fixes: ovn-org#3919

Signed-off-by: Jaime Caamaño Ruiz <jcaamano@redhat.com>
@coveralls
Copy link

Coverage Status

coverage: 50.448% (+0.05%) from 50.395% when pulling 531c462 on jcaamano:fix-remove-remote-pod into 9c6c66d on ovn-org:master.

@trozet trozet merged commit 7dd4657 into ovn-org:master Oct 25, 2023
29 checks passed
@openshift-merge-robot
Copy link

Fix included in accepted release 4.15.0-0.nightly-2023-10-27-135451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants