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

Automated backport of #3192: Adjust OVN TransitSwitchIP initialization #3194

Conversation

tpantelis
Copy link
Contributor

Backport of #3192 on release-0.19.

#3192: Adjust OVN TransitSwitchIP initialization

For details on the backport process, see the backport requests page.

We've observed E2E failures on route agent restart that was caused by
the addition of the TransitSwitchIP refactoring. On code inspection,
there's a potential timing issue related to initialization of the
TransitSwitchIP. The Init method is called by
NonGatewayRouteHandler.Init however the NewNonGatewayRouteController
is started before that in Handler.Init so, depending on timing,
nonGatewayRouteCreatedOrUpdated could get invoked prior to
initialization of the TransitSwitchIP, in which case it would observe
an empty IP.

To avoid this, move the TransitSwitchIP.Init call to Handler.Init prior
to starting the NewNonGatewayRouteController.

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr3194/tpantelis/automated-backport-of-#3192-upstream-release-0.19
🚀 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.

@tpantelis tpantelis added the ready-to-test When a PR is ready for full E2E testing label Oct 18, 2024
@tpantelis tpantelis enabled auto-merge (rebase) October 18, 2024 03:59
@tpantelis tpantelis merged commit c4944db into submariner-io:release-0.19 Oct 18, 2024
44 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr3194/tpantelis/automated-backport-of-#3192-upstream-release-0.19]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated-backport ready-to-test When a PR is ready for full E2E testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants