-
Notifications
You must be signed in to change notification settings - Fork 199
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
Cilium v1.13.1 install CNI plugin failed #1911
Comments
Probably related to the change implemented here: cilium/cilium#24075 In my case, the installation of cilium wasn't adding the new init container in the manifests generated by Kubespray (PR to fix) |
* Starting in Cilium v1.13.1, the cilium-cni plugin is installed via an init container rather than by the Cilium agent container Rel: https://github.com/cilium/cilium/issues/24457
@wbh1 Is your issue fixed with kubernetes-sigs/kubespray#9914 or is this issue separate from kubespray? |
Also having this issue with Cilium 1.13.1 on Fedora CoreOS hosts with direct Cilium CLI usage. Rolling back to 1.13.0 and everything works again. |
same issue on v1.12.8, and no 'cilium-cni" under host /opt/cni/bin. |
Got the same issue, did an upgrade with cilium cli ( |
same issue with cilium v1.13.2 when installing with kubespray |
Same issue on bare metal nodes after upgrading to 1.13.3 with cilium cli. Downgraded back to 1.13.0 for now as a workaround. |
Do you observe this issue with the Cilium-CLI v0.14.8? https://github.com/cilium/cilium-cli/releases/tag/v0.14.8 (cf. current releases of CLI: https://github.com/cilium/cilium-cli#releases) |
Yesterday I got the same error upgrading from v1.12.2 to v1.12.12 using the cilium cli. After downgrading to v1.12.7 the |
I gave it another go today. Upgrading to 1.14.0 with clilium-cli v0.15.5 worked fine so far, no more errors. |
No more error either after upgrading to Cilium 1.14.0 and cilium-cli 0.15.5 |
Same issue here with a fresh install of k8s 1.26.8 via kops 1.26.3 with Cilium 1.12.13. Any idea of a workaround? Using a newer version of Cilium doesn't work, because kops is trying to be smarter than the operator:
(v1.11.14 is what I tested to work in my case on a different cluster.) update: Cilium v1.12.7 works in this case. kops 1.26.3 installs Cilium v1.12.5 by default, so it should work too. |
Overall I think that this problem is caused by mixing an matching Helm charts and Cilium versions where one is older and the other is newer. I don't think it reproduces while using the latest cilium-cli or by installing directly via Helm with any recent version of Cilium for supported branches. If you're hitting this issue with an external installer such as kOps, I suggest reaching out to your upstream installer to verify that they are pulling in a new version of the Cilium Helm charts as well as Cilium image version. |
Is there an existing issue for this?
What happened?
I setup a generic
k8s v1.26.2
bykubeadm
on kvmUbuntu 22.04
, kernel version is5.15.0-60-generic
I want to install cilium
v1.13.1
as pod network.Here is my step:
Here is my helm.yaml:
I checked the hostpath
/opt/cni/bin
, there is nocilium-cni
. But in the cilium agent pod,cilium-cni
is exist in/opt/cni/bin
, not exist in/host/opt/cni/bin/
I downgrade both cilium agent and operator to
v1.13.0
, this issue is gone. So I think this is a 1.13.1 version specific bug.I can produce this bug very easy by set image tag from v1.13.0 to v.1.13.1 or reinstall cilium.
Cilium Version
cilium-cli: v0.13.1 compiled with go1.20 on linux/amd64
cilium image (default): v1.13.0
cilium image (stable): unknown
#my servers are offline
cilium image (running): v1.13.1
Kernel Version
Linux app-infra-k8s-master01 5.15.0-60-generic cilium/cilium#66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.2", GitCommit:"fc04e732bb3e7198d2fa44efa5457c7c6f8c0f5b", GitTreeState:"clean", BuildDate:"2023-02-22T13:39:03Z", GoVersion:"go1.19.6", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.2", GitCommit:"fc04e732bb3e7198d2fa44efa5457c7c6f8c0f5b", GitTreeState:"clean", BuildDate:"2023-02-22T13:32:22Z", GoVersion:"go1.19.6", Compiler:"gc", Platform:"linux/amd64"}
Sysdump
None
Relevant log output
Anything else?
I notice that cilium-cli only support v1.13.0 for now, (but its own version is v1.13.1):
$> cilium install --list-versions v1.14.0-snapshot.0 v1.13.0 (default) v1.13.0-rc5 v1.13.0-rc4 v1.13.0-rc3 v1.13.0-rc2 v1.13.0-rc1 v1.13.0-rc0 ...
I checked
/opt/cni/bin
privilege on the host:Code of Conduct
The text was updated successfully, but these errors were encountered: