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

Connection timed out trying to mount nfs pod after following quickstart #34

Open
kyschouv opened this issue Oct 22, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@kyschouv
Copy link

Is this a bug report or feature request?

  • Bug Report

Deviation from expected behavior:
NFS PV will not mount to pod.

Expected behavior:
PV mounts to pod and is usage.

How to reproduce it (minimal and precise):
Follow the quickstart instructions here: https://rook.io/docs/nfs/v1.7/quickstart.html, using Default StorageClass, and the dynamic provisioning instructions. Try to mount the PVC to a pod.

File(s) to submit:

Pod event:

MountVolume.SetUp failed for volume "pvc-22e54ab0-8980-4f54-a4b4-fe5f2940ad44" : mount failed: exit status 32 Mounting command: mount Mounting arguments: -t nfs 10.0.234.152:/nfs-default-claim/test-pvc-22e54ab0-8980-4f54-a4b4-fe5f2940ad44 /var/lib/kubelet/pods/fffe3c67-314e-46a5-8b89-15e18d9ac464/volumes/kubernetes.io~nfs/pvc-22e54ab0-8980-4f54-a4b4-fe5f2940ad44 Output: mount.nfs: Connection timed out

Environment:

  • OS (e.g. from /etc/os-release): Ubuntu 18.04.5 LTS
  • Kernel (e.g. uname -a): 5.4.0-1055-azure #57~18.04.1-Ubuntu SMP Fri Jul 16 19:40:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • Cloud provider or hardware configuration: Azure
  • Rook version (use rook version inside of a Rook Pod): v1.7.3
  • Kubernetes version (use kubectl version): v1.20.5
  • Kubernetes cluster type (e.g. Tectonic, GKE, OpenShift): AKS
@kyschouv kyschouv added the bug Something isn't working label Oct 22, 2021
@kyschouv
Copy link
Author

NFS server logs look fine btw:

2021-10-18 03:06:28.177809 I | op-flags: failed to set flag "logtostderr". no such flag -logtostderr
2021-10-18 03:06:28.177911 I | op-flags: failed to set flag "logtostderr". no such flag -logtostderr
2021-10-18 03:06:28.177925 I | op-flags: failed to set flag "logtostderr". no such flag -logtostderr
2021-10-18 03:06:28.178175 I | rookcmd: starting Rook v1.7.3 with arguments '/usr/local/bin/rook nfs server --ganeshaConfigPath=/nfs-ganesha/config/rook-nfs'
2021-10-18 03:06:28.178190 I | rookcmd: flag values: --ganeshaConfigPath=/nfs-ganesha/config/rook-nfs, --help=false, --kubeconfig=, --log-level=INFO, --operator-image=, --service-account=
2021-10-18 03:06:28.178196 I | nfscmd: Setting up NFS server!
2021-10-18 03:06:31.165611 I | nfs-operator: starting RLIMIT_NOFILE rlimit.Cur 1048576, rlimit.Max 1048576
2021-10-18 03:06:31.165647 I | nfs-operator: ending RLIMIT_NOFILE rlimit.Cur 1048576, rlimit.Max 1048576
2021-10-18 03:06:31.165654 I | nfscmd: starting NFS server
2021-10-18 03:06:31.165659 I | nfs-operator: Running NFS server!

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

No branches or pull requests

1 participant