Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-29883

LSO - Unable to release and reuse large volumes (4.13)

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-29795. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-22250. The following is the description of the original issue:

      Description of problem:

      - When using a large volume, it could not be cleaned to be reused.

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      - Create a new LocalVolume (20TB)
      - Attach the volume to a pod via PV--> PVC
      - Delete the pod
      - Delete de PVC
      - Review disk-manager logs

      Steps to Reproduce:

      - Create a new LocalVolume (20TB)
      - Attach the volume to a pod via PV--> PVC
      - Delete the pod
      - Delete de PVC 
      -

      Actual results:

      I1020 09:30:11.473793 2419500 deleter.go:325] Cleanup pv "local-pv-591b00ae": StderrBuf - "mkfs.ext2: Size of device (0x1230c0000 blocks) /mnt/local-storage/minio-local-storage/scsi-35000c500d9e7604b too big to be expressed"
      I1020 09:30:11.473802 2419500 deleter.go:325] Cleanup pv "local-pv-591b00ae": StderrBuf - "\tin 32 bits using a blocksize of 4096."
      E1020 09:30:11.473820 2419500 deleter.go:286] exit status 1
      

      Expected results:

      - The volume should be wiped

      Additional info:
      Seems that this comes while calling mkfs before wiping the volume devices.

      https://github.com/openshift/local-storage-operator/blob/910224d9f48be06b1f55890c93de472f7bd4bef0/hack/scripts/quick_reset.sh#L34C1-L38C42

      Which by default is set to ext2 which might not work for large volumes:

       

      ### Manual mkfs:
             -t, --type type
                 Specify the type of filesystem to be built. If not specified, the default filesystem type (currently ext2) is used 

       

            rh-ee-mpatlaso Maxim Patlasov
            openshift-crt-jira-prow OpenShift Prow Bot
            Chao Yang Chao Yang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: