ceph / ceph-csi

CSI driver for Ceph
Apache License 2.0
1.28k stars 547 forks source link

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

Open Madhu-1 opened 7 months ago

Madhu-1 commented 7 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

black-dragon74 commented 2 months ago

print rbd info and rbd status of each images to get more clarity what happened.

Only in the case of failure, right?

Madhu-1 commented 2 months ago

yes thats correct

OdedViner commented 2 weeks ago

/assign

github-actions[bot] commented 2 weeks ago

Thanks for taking this issue! Let us know if you have any questions!