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

Azure: failed to create cluster on instance type including "zone 4"

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 4.17, 4.18, 4.19, 4.20, 4.21, 4.22
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Failed to create cluster in region eastus2 and southcentralus with default instance types.
      
      time="2026-02-10T08:20:16Z" level=debug msg="\tfailed to reconcile cluster services: failed to reconcile AzureCluster service publicips: failed to create or update resource jima210-n6ssk-rg/pip-jima210-n6ssk-controlplane-outbound (service: publicips): PUT https://management.azure.com/subscriptions/53b8f551-f0fc-4bea-8cba-6d1fefd54c8a/resourceGroups/jima210-n6ssk-rg/providers/Microsoft.Network/publicIPAddresses/pip-jima210-n6ssk-controlplane-outbound"
      time="2026-02-10T08:20:16Z" level=debug msg="\t--------------------------------------------------------------------------------"
      time="2026-02-10T08:20:16Z" level=debug msg="\tRESPONSE 400: 400 Bad Request"
      time="2026-02-10T08:20:16Z" level=debug msg="\tERROR CODE: InvalidAvailabilityZone"
      time="2026-02-10T08:20:16Z" level=debug msg="\t--------------------------------------------------------------------------------"
      time="2026-02-10T08:20:16Z" level=debug msg="\t{"    
      time="2026-02-10T08:20:16Z" level=debug msg="\t  \"error\": {" 
      time="2026-02-10T08:20:16Z" level=debug msg="\t    \"code\": \"InvalidAvailabilityZone\","
      time="2026-02-10T08:20:16Z" level=debug msg="\t    \"message\": \"The zone(s) '4' for resource 'Microsoft.Network/publicIPAddresses/pip-jima210-n6ssk-controlplane-outbound' is not supported. The supported zones for location 'eastus2' are '2,3,1'\""
      time="2026-02-10T08:20:16Z" level=debug msg="\t  }"    
      time="2026-02-10T08:20:16Z" level=debug msg="\t}"    
      time="2026-02-10T08:20:16Z" level=debug msg="\t--------------------------------------------------------------------------------"
      
      Checked with az command, zone field in default instance type "Standard_D4s_v3" and "Standard_D8s_v3" includes zone 4.
      
      $ az vm list-skus --location southcentralus --size Standard_D8s_v3 --zone --query "[].{Name:name, Zones:locationInfo[0].zones}"
      [
        {
          "Name": "Standard_D8s_v3",
          "Zones": [
            "1",
            "3",
            "2",
            "4"
          ]
        }
      ]

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

          4.21 nightly build

      How reproducible:

          Always

      Steps to Reproduce:

          1. Create cluster in region eastus2 or southcentralus
          2. 
          3.
          

      Actual results:

          Installation failed when creating infra resources

      Expected results:

          Installation succeeded

      Additional info:

      Several azure tested instance types in specific regions have zone 4 in its SKU.
      
      failed job: https://gcsweb-qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/qe-private-deck/pr-logs/pull/openshift_release/73979/rehearse-73979-periodic-ci-openshift-verification-tests-main-installation-nightly-4.22-azure-ipi-all-instance-types-f1/2021097608214220800/artifacts/azure-ipi-all-instance-types-f1/cucushift-installer-rehearse-azure-cases-clusters-provision/build-log.txt
      
      Issue still happens even setting platform.azure.defaultPlatform.zones or controlPlane.platform.azure.zones to ["1","2","3"]

       

              Unassigned Unassigned
              jinyunma Jinyun Ma
              Jinyun Ma Jinyun Ma
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: