Skip to main content
NetApp Knowledge Base

Volume creation fails with error "checking for existing volume"

Views:
8
Visibility:
Public
Votes:
0
Category:
astra_trident
Specialty:
SNAPX
Last Updated:

Applies to

Astra Trident

Issue

Volume creation failis with following error message.

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

Backend is on failed state.

[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 |
+--------------------------------------------------------+----------------+--------------------------------------+--------+------------+---------+ 

Updating the backend fails with the following error.

[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 log:

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=

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.