-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Revert "loader : Log upsert and remove route errors" #15517
Conversation
This reverts commit 32284cd. It seems like PR #15339 introduced a regression on Kernel 4.9 with the two following tests failing: - K8sDatapathConfig Encapsulation Check vxlan connectivity with per-endpoint routes - K8sDatapathConfig Host firewall With VXLAN and endpoint routes Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
Pinging @nathanjsweet to let him know and avoid confusing him, since he merged the original PR ^^ |
I'm wondering if the issue might be due to the Original: cilium/pkg/datapath/loader/loader.go Lines 362 to 366 in 72e6238
Merged in #15339: cilium/pkg/datapath/loader/loader.go Lines 372 to 380 in 32284cd
If keeping the same blocks, it should have been instead: if ep.RequireEndpointRoute() {
if err := upsertEndpointRoute(ep, *ip.IPNet(128)); err != nil {
scopedLog.WithError(err).Warn("Failed to upsert route")
}
} else {
if err := removeEndpointRoute(ep, *ip.IPNet(128)); err != nil {
scopedLog.WithError(err).Warn("Failed to remove route")
}
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pinging @h3llix @pchaigno. The code point out by @nbusseneau seems the reason why tests were failing.
it seems now that only are failing: The remaining CI is failing because this PR was not rebased after #15487 was merged merging... |
Oh, whoa! How did I miss that? @h3llix Do you want to take care of resending a fixed pull request? |
@pchaigno yes i ll do it . Do i have to rebase it ? |
Yep, rebase, fix the issue, and resend :-) |
This reverts commit 32284cd.
It seems like PR #15339 introduced a regression on Kernel 4.9 with the two following tests failing consistently (not flakes):
Fixes #15499