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

[ASH] Fail to provision worker machines on 4.11

XMLWordPrintable

    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      IPI installation failed against 4.11 nightly build on Azure Stack Hub WWT.
      
      workers machines failed to be provisioned as using the wrong image which does not exist.
      $ oc get machine -n openshift-machine-api
      NAME                                  PHASE     TYPE              REGION   ZONE   AGE
      jima411az-xvwvg-master-0              Running   Standard_DS4_v2   mtcazs          3h10m
      jima411az-xvwvg-master-1              Running   Standard_DS4_v2   mtcazs          3h10m
      jima411az-xvwvg-master-2              Running   Standard_DS4_v2   mtcazs          3h10m
      jima411az-xvwvg-worker-mtcazs-4k6hs   Failed                                      3h3m
      jima411az-xvwvg-worker-mtcazs-fc6s5   Failed                                      3h3m
      jima411az-xvwvg-worker-mtcazs-sclgf   Failed                                      3h3m
      
      $ oc describe machine jima411az-xvwvg-worker-mtcazs-4k6hs -n openshift-machine-api
      ...
      Events:
        Type     Reason        Age   From              Message
        ----     ------        ----  ----              -------
        Warning  FailedCreate  3h4m  azure-controller  InvalidConfiguration: failed to reconcile machine "jima411az-xvwvg-worker-mtcazs-4k6hs": failed to create vm jima411az-xvwvg-worker-mtcazs-4k6hs: failure sending request for machine jima411az-xvwvg-worker-mtcazs-4k6hs: cannot create vm: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=404 -- Original Error: Code="NotFound" Message="The Image '/subscriptions/de7e09c3-b59a-4c7d-9c77-439c11b92879/resourceGroups/jima411az-xvwvg-rg/providers/Microsoft.Compute/images/jima411az-xvwvg-gen2' cannot be found in 'mtcazs' region."
      
      The image created on ASH is `/subscriptions/de7e09c3-b59a-4c7d-9c77-439c11b92879/resourceGroups/jima411az-xvwvg-rg/providers/Microsoft.Compute/images/jima411az-xvwvg`
      
      # az resource list -g jima411az-xvwvg-rg --query "[?type=='Microsoft.Compute/images']"
      [
        {
          "changedTime": "2023-08-03T01:08:03.369233+00:00",
          "createdTime": "2023-08-03T00:57:34.228352+00:00",
          "id": "/subscriptions/de7e09c3-b59a-4c7d-9c77-439c11b92879/resourceGroups/jima411az-xvwvg-rg/providers/Microsoft.Compute/images/jima411az-xvwvg",
          "identity": null,
          "kind": null,
          "location": "mtcazs",
          "managedBy": null,
          "name": "jima411az-xvwvg",
          "plan": null,
          "properties": null,
          "provisioningState": "Succeeded",
          "resourceGroup": "jima411az-xvwvg-rg",
          "sku": null,
          "tags": {},
          "type": "Microsoft.Compute/images"
        }
      ]

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

      4.11.0-0.nightly-2023-07-29-013834

      How reproducible:

      Always on 4.11

      Steps to Reproduce:

      1. Deploy IPI with 4.11 on ASH WWT
      2. 
      3.
      

      Actual results:

      worker nodes failed to be provisioned

      Expected results:

      Installation is successful. 

      Additional info:

      Detect issue on 4.11, IPI installation works well on 4.12+.

            rdossant Rafael Fonseca dos Santos
            jinyunma Jinyun Ma
            Jinyun Ma Jinyun Ma
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: