Trident PVC挂载失败、因为多连接卷无法连接到另一个卷
适用场景
- 三项功能
- OpenShift
问题描述
尝试挂载PVC时、将失败、并显示以下内容:
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 exceeded在Trident节点日志中、挂载操作会重试多次、每次重试挂载操作时都会出现以下错误:
Mount failed." logLayer=csi_frontend output="mount.nfs: Connection timed out\n"