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 ovn-failover #2865

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Conversation

aswinsuryan
Copy link
Contributor

@aswinsuryan aswinsuryan commented Jan 3, 2024

In OVN-Kubernetes out of order event leads to stale gatewayroutes and
nongatewayroutes. This leads to incorrect flow in datatpath. Now gatewayroutes
and nongatewayroutes use cluster ID instead of endpoint name. This ensures that
there is only one resource and it gets updated when remote endpoint is created
and updated and preventing stale endpoints. The gatewayroutes only care about
remoteCIDRs do not matter if the remote gateway switches.

@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr2865/aswinsuryan/ovn-failover
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

@aswinsuryan aswinsuryan force-pushed the ovn-failover branch 2 times, most recently from cd6e3db to 40fb429 Compare January 5, 2024 00:46
@aswinsuryan aswinsuryan marked this pull request as ready for review January 5, 2024 00:52
In OVN-Kubernetes out of order event lead to stale gatewayroutes and
nongatewayroutes. This lead to incorrect flow in datatpath. Now gatewayroutes
and nongatewayroutes use cluster ID instead of endpoint name. This ensures that
there is only one resource and it gets updated when remote endpoint is created
and updated and preventing stale endpoints. The gatewayroutes only care about
remoteCIDRs does not matter if the remote gateway switches.

Signed-off-by: Aswin Suryanarayanan <[email protected]>
@submariner-bot submariner-bot added the ready-to-test When a PR is ready for full E2E testing label Jan 8, 2024
@sridhargaddam sridhargaddam enabled auto-merge (rebase) January 8, 2024 13:51
@tpantelis tpantelis added the release-note-needed Should be mentioned in the release notes label Jan 8, 2024
@sridhargaddam sridhargaddam merged commit 4f4eb03 into submariner-io:devel Jan 8, 2024
57 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr2865/aswinsuryan/ovn-failover]

tpantelis pushed a commit to tpantelis/submariner-website that referenced this pull request Feb 27, 2024
tpantelis pushed a commit to submariner-io/submariner-website that referenced this pull request Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-handled ready-to-test When a PR is ready for full E2E testing release-note-handled release-note-needed Should be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants