Trident backend creation failed because of dns resolution
Applies to
- NetApp Astra Trident
- NetApp ONTAP 9.X
Issue
When creating a Trident backend, the creation fails with the following error:
Request Method:
POST
Request URL: http://127.0.0.1:8000/trident/v1/backend
Request headers: map[Content-Type:[application/json]]
Request body:
{"aggregate":"aggr_prod","backendName":"prod-backend","dataLIF":"k8sprod-data.example.coml","defaults":{"exportPolicy":
"exportprodmi","spaceReserve":"volume"},"limitVolumeSize":"10Gi","managementLIF":"k8sprodmi-mgmt.example.com","password":"....",
"storageDriverName":"ontap-nas","storagePrefix":"trident_","username":"vsadmin","version":1}
..............................................
..................................
Error: Post "http://127.0.0.1:8000/trident/v1/backend": context deadline exceeded
(Client.Timeout exceeded while awaiting headers)