ceph-csi icon indicating copy to clipboard operation
ceph-csi copied to clipboard

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

Open Madhu-1 opened this issue 1 year ago • 2 comments

          > > /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

Madhu-1 avatar Apr 05 '24 08:04 Madhu-1

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

Only in the case of failure, right?

black-dragon74 avatar Aug 27 '24 11:08 black-dragon74

yes thats correct

Madhu-1 avatar Aug 27 '24 11:08 Madhu-1

/assign

OdedViner avatar Oct 30 '24 11:10 OdedViner

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

github-actions[bot] avatar Oct 30 '24 11:10 github-actions[bot]