Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

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

Closed
scottrobertson opened this issue May 17, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@scottrobertson
Copy link

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
Copy link
Author

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

@scottrobertson
Copy link
Author

The folders do exist on the nodes.

@displague displague added the bug Something isn't working label Aug 31, 2020
@displague
Copy link
Contributor

displague commented Aug 31, 2020

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
Copy link
Contributor

Thanks for reporting this issue @scottrobertson.

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants