Trident mount volume failed with the error "context deadline exceeded"
Applies to
Astra Trident
Issue
- Unable to mount the volumes in application pods for some or all worker nodes in the Kubernetes cluster
- Manual mount is successful when performed directly from the worker node.
- Mounting the volume in an application pod fails with the error below:
# kubectl describe pod <application-pod-name> -n <pod-namespace>
Warning FailedMount 16m (x382 over 18h) kubelet Unable to attach or mount volumes: unmounted volumes=[xxxxx], unattached volumes=[xxxxx xxxxx]: timed out waiting for the condition
Warning FailedMount 9m45s (x117 over 18h) kubelet Unable to attach or mount volumes: unmounted volumes=[xxxxx], unattached volumes=[xxxxxx xxxxx]: timed out waiting for the condition
Warning FailedMount 81s (x286 over 18h) kubelet MountVolume.MountDevice failed for volume "pvc-xxxxx" : rpc error: code = DeadlineExceeded desc = context deadline exceeded