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

[GCE-PD-CSI] Wrong maximum attachable disk number for n4-standard series instance type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.17
    • Storage / Operators
    • None
    • Important
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:
      In GCE cluster with n4-standard-2/n4-standard-4 nodes, the maximum attachable disk number is 127 from the csinode object but it only supports 16.

      1. Instance type:
      $ oc get node wduan-0830f-gcp-x8fbz-worker-a-ltv5b -oyaml | grep instance-type
          beta.kubernetes.io/instance-type: n4-standard-2
          node.kubernetes.io/instance-type: n4-standard-2
          
      2. Attachable disk number:
      $ oc get csinode wduan-0830f-gcp-x8fbz-worker-a-ltv5b -oyaml | yq .spec.drivers

      • allocatable:
            count: 127
          name: pd.csi.storage.gke.io

      3. Error message for 
      $ oc get pod ss-storage-test-15
      ss-storage-test-15   0/1     ContainerCreating   0          10m
      $ oc describe pod ss-storage-test-15
      Warning  FailedAttachVolume  <invalid>              attachdetach-controller  AttachVolume.Attach failed for volume "pvc-f19abc1e-e5db-4ab1-af03-c7afee76b402" : rpc error: code = InvalidArgument desc = Failed to Attach: failed when waiting for zonal op: rpc error: code = InvalidArgument desc = operation operation-1725005782199-620e234e22e51-f7a320ba-589d3912 failed (UNSUPPORTED_OPERATION): Maximum hyperdisk-balanced disks count should be less than or equal to [16], Requested : [17]

      4. See GCE doc: https://cloud.google.com/compute/docs/general-purpose-machines#n4_machine_types

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

      How reproducible:
      Always

      Steps to Reproduce:
      See Description

            rhn-engineering-jsafrane Jan Safranek
            wduan@redhat.com Wei Duan
            Wei Duan Wei Duan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: