Trident控制器POD会记录与卷附件对象相关的重复错误
适用场景
- Astra 25.02.1 24.10.0
- OpenShift (OCP)
- ODF Ceph
问题描述
- 在OpenShift环境中升级Astra Trident后25.02.1、Trident控制器POD中的CsI-Attacher容器会记录与卷附件对象相关的重复错误:
E0321 09:38:33.876403 1 csi_handler.go:190] "VolumeAttachment attached status and actual state do not match. Adding back to VolumeAttachment queue for forced reprocessing" driver="csi.trident.netapp.io" VolumeAttachment="csi-9a140c9f5fa7a1ed81bc172c9e4555e20e242643fcd778088abc92b77063b358" volumeHandle="<volume_handle>" attachedStatus=true found=false
This error repeats for numerous VolumeAttachment objects (e.g., csi-fdce15e60a940e05ba7f490ec5d9c5c7cebc69b511f67569ef5a9af4ab36ae6c, etc.), all with volumeHandle values following the Ceph/ODF naming convention (e.g., 0001-0011-openshift-storage-...), not Trident’s expected format
- 运行
kubectl get volumeattachment --all-namespaces
将显示 与csi.trident.netapp.io关联的VolumeAttachment对象、这些对象与驱动程序csi.trident.netapp.io中的Trident管理的永久性卷(PV)正确对应