istio: Isitio 1.24 deploy istio-cni with no missing privilegeds causing pods creation failures
Is this the right place to submit this?
- This is not a security vulnerability or a crashing bug
- This is not a question about how to use Istio
Bug Description
Hello,
I am trying to deploy istio 1.24.2 using istioctl, but it stuck on deploying CNI stage and eventually fails:
...
- Processing resources for CNI. Waiting for DaemonSet/kube-system/istio-cni-node
✘ CNI encountered an error: failed to wait for resource: resources not ready after 5m0s: context deadline exceeded
Error: failed to install manifests: failed to wait for resource: resources not ready after 5m0s: context deadline exceeded
Looking into istio-cni-nodes pods we see the following error:
2025-01-23T14:15:53.782388Z error cni-agent Failed to start up UDS Log Server: failed to create UDS listener: failed to listen on unix socket "/var/run/istio-cni/log.sock": listen unix /var/run/istio-cni/log.sock: bind: permission denied
Error: failed to create UDS listener: failed to listen on unix socket "/var/run/istio-cni/log.sock": listen unix /var/run/istio-cni/log.sock: bind: permission denied
We managed to workaround it by patching istio-cni-node to have privileged=true, right after istioctl install creates it but its not sustainable and flaky.
Version
$ ./istioctl version
client version: 1.24.2
control plane version: 1.24.2
data plane version: 1.24.2 (3 proxies)
$ kubectl version
selecting podman as container runtime
Client Version: v1.30.8
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.8
Additional Information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 16 (8 by maintainers)
Commits related to this issue
- tests,network: quarantine istio+passt tests CI runs very old version of Istio that does not support new k8s features and block development that utilize such features (e.g.: restart policy for init co... — committed to ormergi/kubevirt by ormergi 2 years ago
- tests,network: quarantine istio+passt tests CI runs very old version of Istio that does not support new k8s features and block development that utilize such features (e.g.: restart policy for init co... — committed to ormergi/kubevirt by ormergi 2 years ago
Heh, I actually missed that
istioctlIstioOperator have a completely separatek8ssubkey for this stuff, which I presume gets munged into Helm-shape (which does not have this key) eventually.Glad that was it, I apologize for us having multiple install mechanisms that are subtly different.
This has nothnig to do with this issue I think. gateway pods have no correlation to the CNI pods. Would be good to open a new issue with more info about your setup (there are many ways to deploy a gateway so the specific one will matter)