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
CSINode does not contain driver csi.trident.netapp.io #473
Comments
Identical issue here with Rancher RKE and K8S (v1.18.10) and nodes running Ubuntu 18.04.4 LTS with Docker 19.3.13 rest matches stated environment above... |
same here with upstream k8s on ubuntu 18.04 |
I was able to "solve" it by redeploying both the trident-csi daemonset and deployment and restart kubelet afterwards |
yep. i used |
So i fixed it, if i may say so. After reading how the external storage provisioner work, and understanding the concept of driver registration using the sidecar container i reviewed our setup. It was very misleading, since we configure our kubelets to start with the configuration files residing under /var/lib/kubelet, which is the default root-dir. Couple of months ago we decided to split the brain, and move the pods and containers into a separate storage location, so we split the management from the operation Therefore we changed the root-dir in the configuration file to point to /containers instead of /var/lib/kubelet The default trident provisioner will look in the default location, and "embed" the plugins ,so to say. So you need to check on two things:
Good luck.I'm closing this. |
Observed something similar when the |
Shall we know how to fix it? is it with network policy? what needs be added in trident namespace/project. |
Hello @eselvam It is unlikely that you need to add anything to the Trident namespace/project. As pointed out by @alexandru-ersenie , I would recommend you check the path for your kubelet directory. If your k8s distribution uses a path other than |
In my case (running RKE2), do have it in EDIT: Turns out it was NetworkPolicies that was the culprit for me! I'm running Rancher and have activated Project Network Isolation. 😄 Great. I'll just try to figure out what things I should open for things to work. Possibly related to #638 Turns out I'm affected by this three year old bug in Cilium: cilium/cilium#12277 |
Description
Using the trident operator and kubernetes 1.17.6, i am able to create persistent volumes, but not able to mount them into the pods.
When getting the pod description, following error is returned:
CSINode does not contain driver csi.trident.netapp.io
Environment
To Reproduce
Install operator as provided here: https://netapp-trident.readthedocs.io/en/stable-v20.07/kubernetes/deploying/operator-deploy.html
After creating storage class, and consumer, the pv gets bound, but the pod cannot attach the volume locally to the worker
Expected behavior
Pod was expected to mount the volume and be running. instead it just remains in "pending"
Additional context
Pod description:
Logs from trident on this worker:
Logs from registrar sidecar on this worker:
Description of csi node
The text was updated successfully, but these errors were encountered: