-
Notifications
You must be signed in to change notification settings - Fork 260
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
Dynamic provisioning fails when NFSver=3 #493
Comments
what's the error msg of |
`Name: pvc-nfs-dynamic Normal ExternalProvisioning 8s (x3 over 12s) persistentvolume-controller waiting for a volume to be created, either by external provisioner "nfs.csi.k8s.io" or manually created by system administrator |
I have a similar issue |
Same Issue for me. Was working fine a week ago. Now I have issues initializing a new PVC. Status is pending. PVC messages in the description look like this: ...waiting for a volume to be created, either by external provisioner "nfs.csi.k8s.io" or manually created by system administrator Edit: - csi driver nfs: --version v4.0.0 I already tried to helm uninstall and reinstall the csi driver nfs und made a new StorageClass. Didn't help. |
@naorsisense from the controller logs,
that means you have not installed |
Hi, @andyzhangx , thank you for the replay i think aks cluster nodes came with the nfs-common installed mountOptions:
thanks ! |
@naorsisense its work thanks. |
can confirm this worked for me as well. not having nolock as a mount option did not affect dynamic provisioning for Deployments, but did prevent StatefulSets from provisioning dynamic PVs. Recreating the storageclass with mount option of nolock allowed StatefulSets to create PVs. |
I am trying to deploy csi-driver-nfs dynamically with storageClass and pvc, pvc is not bound
I tried with mountOptions rw,hard,nfsver=3
I also tried without mountOptions at all,
I succeeded to do so with pv,pvc statically are working fine
NFSver 4.1 is working ! the issue is only with NFSver=3
I expected provisioning dynamically will work without specifying any mountOptions.
How to reproduce:
have nfs server with NFSver=3
deploy dynamic provisioning
apply storageclass-nfs.yaml without mountOptions or specify nfsvers=3
apply pvc-nfs-csi-dynamic.yaml
CSI Driver version: helm.sh/chart: csi-driver-nfs-v4.4.0
kubectl version:
Client Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.9-eks-d1db3c", GitCommit:"d1db3c46e55f95d6a7d3e5578689371318f95ff9", GitTreeState:"clean", BuildDate:"2020-10-20T22:21:03Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.1", GitCommit:"ec73e42cca0cf369574e1cdaaff35401083080d8", GitTreeState:"clean", BuildDate:"2023-06-12T18:43:37Z", GoVersion:"go1.20.3", Compiler:"gc", Platform:"linux/amd64"}
OS : "Ubuntu 20.04.4 LTS"
Kernel (e.g.
uname -a
): Linux i24~20.04.1-Ubuntu SMP Thu Apr 7 22:10:15 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxThe text was updated successfully, but these errors were encountered: