Trident 错误:在已注册的 CSI 驱动程序列表中未找到 csi.trident.netapp.io
适用场景
Trident 19.X - 20.X
问题描述
尝试挂载 PVC (由 Trident 配置的卷)失败,并缺少 CSI 驱动程序。此错误发生在 Kubernetes 级别,并将在 kublet 日志中报告。
kublet 日志显示:
MountVolume.MountDevice failed for volume "pvc-7b4c33fa-c897-4756-bbed-854ed476045b" : kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name csi.trident.netapp.io not found in the list of registered CSI drivers
所有驱动程序注册器 Pod 都会报告
[W0818 23:43:44.793588 1 connection.go:170] Still connecting to unix:///plugin/csi.sock