Description of problem (please be detailed as possible and provide log snippests): CSI-Addons controller makes node reclaimspace request even when the PVC is not mounted to any pod. Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? 1 Can this issue reproducible? yes Can this issue reproduce from the UI? no Steps to Reproduce: 1. Create an RBD PVC 2. Create ReclaimSpaceJob for the PVC 3. Verify the result of the ReclaimSpaceJob. Actual results: CSI-Addons controller makes node reclaimspace request even when the PVC is not mounted to any pod. The result of ReclaimSpaceJob is "Failed" Expected results: CSI-Addons controller should not makes node reclaimspace request when the PVC is not mounted to any pod. The result of ReclaimSpaceJob should be "Succeeded". Additional info:
Verified in version: ODF 4.10.0-137 OCP 4.10.0-0.nightly-2022-01-31-012936 $ oc get pvc,pod,reclaimspacejob -n test-project NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE persistentvolumeclaim/pvcrbd Bound pvc-2b436458-03a6-4d40-ac50-94803f2c566b 4Gi RWO ocs-storagecluster-ceph-rbd 119m NAME NAMESPACE AGE RETRIES RESULT reclaimspacejob.csiaddons.openshift.io/reclaim-pvcrbd test-project 116m Succeeded Reclaimspacejob Succeeded when the PVC is not mounted.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Red Hat OpenShift Data Foundation 4.10.0 enhancement, security & bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:1372