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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18
    • Storage / Kubernetes
    • None
    • Quality / Stability / Reliability
    • True
    • Hide

      Waiting on update from google.

      Show
      Waiting on update from google.
    • None
    • None
    • None
    • None
    • None
    • None
    • In Progress
    • Bug Fix
    • Hide
      Previously, resizing or cloning small GCP Hyperdisk volumes (e.g., from 4Gi to 5Gi) would fail due to an IOPS validation error from the GCP API. This occurred because the CSI driver did not automatically adjust the provisioned IOPS to meet the minimum requirements of the new volume size. This has been resolved by updating the driver to correctly calculate and provide the required IOPS during volume expansion operations. Users can now successfully resize and clone these smaller Hyperdisk volumes.
      Show
      Previously, resizing or cloning small GCP Hyperdisk volumes (e.g., from 4Gi to 5Gi) would fail due to an IOPS validation error from the GCP API. This occurred because the CSI driver did not automatically adjust the provisioned IOPS to meet the minimum requirements of the new volume size. This has been resolved by updating the driver to correctly calculate and provide the required IOPS during volume expansion operations. Users can now successfully resize and clone these smaller Hyperdisk volumes.
    • 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.18

      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-chaoyang Chao Yang
              None
              None
              Chao Yang Chao Yang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: