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

Add cilium bpf nodeid list to bugtool and print nodeid in hex in ipcache dump #26130

Merged
merged 2 commits into from
Jun 20, 2023

Conversation

brb
Copy link
Member

@brb brb commented Jun 12, 2023

To help to detect when IPcache is out of sync with locally stored Node IDs.

@brb brb added area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. release-note/misc This PR makes changes that have no direct user impact. labels Jun 12, 2023
@brb brb requested a review from a team as a code owner June 12, 2023 15:30
@brb brb requested a review from asauber June 12, 2023 15:30
@pchaigno pchaigno added the area/bugtool Impacts gathering of data for debugging purposes. label Jun 12, 2023
@brb brb requested a review from a team as a code owner June 12, 2023 15:46
@brb brb requested review from aspsk and pchaigno June 12, 2023 15:46
@brb brb changed the title bugtool: Add cilium bpf nodeid list Add cilium bpf nodeid list to bugtool and print nodeid in hex in ipcache dump Jun 12, 2023
@brb
Copy link
Member Author

brb commented Jun 12, 2023

Sorry, pushed to the same PR other change (dump the nodeid in hex in the IPcache output)

@pchaigno pchaigno added needs-backport/1.11 needs-backport/1.13 This PR / issue needs backporting to the v1.13 branch labels Jun 12, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from main in 1.12.11 Jun 12, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from main in 1.11.18 Jun 12, 2023
@pchaigno
Copy link
Member

Marking for backports everywhere. I think the risk is very low given it only affects CLI and bugtool and it's fairly trivial. I also don't expect any conflicts for the CLI changes.

@michi-covalent michi-covalent added this to Needs backport from main in 1.12.12 Jun 12, 2023
@michi-covalent michi-covalent removed this from Needs backport from main in 1.12.11 Jun 12, 2023
@michi-covalent michi-covalent added this to Needs backport from main in 1.11.19 Jun 14, 2023
@michi-covalent michi-covalent removed this from Needs backport from main in 1.11.18 Jun 14, 2023
Copy link
Member

@asauber asauber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks harmless enough. Leading zeroes would still be truncated, which seems fine.

brb added 2 commits June 15, 2023 15:15
To help to detect when IPcache is out of sync with locally stored Node
IDs.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
The Node ID is used in SKB mark used by XFRM policies. The latter print
it in hex. So, let's reduce a mental strain by a bit when debugging
IPsec issues.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
@brb brb force-pushed the pr/brb/bugtool-bpf-nodeid-list branch from 224765d to 6cd0413 Compare June 15, 2023 12:16
@brb brb requested a review from pchaigno June 15, 2023 12:16
@pchaigno
Copy link
Member

This isn't covered by end-to-end CI tests. It's reviewed and all other tests passed so marking ready to merge.

@pchaigno pchaigno added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jun 19, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from main in 1.11.18 Jun 19, 2023
@borkmann borkmann merged commit e956bb1 into main Jun 20, 2023
52 checks passed
@borkmann borkmann deleted the pr/brb/bugtool-bpf-nodeid-list branch June 20, 2023 14:51
@nbusseneau nbusseneau mentioned this pull request Jun 22, 2023
7 tasks
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from main to Backport pending to v1.11 in 1.11.18 Jun 22, 2023
@nbusseneau nbusseneau mentioned this pull request Jun 22, 2023
10 tasks
@nbusseneau nbusseneau mentioned this pull request Jun 22, 2023
19 tasks
@nbusseneau nbusseneau added backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. and removed needs-backport/1.13 This PR / issue needs backporting to the v1.13 branch labels Jun 22, 2023
@tklauser tklauser added backport-done/1.11 The backport for Cilium 1.11.x for this PR is done. and removed backport-pending/1.11 labels Jun 29, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.11 to Backport done to v1.11 in 1.11.18 Jun 29, 2023
@tklauser tklauser added backport-done/1.12 The backport for Cilium 1.12.x for this PR is done. backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. and removed backport-pending/1.12 backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. labels Jun 29, 2023
@gentoo-root gentoo-root moved this from Needs backport from main to Backport done to v1.11 in 1.11.19 Jul 26, 2023
@gentoo-root gentoo-root moved this from Needs backport from main to Backport done to v1.12 in 1.12.12 Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bugtool Impacts gathering of data for debugging purposes. area/encryption Impacts encryption support such as IPSec, WireGuard, or kTLS. backport-done/1.11 The backport for Cilium 1.11.x for this PR is done. backport-done/1.12 The backport for Cilium 1.12.x for this PR is done. backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. 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.
Projects
No open projects
1.11.18
Backport done to v1.11
1.11.19
Backport done to v1.11
1.12.12
Backport done to v1.12
Development

Successfully merging this pull request may close these issues.

None yet

8 participants