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

daemon: fix issue where IPAM options in custom CNI confs was ignored #26732

Merged
merged 1 commit into from Jul 11, 2023

Conversation

squeed
Copy link
Contributor

@squeed squeed commented Jul 10, 2023

As part of a CNI refactor, a bug was introduced where node-specific IPAM overrides were no longer being loaded. Specifically, the parsed network configuration wasn't properly being passed down to the NodeDiscovery manager.

Fixes: #26731
Fixes: 1254bf4

@squeed squeed requested review from a team as code owners July 10, 2023 11:11
@squeed squeed added the kind/bug This is a bug in the Cilium logic. label Jul 10, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jul 10, 2023
@squeed squeed added the release-note/misc This PR makes changes that have no direct user impact. label Jul 10, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jul 10, 2023
@squeed
Copy link
Contributor Author

squeed commented Jul 10, 2023

tentatively setting this as release-note misc, since we will (hopefully) ship no releases with this label!

@squeed squeed added the needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch label Jul 10, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from main in 1.14.0 Jul 10, 2023
@squeed squeed requested a review from joamaki July 10, 2023 11:12
daemon/cmd/cni/config.go Show resolved Hide resolved
daemon/cmd/daemon.go Show resolved Hide resolved
As part of a CNI refactor, a bug was introduced where node-specific
IPAM overrides were no longer being loaded. Specifically, the parsed
network configuration wasn't properly being passed down to the
NodeDiscovery manager.

Fixes: cilium#26731
Fixes: 1254bf4
Signed-off-by: Casey Callendrello <cdc@isovalent.com>
@squeed
Copy link
Contributor Author

squeed commented Jul 10, 2023

Thanks for the review; fixed.

@squeed
Copy link
Contributor Author

squeed commented Jul 10, 2023

/test

@squeed
Copy link
Contributor Author

squeed commented Jul 11, 2023

All green, merging

@squeed squeed merged commit afbac04 into cilium:main Jul 11, 2023
65 checks passed
@christarazi christarazi added area/daemon Impacts operation of the Cilium daemon. area/cni Impacts the Container Networking Interface between Cilium and the orchestrator. labels Jul 12, 2023
@jibi jibi mentioned this pull request Jul 13, 2023
13 tasks
@jibi jibi 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 Jul 13, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from main to Backport pending to v1.14 in 1.14.0 Jul 13, 2023
@aanm aanm 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 Jul 14, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.14 to Backport done to v1.14 in 1.14.0 Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cni Impacts the Container Networking Interface between Cilium and the orchestrator. 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/bug This is a bug in the Cilium logic. release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
1.14.0
Backport done to v1.14
Development

Successfully merging this pull request may close these issues.

Custom IPAM section in CNI config is ignored
6 participants