-
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
loader : Log upsert and remove route errors #15339
Conversation
This comment has been minimized.
This comment has been minimized.
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.
Thanks for your contribution! 🚀
@pchaigno Thank You for the help . |
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.
Changes LGTM, please squash the commits together
Fixes : cilium#15282 Signed-off-by: Gaurav Genani <h3llix.pvt@gmail.com>
test-me-please |
if ep.RequireEndpointRoute() { | ||
upsertEndpointRoute(ep, *ip.IPNet(32)) | ||
if err := upsertEndpointRoute(ep, *ip.IPNet(32)); err != nil { | ||
scopedLog.WithError(err).Warn("Failed to upsert 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.
@pchaigno these are warnings, which steps can users perform if they see these?
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.
Same as for other similar warnings (e.g., warning when we fail to load the BPF program for an endpoint): they should investigate and/or report the warning, but it's probably not blocking/fatal for the Cilium agent.
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>
Fixes : #15282
Signed-off-by: Gaurav Genani h3llix.pvt@gmail.com