Trident挂载卷失败、并显示错误"context deadline exceeded"
- Views:
- 28
- Visibility:
- Public
- Votes:
- 0
- Category:
- astra_trident<a>2009年289514</a>
- Specialty:
- snapx
- Last Updated:
适用场景
Astra Trident
问题描述
- 无法将卷挂载到Kubernetes集群中部分或全部工作节点的应用程序Pod中
- 如果直接从工作节点执行手动挂载、则会成功。
- 在应用程序POD中挂载卷失败、并显示以下错误:
# 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