Tridentでボリュームをタイムリーにプロビジョニングできず、ポッドが待機状態になる
環境
KubernetesとOpenShiftをサポートするAstra Trident
問題
KubernetesクラスタまたはOpenShiftクラスタにポッドを使用するアプリケーションを追加する場合、Trident PVS、PVC、およびポッドは起動前に長時間遅延されます。
表示されるメッセージは次のとおりです
Unable to attach or mount volumes: unmounted volumes=[PV_NAME], unattached volumes=[PV_NAME_2 PV_NAME PV_NAME_3 ...]:
timed out waiting for the condition
AttachVolume.Attach failed for volume "pvc-UUID" : rpc error: code = DeadlineExceeded desc = context deadline exceeded
Tridentからのその他のエラーにより、次のことが可能になります。
- Tridentのログには、ボリュームの作成と削除に関するエラーが記録されています。
backend cannot satisfy create request for volume trident_<PREFIX>_pvc_<UUID>: (ONTAP-NAS pool <AGGR>/<AGGR>; error creating
volume trident_<PREFIX>_pvc_<UUID>: API status: failed,Reason: Failed to create the volume on node \"<STORAGE_NODE>\".
Reason: Failed to store NVE key with key ID\"00000000000000000200000000000HEX-UUID0000000000000000\" on external key server
\"<HOST_FQDN>:50100\