「checking for existing volume」エラーが表示されてボリュームの作成が失敗する
環境
Astra Trident
問題
ボリュームの作成に失敗し、次のエラーメッセージが表示されます。
level=error msg="GRPC error: rpc error: code = Unknown desc = encountered error(s) in creating the volume: [Failed to create volume <PV-Name> on storage pool <Aggr_Name> from backend <backend_Name>: error checking for existing volume: API status: , Reason: , Code: ]; [Failed to create volume <PV-Name> on storage pool <Aggr_Name> from backend <backend_Name>: error checking for existing volume: API status: , Reason: , Code: ]" logLayer=csi_frontend requestID=2ff674cb-2d18-4084-acbf-1c4758c6a4ea requestSource=CSI
バックエンドは障害状態です。
[root@rhel1 ~]# ./tridentctl get backend
+--------------------------------------------------------+----------------+--------------------------------------+--------+------------+---------+
| NAME | STORAGE DRIVER | UUID | STATE | USER-STATE | VOLUMES |
+--------------------------------------------------------+----------------+--------------------------------------+--------+------------+---------+
| <backend_name> | ontap-nas | 5beb64ba-29ba-4f84-aec3-13031b072797 | failed | normal | 8 |
+--------------------------------------------------------+----------------+--------------------------------------+--------+------------+---------+
バックエンドの更新に失敗し、次のエラーが表示されます。
[root@rhel1 ~]# ./tridentctl update backend <backend_name> -f new-backend.yaml -n trident
Error: could not update backend <backend_name>: problem initializing storage driver 'ontap-nas': error initializing ontap-nas driver; could not create Data ONTAP API client: error creating ONTAP API client: error reading SVM details: API status: , Reason: , Code: (400 Bad Request)
command terminated with exit code 1
Error: exit status 1
Tridentログ:
level=debug msg="Attempting volume create." backend=<backend_name> backendUUID=5beb64ba-29ba-4f84-aec3-13031b072797 logLayer=core requestID=bdfaca65-72e3-4182-a3ac-99857547e875 requestSource=CSI size=1073741824 storage_class=trident-csi-delete storage_pool=<Aggr_Name> volume=<PV-Name> volumeInternal=<volume_name> workflow="volume=create"
level=warning msg="Error unmarshaling response body. EOF" body=
のとう
のとう