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

PV/PVC capacity is not friendly when volume size is 1.1Ti

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • 4.13
    • Storage
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      PV/PVC capacity is not friendly when volume size is 1.1Ti

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

      4.12.0-0.nightly-2023-01-24-150415 

      How reproducible:

      Always

      Steps to Reproduce:

      1.Create pvc with capacity 1Ti
      oc get pvc
      NAME       STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS    AGE
      myclaim5   Bound    pvc-88e9dcf2-9d80-40b6-9a2f-bf11167f4fda   1Ti        RWX            filestore-csi   4m35s
      2.Expand pvc capacity to 1.1Ti
      3.oc get pvc
      NAME       STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS    AGE
      myclaim5   Bound    pvc-88e9dcf2-9d80-40b6-9a2f-bf11167f4fda   1126Gi     RWX            filestore-csi   38m
      
      oc get pvc/myclaim5 -o json | jq .spec
      {
        "accessModes": [
          "ReadWriteMany"
        ],
        "resources": {
          "requests": {
            "storage": "1209462790553600m"
          }
        },
        "storageClassName": "filestore-csi",
        "volumeMode": "Filesystem",
        "volumeName": "pvc-88e9dcf2-9d80-40b6-9a2f-bf11167f4fda"
      }
      4.Check filevolume from node.
      10.121.149.90:/vol1  1.1T     0  1.1T   0% /var/lib/kubelet/pods/4e1df74a-ea25-442b-a8b4-75c770165c6d/volumes/kubernetes.io~csi/pvc-88e9dcf2-9d80-40b6-9a2f-bf11167f4fda/mount
       

      Actual results:

       

      Expected results:

       

      PVC spec resource and capacity updated to 1.1T

      Additional info:

       

              Unassigned Unassigned
              rhn-support-chaoyang Chao Yang
              Chao Yang
              None
              Chao Yang Chao Yang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: