-
Notifications
You must be signed in to change notification settings - Fork 51
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
Timeout waiting for mount Kubernetes pvc #35
Comments
|
got the following error:
And the missing directory is actually the If I
|
"dirAutoCreate" should create that folder. Maybe it's because of the "~" sign in the path? |
I am not well versed into csi internals. I put a rather default config and idk from where this |
How did you setup the K8s? I am using Kind. |
I am using |
I am getting back to you because I am trying to troubleshoot what is going on. During the investigation I noticed a handful of errors in the log which are:
I decided to check the DNS resolution of |
I vaguely remember that in k8s, the DNS resolution depends on the ordering. A server started earlier can be visible by later containers. |
Unless we are doing some stuff with the Kubernetes DNS somewhere within the code (if that is the case can you point me to the code?), I don't think this kind of record can ever be resolved by Kubernetes |
No code to deal with DNS. The master nodes are started as statefulset. https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/ |
Sorry for the confusion it seems that I was hitting a bug from alpine/busybox using dnslookup: docker-library/busybox#48 |
Installed seaweedfs operator with certmanager: https://github.com/seaweedfs/seaweedfs-operator#installation
Installed the CSI driver: https://github.com/seaweedfs/seaweedfs-csi-driver
Running a simple cluster with the following setup for the operator:
All pods are running fine for the setup. However, when I try to setup the sample config:
PVC is properly created:
But mounting fail with the following error (this is
ds/csi-seaweedfs-node csi-seaweedfs-plugin
):The text was updated successfully, but these errors were encountered: