Bug 2175820

Summary: [GSS] Reclaimspace Jobs Failing
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: kelwhite
Component: csi-addonsAssignee: Rakshith <rar>
Status: CLOSED MIGRATED QA Contact: krishnaram Karthick <kramdoss>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.10CC: gsitlani, hnallurv, idryomov, muagarwa, ocs-bugs, odf-bz-bot, rar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-28 12:46:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 6 kelwhite 2023-03-07 15:05:39 UTC
I have been trying to replicate this issue on a 4.12.0 cluster but ran into issues I can't see to resolve. I'm unable to sparsify the csi-vol as it's read-only and cannot figure out why or how to fix it. Here's my reclaimspacejob yaml:

$ oc get reclaimspacejob -n openshift-logging -o yaml
...
    conditions:
    - lastTransitionTime: "2023-03-06T20:25:04Z"
      message: 'Failed to make controller request: failed to sparsify volume "ocs-storagecluster-cephblockpool/csi-vol-13e4f64f-0449-4b4a-981a-745710e6ee44":
        failed to sparsify image: rbd: ret=-30, Read-only file system'
      observedGeneration: 1
      reason: failed
      status: "True"
      type: Failed

Is there something specific I need to do? I've been following [1] and [2].

[1] https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.10/html/managing_and_allocating_storage_resources/reclaiming-space-on-target-volumes_rhodf
[2] https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.10/html/managing_and_allocating_storage_resources/reclaiming-space-on-target-volumes_rhodf#masthead