Unable to create backend - deferred syncing TridentBackendConfig
Applies to
Trident, version 25.06 +
Issue
Error messages encountered while attempting to create a Trident backend.
time="2025-11-24T19:27:28Z" level=error msg="Error creating ONTAP REST API client for initial call. Falling back to ZAPI." crdControllerEvent=add error="&{} (*models.ErrorResponse) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface" logLayer=core requestID=f691421f-efb0-4998-a86c-cd29c517c85e requestSource=CRD workflow="cr=reconcile"
time="2025-11-24T19:27:28Z" level=error msg="Error creating ONTAP REST API client for initial call. Falling back to ZAPI." crdControllerEvent=add error="&{
time="2025-11-24T19:27:33Z" level=error msg="API invocation failed. response code 401 (Unauthorized): incorrect or missing credentials"
time="2025-11-24T19:27:33Z" level=error msg="Could not initialize storage driver." crdControllerEvent=add error="error initializing ontap-nas driver; could not create Data ONTAP API client: error creating ONTAP API client: error reading SVM details: response code 401 (Unauthorized): incorrect or missing credentials" logLayer=core requestID=f691421f-efb0-4998-a86c-cd29c517c85e requestSource=CRD workflow="cr=reconcile"
time="2025-11-24T19:27:33Z" level=warning msg="Cannot terminate an uninitialized backend." backend=ontap-backend backendUUID=655cc9ba-f74c-4c3f-aba1-ef429220823c crdControllerEvent=add driver=ontap-nas logLayer=core requestID=f691421f-efb0-4998-a86c-cd29c517c85e requestSource=CRD state=failed workflow="cr=reconcile"
time="2025-11-24T19:27:33Z" level=info msg="deferred syncing TridentBackendConfig 'trident/ontap-backend', requeuing; reconcile deferred; 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: response code 401 (Unauthorized): incorrect or missing credentials" crdControllerEvent=add logLayer=crd_frontend logSource=trident-crd-controller requestID=f691421f-efb0-4998-a86c-cd29c517c85e requestSource=CRD workflow="cr=reconcile"
