CSI smb driver not found in the list of registered CSI drivers in OCP 4
Issue
-
After installing the CSI smb driver it's failing to mount the volumes with error:
$ oc get events ... Warning FailedMount 11s (x14 over 12m) kubelet MountVolume.MountDevice failed for volume "cifs-csi-demo" : kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name smb.csi.k8s.io not found in the list of registered CSI drivers -
csi-smb-nodepods are inCrashLoopBackOffwith invalid option error:$ oc logs pod/<csi-smb-node-pod> -n <namespace> -c smb bash: --: invalid option Usage: bash [GNU long option] [option] ... bash [GNU long option] [option] script-file ... GNU long options: --debug --debugger --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --norc --posix --rcfile --restricted --verbose --version Shell options: -ilrsD or -c command or -O shopt_option (invocation only) -abefhkmnptuvxBCHP or -o option
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4.7
- CSI smb driver
smb.csi.k8s.io - Disconnected environment
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.