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

(Re)Enable EIP IPv6 E2Es and fix issue with test #4580

Merged
merged 4 commits into from
Sep 3, 2024

Conversation

martinkennelly
Copy link
Member

Issue was healthcheck test didnt consider IPv6 when adding iptable rule to drop packets therefore test would fail because failover didnt occur.

Fixes: #4130

@martinkennelly
Copy link
Member Author

martinkennelly commented Aug 9, 2024

Saw E2E flake #3986

Signed-off-by: Martin Kennelly <mkennell@redhat.com>
…ility

Signed-off-by: Martin Kennelly <mkennell@redhat.com>
@martinkennelly
Copy link
Member Author

Rebased only

test/e2e/util.go Outdated
if op == "delete" && notFound {
// rule is not there
return
} else if op == "append" && err == nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we getting confused about "insert" vs "append"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ya, it looks like it. I didnt want to make changes to code I didnt write here. It looks like no func error here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like a low hanging fruit though, who knows, might be related to one of our many flakes.

Have you tried replacing append with insert here to check what happens to the tests?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works fine - changed it

test/e2e/egressip.go Outdated Show resolved Hide resolved
test/e2e/egressip.go Outdated Show resolved Hide resolved
IPv6 link addresses behave differently than IPv4
addresses when a link is enslaved to a VRF device.
For IPv4, addresses assigned to the link are preserved
but for IPv6, non link local addresses are removed.
Therefore when a link is enslaved, this commit manually
readds the global IPv6 address.

Signed-off-by: Martin Kennelly <mkennell@redhat.com>
Previous op was invalid.

Signed-off-by: Martin Kennelly <mkennell@redhat.com>
@jcaamano jcaamano merged commit 22727db into ovn-org:master Sep 3, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/e2e-testing feature/egress-ip Issues related to EgressIP feature
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Support running IPV6 and EgressIP
2 participants