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

[Azure-Disk-CSI-Driver] allocatable volumes count incorrect in csinode for D family v6 instance types

XMLWordPrintable

    • Important
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      [Azure-Disk-CSI-Driver] allocatable volumes count incorrect in csinode for D family v6 instance types    

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

       4.19.0-0.nightly-2025-02-20-131651   

      How reproducible:

        Always  

      Steps to Reproduce:

          1. Install openshift cluster with instance type "Standard_D8lds_v6".
          2. Check the csinode object max allocatable volumes count should be consistent with cloud supports.
          

      Actual results:

        In step2 the csi node max allocatable volumes count is 16(correct value is 24) which is not consistent with cloud.
      $ oc get no/pewang-dxv6-a-qf9ck-worker-eastus2-l49ft -oyaml|grep 'instance'
          beta.kubernetes.io/instance-type: Standard_D8lds_v6
          node.kubernetes.io/instance-type: Standard_D8lds_v6
      $ oc get csinode pewang-dxv6-a-qf9ck-worker-eastus2-l49ft -oyaml|yq .spec
      drivers:
        - name: file.csi.azure.com
          nodeID: pewang-dxv6-a-qf9ck-worker-eastus2-l49ft
          topologyKeys: null
        - allocatable:
            count: 16
          name: disk.csi.azure.com
          nodeID: pewang-dxv6-a-qf9ck-worker-eastus2-l49ft
          topologyKeys:
            - topology.disk.csi.azure.com/zone
            - topology.kubernetes.io/zone
      
      $ az vm list-sizes -l eastus -o tsv | awk -F '\t' '{print "\""$3"\":"$1","}' | sort | uniq|grep 'Standard_D8lds_v6'
      "Standard_D8lds_v6":24,   

      Expected results:

       In step2 the csi node max allocatable volumes count is 24   

      Additional info:

        Dlsv6, Dldsv6, Dsv6, Ddsv6 are not set in ->
        https://github.com/openshift/azure-disk-csi-driver/blob/master/pkg/azuredisk/azure_dd_max_disk_count.go

              rhn-support-pewang Penghao Wang
              rhn-support-pewang Penghao Wang
              Penghao Wang Penghao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: