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

Microsoft Azure dropping support for field used in image gallery versions [openshift-4.12.z]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 4.13.z, 4.12.z, 4.14.z, 4.15.z, 4.16.z
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 2
    • None
    • None
    • All
    • None
    • None
    • None
    • In Progress
    • Bug Fix
    • Use properties.storageProfile.osDiskImage.source.storageAccountId when creating image gallery versions
    • None
    • None
    • None
    • None

      Description of problem:

      Microsoft Azure is dropping support for the field ‘properties.storageProfile.[osDiskImage/dataDiskImages].source.Id,‘. It needs to be replaced with ’properties.storageProfile.osDiskImage.source.storageAccountId’. This is a breaking change. The change is stated to take effect October 8, 2025.

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

          4.16, 4.14, 4.12

      How reproducible:

      Can be reproduced 100% of the time    

      Steps to Reproduce:

          1. Install openshift cluster on Azure with installer 4.16 or prior
          2. Check storageProfile.dataDiskImage.Source for the Id property
          3. The Id property should be storageAccountId
          

      Actual results:

              "storageProfile": {
            "osDiskImage": {
              "hostCaching": "ReadWrite",
              "sizeInGB": 16,
              "source": {
                "id": "/subscriptions/433715e6-37fe-4328-af75-3661e13b15fc/resourceGroups/jh416-nn7m5-rg/providers/Microsoft.Storage/storageAccounts/clusternzvua",
                "resourceGroup": "jh416-nn7m5-rg",
                "uri": "https://clusternzvua.blob.core.windows.net/vhd/rhcosnzvua.vhd"
              }
            }
          },
      

      Expected results:

              "storageProfile": {
            "osDiskImage": {
              "hostCaching": "ReadWrite",
              "sizeInGB": 16,
              "source": {
                "storageAccountId": "/subscriptions/433715e6-37fe-4328-af75-3661e13b15fc/resourceGroups/jh416-nn7m5-rg/providers/Microsoft.Storage/storageAccounts/clusternzvua",
                "resourceGroup": "jh416-nn7m5-rg",
                "uri": "https://clusternzvua.blob.core.windows.net/vhd/rhcosnzvua.vhd"
              }
            }
          },
      

      Additional info:

          You can verify using the following az command: az sig image-version list -g <resource-group-name> -r <image-gallery-name> -i <image-name>

              jhixson_redhat John Hixson
              jhixson_redhat John Hixson
              None
              None
              Gaoyun Pei Gaoyun Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: