複数接続ボリュームを別のボリュームに接続できない場合に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 exceededTridentノードログでは、マウント処理が複数回再試行され、マウント処理が再試行されるたびに次のエラーが表示されます。
Mount failed." logLayer=csi_frontend output="mount.nfs: Connection timed out\n"