跳转到主内容

TridentBackendConfig 未正确创建/初始化

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

适用于

  • NetApp Astra Trident
  • NetApp Data ONTAP 9.X
  • ontap-san 驱动程序

问题描述

  • 创建新的 TridentBackendConfig 时,它未正确设置为在线,并且在 trident-controller 日志中看到以下错误:

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"

  • 在 ontap 审核日志文件中,可以看到以下错误:

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.