Skip to content

Commit

Permalink
Use fully qualified DNS name for meom-ige
Browse files Browse the repository at this point in the history
Was failing with this otherwise:

```
 Warning  FailedMount  8m55s (x22 over 43m)  kubelet  MountVolume.SetUp failed for volume "prod-home-nfs" : mount failed: exit status 1
Mounting command: /home/kubernetes/containerized_mounter/mounter
Mounting arguments: mount -t nfs -o noresvport,retrans=2,rsize=1048576,soft,timeo=600,wsize=1048576 nfs-server-01:/export/home-01/homes/prod /var/lib/kubelet/pods/d9d6a9ac-3194-4226-b5f0-135419bd6225/volumes/kubernetes.io~nfs/prod-home-nfs
Output: Mount failed: mount failed: exit status 32
Mounting command: chroot
Mounting arguments: [/home/kubernetes/containerized_mounter/rootfs mount -t nfs -o noresvport,retrans=2,rsize=1048576,soft,timeo=600,wsize=1048576 nfs-server-01:/export/home-01/homes/prod /var/lib/kubelet/pods/d9d6a9ac-3194-4226-b5f0-135419bd6225/volumes/kubernetes.io~nfs/prod-home-nfs]
Output: mount.nfs: Failed to resolve server nfs-server-01: Name or
service not known
```

Testing dns resolution on the node works fine, but kubelet can't
seem to resolve it correctly. I suspect something about resolv.conf
and ndots, but given we don't even want to support having a separate
NFS server outside, this is a decent fix for now.
  • Loading branch information
yuvipanda committed Sep 14, 2023
1 parent 5ce2f71 commit 92290b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/clusters/meom-ige/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ basehub:
- soft # We pick soft over hard, so NFS lockups don't lead to hung processes
- retrans=2
- noresvport
serverIP: nfs-server-01
serverIP: nfs-server-01.us-central1-b.c.meom-ige-cnrs.internal
baseShareName: /export/home-01/homes/
jupyterhub:
custom:
Expand Down

0 comments on commit 92290b4

Please sign in to comment.