You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing cert-manager succeeds after waiting a minute or two.
But installing cert-manager-csi-driver times out. In my cluster's dashboard I can see that the DaemonSet has errors. The pods it tries to start fail and the dashboard reports the error is this:
Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error creating device nodes: mount src=/dev/bus/usb/001/021, dst=/run/containerd/io.containerd.runtime.v2.task/k8s.io/cert-manager-csi-driver/rootfs/dev/bus/usb/001/021, dstFd=/proc/thread-self/fd/8, flags=0x1000: no such file or directory: unknown
Back-off restarting failed container cert-manager-csi-driver in pod cert-manager-csi-driver-jm4ln_cert-manager(b4b5cdcd-bf53-4d49-8808-b22e8e364b58)
I briefly searched online for cert-manager errors related to /dev/bus/usb, and also searched the source code briefly for "usb" but didn't find anything that looked relevant.
Any ideas? From the docs I read that the CSI driver's goal is to mount dynamically issued certificates in memory which is awesome, but I'm surprised to see /dev/bus/usb involved!
I admit my minikube cluster is not in a pristine state, I have some (supposedly) unrelated pods and StatefulSets running, and earlier followed some of the cert-manager guides on making self-signed (Cluster)Issuers and Certificates. Conceivably those might contribute to the error. Tomorrow I'll try burning down my whole k8s cluster and repeating the above steps on a fresh minikube cluster to see if that helps. I thought I'd post anyway though because I assume most others install the CSI driver on non-pristine k8s clusters too.
The text was updated successfully, but these errors were encountered:
UPDATE: I deleted my minikube cluster and ran the above minikube start and helm commands and did NOT get the errors. So installing on a pristine minikube cluster is fine.
From kubectl logs <arbitrary cert-manager-csi-driver DaemonSet pod name> (in my case the name is cert-manager-csi-driver-5xt5d) the logs now report
Anyway a workaround for this issue seems to be installing cert-manager and cert-manager-csi-driver at the same time and asap upon cluster creation.
At this point my issue is fixed, but I'll keep the issue open for others' sake in the hopes of getting some insights about what can go wrong with the CSI driver's pod mounts and how to fix it. Recreating my k8s cluster from scratch was an option for me but wouldn't be for others that have a long-lived production clusters.
(I could be persuaded to just close the issue but in my experience closed issues get no feedback and buried!)
Hi all, I encountered an odd installation issue where cert-manager-csi-driver seems to try and fail to mount a USB device.
I'm running a minikube cluster on Xubuntu with rootless Docker. Here's how I installed Docker:
Then to create the minikube cluster with minikube v1.35.0 I used this:
Then I try to install cert-manager and cert-manager-csi-driver with Helm:
Installing cert-manager succeeds after waiting a minute or two.
But installing cert-manager-csi-driver times out. In my cluster's dashboard I can see that the DaemonSet has errors. The pods it tries to start fail and the dashboard reports the error is this:
I briefly searched online for cert-manager errors related to /dev/bus/usb, and also searched the source code briefly for "usb" but didn't find anything that looked relevant.
Any ideas? From the docs I read that the CSI driver's goal is to mount dynamically issued certificates in memory which is awesome, but I'm surprised to see /dev/bus/usb involved!
I admit my minikube cluster is not in a pristine state, I have some (supposedly) unrelated pods and StatefulSets running, and earlier followed some of the cert-manager guides on making self-signed (Cluster)Issuers and Certificates. Conceivably those might contribute to the error. Tomorrow I'll try burning down my whole k8s cluster and repeating the above steps on a fresh minikube cluster to see if that helps. I thought I'd post anyway though because I assume most others install the CSI driver on non-pristine k8s clusters too.
The text was updated successfully, but these errors were encountered: