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

[Azure-Disk-CSI-Driver] Message correction for "The performancePlus flag can only be set on disks at least 512 GB in size"

    XMLWordPrintable

Details

    • Informational
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      ----- edited -----
      * Previously, if you used the `performancePlus` parameter in the Azure Disk CSI driver and provisioned volumes 512 GiB or smaller, you would receive an error from the driver that you need a disk size of at least 512 GiB. With this release, if you use the `performancePlus` parameter and provision volumes 512 GiB or smaller, the Azure Disk CSI driver automatically resizes volumes to be 513 GiB.
      ----- original -----
      **Cause**: Using performancePlus parameter in StorageClass of azure-disk-csi-driver and provisioning volumes smaller than 512Gi.
      **Consequence**: Users get an error from the driver that they need a disk size of at least 512Gi.
      **Fix**: Driver will now automatically resize volumes to be at least 512Gi when smaller size is set by user and performancePlus parameter is set.
      **Result**: Bug is fixed, errors about wrong disk size no longer appear.
      Show
      ----- edited ----- * Previously, if you used the `performancePlus` parameter in the Azure Disk CSI driver and provisioned volumes 512 GiB or smaller, you would receive an error from the driver that you need a disk size of at least 512 GiB. With this release, if you use the `performancePlus` parameter and provision volumes 512 GiB or smaller, the Azure Disk CSI driver automatically resizes volumes to be 513 GiB. ----- original ----- **Cause**: Using performancePlus parameter in StorageClass of azure-disk-csi-driver and provisioning volumes smaller than 512Gi. **Consequence**: Users get an error from the driver that they need a disk size of at least 512Gi. **Fix**: Driver will now automatically resize volumes to be at least 512Gi when smaller size is set by user and performancePlus parameter is set. **Result**: Bug is fixed, errors about wrong disk size no longer appear.
    • Bug Fix
    • Done

    Description

      Description of problem:

      When using the performancePlus in storageclass in azure-disk-csi-driver, it asks for volume size large than 512GB, but the message shows "The performancePlus flag can only be set on disks at least 512 GB in size" which means 512 is supported. It will make confuse to users.

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

      4.14

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create sc with 
      parameters:
        enablePerformancePlus: "true" 
      
      2. Create pvc with 512Gi 
      
      3. Get ProvisioningFailed message as below which is a bit confused:  
        Warning  ProvisioningFailed    <invalid> (x5 over <invalid>)  disk.csi.azure.com_wduan0810manual-b5dng-master-1_d7a29bbf-3f49-4207-af33-056e0814f6e2  failed to provision volume with StorageClass "managed-csi-test-28-sssdlrs-enableperformanceplus": rpc error: code = Internal desc = Retriable: false, RetryAfter: 0s, HTTPStatusCode: 400, RawError: {
        "error": {
          "code": "BadRequest",
          "message": "The performancePlus flag can only be set on disks at least 512 GB in size."
        }
      }

      Actual results:

       

      Expected results:

      Message should mention larger than 512GB, but not "at least".

      Additional info:

       

      Attachments

        Activity

          People

            rbednar@redhat.com Roman Bednar
            wduan@redhat.com Wei Duan
            Wei Duan Wei Duan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: