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

ipcache: Skip conflict logging for tunnelpeer if native routing #27331

Merged

Conversation

christarazi
Copy link
Member

@christarazi christarazi commented Aug 8, 2023

See #26817 and specifically
#26817 (comment)
for more details.

In summary, it is safe to skip logging the tunnelpeer conflict if Cilium
is configured with native routing, because the tunnel is not used at all
anyway.

The log msg was triggered in the case that the router IP was configured
to be the same across all nodes, a la --local-router-ip, in native
routing mode.

Fixes: #26817
Suggested-by: Tamilmani Manoharan tamanoha@microsoft.com
Signed-off-by: Chris Tarazi chris@isovalent.com

@christarazi christarazi requested a review from a team as a code owner August 8, 2023 00:38
@christarazi christarazi added kind/enhancement This would improve or streamline existing functionality. area/daemon Impacts operation of the Cilium daemon. sig/policy Impacts whether traffic is allowed or denied based on user-defined policies. release-note/misc This PR makes changes that have no direct user impact. labels Aug 8, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot added dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Aug 8, 2023
See cilium#26817 and specifically
cilium#26817 (comment)
for more details.

In summary, it is safe to skip logging the tunnelpeer conflict if Cilium
is configured with native routing, because the tunnel is not used at all
anyway.

The log msg was triggered in the case that the router IP was configured
to be the same across all nodes, a la `--local-router-ip`, in native
routing mode.

Fixes: cilium#26817
Suggested-by: Tamilmani Manoharan <tamanoha@microsoft.com>
Signed-off-by: Chris Tarazi <chris@isovalent.com>
@christarazi christarazi force-pushed the pr/christarazi/skip-log-tunnel-conflict branch from d70149c to b2a03d5 Compare August 8, 2023 00:39
@christarazi
Copy link
Member Author

cc @tamilmani1989

@christarazi
Copy link
Member Author

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Aug 10, 2023
@aditighag aditighag merged commit 1286dcd into cilium:main Aug 10, 2023
59 checks passed
@christarazi christarazi deleted the pr/christarazi/skip-log-tunnel-conflict branch August 14, 2023 18:29
@camrynl
Copy link

camrynl commented Jan 17, 2024

Hi @christarazi, can this change be backported to cilium 1.14 so we can skip these messages? Using cilium 1.14.4 with routing-mode:native and delegated ipam, and I was seeing the warning message in the logs.

note: I was able to cherry-pick this pr onto the latest 1.14 release without conflict

@christarazi christarazi added the needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch label Jan 18, 2024
@giorio94 giorio94 mentioned this pull request Jan 22, 2024
11 tasks
@giorio94 giorio94 added backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. and removed needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch labels Jan 22, 2024
@github-actions github-actions bot added backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. and removed backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. labels Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/daemon Impacts operation of the Cilium daemon. backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. kind/enhancement This would improve or streamline existing functionality. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact. sig/policy Impacts whether traffic is allowed or denied based on user-defined policies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conflicting tunnel peer for prefix warning log in latest cilium with native routing mode in AKS
5 participants