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

[CAPI Azure] some resource created unexpected or missed when installing cluster with publish:Mixed

XMLWordPrintable

    • Important
    • None
    • Installer (PB) Sprint 258, Installer (PB) Sprint 259
    • 2
    • Approved
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      This is a clone of issue OCPBUGS-38070. The following is the description of the original issue:

      Description of problem:

      Create cluster with publish:Mixed by using CAPZ,
      1. publish: Mixed + apiserver: Internal
      install-config:
      =================
      publish: Mixed
      operatorPublishingStrategy:
        apiserver: Internal
        ingress: External
      
      In this case, api dns should not be created in public dns zone, but it was created.
      ==================
      $ az network dns record-set cname show --name api.jima07api --resource-group os4-common --zone-name qe.azure.devcluster.openshift.com
      {
        "TTL": 300,
        "etag": "6b13d901-07d1-4cd8-92de-8f3accd92a19",
        "fqdn": "api.jima07api.qe.azure.devcluster.openshift.com.",
        "id": "/subscriptions/53b8f551-f0fc-4bea-8cba-6d1fefd54c8a/resourceGroups/os4-common/providers/Microsoft.Network/dnszones/qe.azure.devcluster.openshift.com/CNAME/api.jima07api",
        "metadata": {},
        "name": "api.jima07api",
        "provisioningState": "Succeeded",
        "resourceGroup": "os4-common",
        "targetResource": {},
        "type": "Microsoft.Network/dnszones/CNAME"
      }
      
      2. publish: Mixed + ingress: Internal
      install-config:
      =============
      publish: Mixed
      operatorPublishingStrategy:
        apiserver: External
        ingress: Internal
      
      In this case, load balance rule on port 6443 should be created in external load balancer, but it could not be found.
      ================
      $ az network lb rule list --lb-name jima07ingress-krf5b -g jima07ingress-krf5b-rg
      []
      

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

          4.17 nightly build

      How reproducible:

          Always

      Steps to Reproduce:

          1. Specify publish: Mixed + mixed External/Internal for api/ingress 
          2. Create cluster
          3. check public dns records and load balancer rules in internal/external load balancer to be created expected
          

      Actual results:

          see description, some resources are unexpected to be created or missed.

      Expected results:

          public dns records and load balancer rules in internal/external load balancer to be created expected based on setting in install-config

      Additional info:

          

              sdasu@redhat.com Sandhya Dasu
              openshift-crt-jira-prow OpenShift Prow Bot
              Jinyun Ma Jinyun Ma
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: