Having problems getting the CSI drivers here working with Fedora CoreOS: csi-powerscale/node.yaml at main · dell/csi-powerscale · GitHub
To get the pods running I update the node.yaml file to:
volumes:
- name: registration-dir
hostPath:
path: /opt/rke/var/lib/kubelet/plugins_registry/
type: DirectoryOrCreate
- name: driver-path
hostPath:
path: /opt/rke/var/lib/kubelet/plugins/csi-isilon
type: DirectoryOrCreate
- name: volumedevices-path
hostPath:
path: /opt/rke/var/lib/kubelet/plugins/kubernetes.io/csi/volumeDevices
type: DirectoryOrCreate
- name: pods-path
hostPath:
path: /opt/rke/var/lib/kubelet/pods
type: Directory
I can see the NFS exports created on on the EMC Powerscale Unit, the PVC and PV show up in Rancher fine, and show bound/green, but then I get errors like this in Rancher when the pods try to start:
MountVolume.SetUp failed for volume “k8s-276b5e2a1c” : rpc error: code = FailedPrecondition desc =Could not create ‘/opt/rke/var/lib/kublet/pods/e2e833e3-70e2-46d7-88777/volumes/Kubernetes.io~csi/k8s-276b5e223…./mount: no such file or directory.
When I got to this path on the worker nodes it does not exist.