ceph / ceph-csi

CSI driver for Ceph
Apache License 2.0
1.2k stars 528 forks source link

Log RBD info and RBD status in E2E validateRBDImageCount function in case of failure #4547

Open Madhu-1 opened 2 months ago

Madhu-1 commented 2 months ago
          > > /retest ci/centos/mini-e2e/k8s-1.29

spurious failure, the logs show that an image was not cleaned up (yet?):

[FAILED] backend images not matching kubernetes resource count,image count 1 kubernetes resource count 0

i think we need to update the validation function to print rbd info and rbd status of each images to get more clarity what happened. it looks like the image is opened by someone but not closed? not sure who

Originally posted by @Madhu-1 in https://github.com/ceph/ceph-csi/issues/4499#issuecomment-2039243502