TridentBackendConfig 未正确创建/初始化
适用于
- 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.