从网络中删除后端后, Trident 升级将保持初始化状态
适用场景
适用于 Kubernetes /OpenShift 的 Trident
问题描述
从 Kubernetes 环境中删除后端后,升级或重新安装 Trident 将在初始化时挂起:
time="2020-07-20T18:00:23Z" level=error msg="API invocation failed. Post \"https://<Storage_mgmt_IP-Address>/servlets/netapp.servlets.admin.XMLrequest_filer\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
time="2020-07-20T18:00:23Z" level=error msg="Could not initialize storage driver." error="error initializing ontap-nas-economy driver: could not create Data ONTAP API client: error reading SVM details: Post \"https://<Storage_mgmt_IP-Address>/servlets/netapp.servlets.admin.XMLrequest_filer\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
time="2020-07-20T18:00:23Z" level=warning msg="Cannot terminate an uninitialized backend." backend= backendUUID=<UUID> driver=ontap-nas-economy state=failed
time="2020-07-20T18:00:23Z" level=warning msg="Problem adding backend." backendErr="problem initializing storage driver 'ontap-nas-economy': error initializing ontap-nas-economy driver: could not create Data ONTAP API client: error reading SVM details: Post \"https://<Storage_IP-Address>/servlets/netapp.servlets.admin.XMLrequest_filer\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)" handler=Bootstrap newBackendExternal="&{ <UUID> file {0xc0003d05a0 <Storage_mgmt_IP-Address><Storage_data_IP-Address> <SVM_Name> false [] {map[] {true none none false ---rwxrwxrwx default unix false ext4 false {1G}}} [] false } map[] failed false []}"