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

[GCP-PD] Hyperdisk volume original size need to be larger than 6Gi when do resize/clone operation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 4.19.z
    • 4.19
    • Storage / Kubernetes
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • In Progress
    • Bug Fix
    • Hide
      Before this release, resizing or cloning small {gcp-first} Hyperdisk volumes (for example, from 4Gi to 5Gi) would fail due to an IOPS validation error from the {gcp-first} API. This occurred because the container storage interface (CSI) driver did not automatically adjust the provisioned Input/Output Operations Per Second (IOPS) to meet the minimum requirements of the new volume size. With this release, the driver has been updated to correctly calculate and provide the required IOPS during volume expansion operations. Users can now successfully resize and clone these smaller Hyperdisk volumes. (link:https://issues.redhat.com/browse/OCPBUGS-62116[OCPBUGS-62116])
      Show
      Before this release, resizing or cloning small {gcp-first} Hyperdisk volumes (for example, from 4Gi to 5Gi) would fail due to an IOPS validation error from the {gcp-first} API. This occurred because the container storage interface (CSI) driver did not automatically adjust the provisioned Input/Output Operations Per Second (IOPS) to meet the minimum requirements of the new volume size. With this release, the driver has been updated to correctly calculate and provide the required IOPS during volume expansion operations. Users can now successfully resize and clone these smaller Hyperdisk volumes. (link: https://issues.redhat.com/browse/OCPBUGS-62116 [ OCPBUGS-62116 ])
    • None
    • None
    • None
    • None

      Description of problem:

          Hyperdisk volume original size need to be larger than 6Gi when do resize/clone operation 

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

          4.19

      How reproducible:

          Always

      Steps to Reproduce:

          1.Create sc with hypberdisk-balanced volume type
          2.Create pvc/pod and pvc volume capacity is 6Gi
          3.Try to resize the volume
          4.
      "pd.csi.storage.gke.io" failed: rpc error: code = InvalidArgument desc = ControllerExpandVolume failed to resize disk: failed to resize zonal volume Key{"pvc-6c8daf11-e550-4371-bd3d-cace223d3590", zone: "us-central1-b"}: googleapi: Error 400: Requested provisioned IOPS cannot be smaller than 2500., badRequest     
          5.Test on clone feature with original volume capacity is 6Gi, issue reproduced.

      Actual results:

          

      Expected results:

          

      Additional info:

          

              rhn-support-dfajmon Daniel Fajmon
              rhn-support-dfajmon Daniel Fajmon
              None
              None
              Chao Yang Chao Yang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: