Trident pvc mount fails with mount.nfs: Connection timed out
Applies to
- Trident
- Openshift
Issue
When attempting to mount a pvc it fails with the following:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 2m default-scheduler Successfully assigned openshift-logging/logging-compactor-0 to worker-1234
Warning FailedAttachVolume 2m attachdetach-controller Multi-Attach error for volume "pvc-1234...." Volume is already exclusively attached to one node and can't be attached to another
Normal SuccessfulAttachVolume 2m attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-1234...."
Warning FailedMount 6s (x6 over 10m) kubelet MountVolume.SetUp failed for volume "pvc-1234...." : rpc error: code = DeadlineExceeded desc = context deadline exceededIn the Trident node log the mount operation is retried multiple times and the following error can be seen around each retry of the mount operation:
Mount failed." logLayer=csi_frontend output="mount.nfs: Connection timed out\n"