Skip to main content
NetApp Knowledge Base

TridentBackendConfig is not properly created/initialized

Views:
4
Visibility:
Public
Votes:
0
Category:
trident-kubernetes
Specialty:
snapx
Last Updated:

Applies to

  • NetApp Astra Trident
  • NetApp Data ONTAP 9.X
  • ontap-san driver

Issue

  • When a new TridentBackendConfig is created, it is not properly set online and the following errors are seen in the trident-controller log:

time="YYYY-MM-DDThh:mm:ssZ" level=error msg="Error creating ONTAP REST API client for initial call. Falling back to ZAPI." crdControllerEvent=add error="&{<nil>} (*models.ErrorResponse) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface" logLayer=core requestID=xyxyxyxy-yyyy-xxxx-zzzz-zyyzzyyzzyyz requestSource=CRD workflow="cr=reconcile"
time="YYYY-MM-DDThh:mm:ssZ" level=error msg="Could not initialize storage driver." crdControllerEvent=add error="error initializing ontap-san driver: could not create Data ONTAP API client: error creating ONTAP REST API client: &{<nil>} (*models.ErrorResponse) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface" logLayer=core requestID=xyxyxyxy-yyyy-xxxx-zzzz-zyyzzyyzzyyz requestSource=CRD workflow="cr=reconcile"
time="YYYY-MM-DDThh:mm:ssZ" level=debug msg="Failed storagePools backend." backendName=backend-test backendUUID=trtrtrtr-ycyc-xzxz-yxyx-xzzxxzzxyyyy crdControllerEvent=add driver=ontap-san logLayer=core requestID=xyxyxyxy-yyyy-xxxx-zzzz-zyyzzyyzzyyz requestSource=CRD workflow="cr=reconcile"
time="YYYY-MM-DDThh:mm:ssZ" level=debug msg="NewStorageBackendForConfig failed." backend="&{0xc0015a2488 backend-test trtrtrtr-ycyc-xzxz-yxyx-xzzxxzzxyyyy false failed   0xc00051a840 0xc00051a860 10840748-f815-45dd-85a9-f83d18057974 false}" backendUUID=trtrtrtr-ycyc-xzxz-yxyx-xzzxxzzxyyyy configRef=10840748-f815-45dd-85a9-f83d18057974 crdControllerEvent=add err="problem initializing storage driver 'ontap-san': error initializing ontap-san driver: could not create Data ONTAP API client: error creating ONTAP REST API client: &{<nil>} (*models.ErrorResponse) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface" logLayer=core requestID=xyxyxyxy-yyyy-xxxx-zzzz-zyyzzyyzzyyz requestSource=CRD workflow="cr=reconcile"
time="YYYY-MM-DDThh:mm:ssZ" level=warning msg="Cannot terminate an uninitialized backend." backend=backend-test backendUUID=trtrtrtr-ycyc-xzxz-yxyx-xzzxxzzxyyyy crdControllerEvent=add driver=ontap-san logLayer=core requestID=xyxyxyxy-yyyy-xxxx-zzzz-zyyzzyyzzyyz requestSource=CRD state=failed workflow="cr=reconcile"

  • In the ontap audit log file, the following error is seen:

DDD MM DD hh:mm:ss +0100 [node: mgwd: security.invalid.login:alert]: Failed to authenticate login attempt to Vserver: SVM-test, username: pii_encrypt/xxxx---yyyy/pii_encrypt, application:  http.

 

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.