无法创建后端 - 延迟同步 TridentBackendConfig
适用于
Trident,版本 25.06 +
问题
可选地,这首先显示: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: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"