Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

driver name csi-lvmplugin not found in the list of registered CSI drivers #9

Open
vadbluedata opened this issue Jul 22, 2019 · 2 comments

Comments

@vadbluedata
Copy link

vadbluedata commented Jul 22, 2019

i am following the directions for deployment, but for some reason getting this when deploying the example pod:
MountVolume.MountDevice failed for volume "pvc-dc77adff-b751-46fa-a8fa-7c8ef530e622" : driver name csi-lvmplugin not found in the list of registered CSI drivers

I don't think this is an issue with the code, but rather with how i am deploying it. But perhaps you have an idea on how i can debug this. The volume and pvc are created ok. The volume is attached, but is not mounted. My kubernetes version is 1.15.1.
In /var/log/messages i see this error:
Jul 23 09:47:42 yav-015 kubelet: E0723 09:47:42.007695 14943 goroutinemap.go:150] Operation for "/var/lib/kubelet/plugins/csi-lvmplugin/csi.sock" failed. No retries permitted until 2019-07-23 09:49:44.00763596 -0700 PDT m=+64973.222879351 (durationBeforeRetry 2m2s). Error: "RegisterPlugin error -- failed to get plugin info using RPC GetInfo at socket /var/lib/kubelet/plugins/csi-lvmplugin/csi.sock, err: rpc error: code = Unimplemented desc = unknown service pluginregistration.Registration"

When i try to display csi drivers, none are found:
[root@yav-015 deploy]# kubectl get csidrivers
No resources found.

@neogeographica
Copy link

FWIW I tried using this plugin on Amazon EKS (K8s version 1.13) and saw the exact same symptoms as above.

@vadbluedata
Copy link
Author

vadbluedata commented Jul 26, 2019

This plugin works for kubernetes version 1.11.10, but does not work for 1.15.1
The issue is that driver-registrar has been deprecated and node-driver-registrar needs to be used instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants