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

Azure: failed to create cluster in existing vnet

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Critical
    • None
    • None
    • Proposed
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Install cluster in existing vnet, installer exited with below error:
      ================
      level=info msg=Creating infrastructure resources...
      level=error msg=failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed during pre-provisioning: failed to create network security group: PUT https://management.azure.com/subscriptions/53b8f551-f0fc-4bea-8cba-6d1fefd54c8a/resourceGroups/ci-op-nffh4xc4-de7ff-mknrk-rg/providers/Microsoft.Network/networkSecurityGroups/ci-op-nffh4xc4-de7ff-mknrk-nsg
      level=error msg=--------------------------------------------------------------------------------
      level=error msg=RESPONSE 404: 404 Not Found
      level=error msg=ERROR CODE: ResourceGroupNotFound
      level=error msg=--------------------------------------------------------------------------------
      level=error msg={
      level=error msg=  "error": {
      level=error msg=    "code": "ResourceGroupNotFound",
      level=error msg=    "message": "Resource group 'ci-op-nffh4xc4-de7ff-mknrk-rg' could not be found."
      level=error msg=  }
      level=error msg=}
      level=error msg=--------------------------------------------------------------------------------
      level=error

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

          4.19 nightly build

      How reproducible:

          Always

      Steps to Reproduce:

          1. Create cluster in existing vnet
          2.
          3.
          

      Actual results:

          Installer failed with error

      Expected results:

          Cluster is created successfully

      Additional info:

      Related with this commit https://github.com/openshift/installer/commit/0779504264628a523690a3e4a5dd12d3a3152bcb
      
      Dummy nsg needs to be created before CAPI controllers is running if installing cluster in existing vnet.
      
      This blocks all the custom vnet ci jobs on azure.
      
      Failed CI job: https://qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/view/gs/qe-private-deck/logs/periodic-ci-openshift-openshift-tests-private-release-4.19-multi-nightly-azure-ipi-fullyprivate-proxy-mini-perm-amd-f28-destructive/1904568324063236096

              padillon Patrick Dillon
              jinyunma Jinyun Ma
              None
              None
              Jinyun Ma Jinyun Ma
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: