Error "400 Bad Request" when creating a Trident backend
Applies to
- NetApp Astra Trident
- NetApp Ontap 9.5.X
Issue
When creating a Trident backend, submitting the backend.json file, it fails with the error:
[user@hostname]$ tridentctl -n trident create backend -f backend.json -d
Operating mode = tunnel, Trident pod =
trident-csi-6cdddd5bc8-rvdrb, Namespace = trident, CLI = oc
...
.......................................................................
Response status: 400 Bad Request
Response headers:
map[Content-Length:[371] Content-Type:[application/json; charset=UTF-8] Date:[Thu, 24 Mar 2022 12:43:58 GMT]]
Response body:
{"backend":"ontapnas_..","error":"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: Post
\" https://,./servlets/netapp.servlets.admin.XMLrequest_filer\": dial tcp ..:443: connect: connection r