由于在注册列表中未找到CSI驱动程序、Trident无法挂载PVC
- Views:
- 123
- Visibility:
- Public
- Votes:
- 0
- Category:
- astra_trident<a>2009265318</a>
- Specialty:
- snapx
- Last Updated:
适用场景
- Astra Trident 21.07.2
- Kubernetes 1.20.6
问题描述
- 无法通过挂载PVC
csi.trident.netapp.io not found in the list of registered CSI drivers
- kubelet报告以下错误:
MountVolume.MountDevice failed for volume "pvc-XXX" : kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name csi.trident.netapp.io not found in the list of registered CSI drivers
- trident CSI Pod的状态为NOT
Running
且未就绪
# kubectl get pod -n trident
NAME READY STATUS RESTARTS AGE
pod/trident-csi-XXXXX 0/2 Completed 4 64d
pod/trident-csi-XXXXX 0/2 Completed 6 117d
pod/trident-csi-XXXXX 0/2 Completed 6 117d
pod/trident-csi-XXXXXXXXXXXXXXXX 6/6 Running 6 33d
pod/trident-operator-XXXXXXXXXXXXXXXX 1/1 Running 4 117d
- CSI驱动程序注册器日志显示
Lost connection
到CSI端点、unix:///plugin/csi.sock
E0809 <TIMESTAMP> 13504 connection.go:131] Lost connection to unix:///plugin/csi.sock.