equinixmetal-archive / csi-packet

Kubernetes CSI driver for Equnix Metal, formerly Packet
Apache License 2.0
25 stars 13 forks source link

`MountVolume.SetUp failed for volume "lib-modules" : hostPath type check failed: /lib/modules is not a directory` #82

Closed scottrobertson closed 3 years ago

scottrobertson commented 4 years ago

Just tried setting this up on an RKE cluster. Getting the following:

MountVolume.SetUp failed for volume "lib-modules" : hostPath type check failed: /lib/modules is not a directory

On all of the csi-node-* pods.

Nodes are running Ubuntu 18.04

scottrobertson commented 4 years ago

kube-apiserver is running with allow-privileged. Cannot run kubelet with that, as it's not a config option since 1.15.

scottrobertson commented 4 years ago

The folders do exist on the nodes.

displague commented 4 years ago

Suspected of being related to this error too:

Warning  FailedMount 8s kubelet, {ip}   MountVolume.MountDevice failed for volume "pvc-{uuid}" :
rpc error: code = Unknown desc = devicePath error, file not found for pattern /dev/disk/by-path/...
displague commented 3 years ago

Thanks for reporting this issue @scottrobertson.

Unfortunately, this issue will not be fixed - see #103 (Equinix Metal Block Storage from Datera is EOL).