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

[gcp] with "platform.gcp.publicDNSZone" specified, no "*.apps.<cluster name>.<base domain>" record-set created in the public DNS zone

XMLWordPrintable

    • Moderate
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Firstly of all, it's not XPN testing, but testing the new options under gcp.platform. The issue is, the expected "*.apps.<cluster name>.<base domain>" record-set is not created in the specified public DNS zone. 

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

      $ openshift-install version
      openshift-install 4.12.0-0.nightly-2022-11-07-181244
      built from commit f5f0215dc2c623d5d65da8de5e8c61e5f6bcf117
      release image registry.ci.openshift.org/ocp/release@sha256:349411081ef85dd73c299b164171414a6f83d759580563faa29647b01884ccc4
      release architecture amd64
      

      How reproducible:

      Always

      Steps to Reproduce:

      1. create install-config
      2. edit the install-config.yaml, to insert valid publicDNSZone and privateDNSZone settings
      3. create cluster
      4. check the DNS record-sets in the public zone and the private zone 

      Actual results:

      There's no "*.apps.<cluster name>.<base domain>" record-set in the public DNS zone.

      Expected results:

      There should be the "*.apps.<cluster name>.<base domain>" record-set in the public DNS zone.

      Additional info:

      1. the DNS record-sets created in the public zone and the private zone respectively:
      
      Running Command: gcloud --project openshift-qe-shared-vpc dns record-sets list --zone qe-shared-vpc --format="table(type,name,rrdatas)" --filter="name~jiwei-ocp01 AND type=A"TYPE  NAME                                                            RRDATAS
      A     api.jiwei-ocp01.qe-shared-vpc.qe.gcp.devcluster.openshift.com.  ['34.133.202.118']
      
      Running Command: gcloud --project openshift-qe-shared-vpc dns record-sets list --zone ipi-xpn-private-zone01 --format="table(type,name,rrdatas)" --filter="name~jiwei-ocp01 AND type=A"TYPE  NAME                                                                RRDATAS
      A     api.jiwei-ocp01.qe-shared-vpc.qe.gcp.devcluster.openshift.com.      ['10.0.0.11']
      A     api-int.jiwei-ocp01.qe-shared-vpc.qe.gcp.devcluster.openshift.com.  ['10.0.0.11']
      A     *.apps.jiwei-ocp01.qe-shared-vpc.qe.gcp.devcluster.openshift.com.   ['34.28.130.157']
      
      2. the related install-config:
      $ yq-3.3.0 r test1/install-config.yaml baseDomain
      qe-shared-vpc.qe.gcp.devcluster.openshift.com
      $ yq-3.3.0 r test1/install-config.yaml metadata
      creationTimestamp: null
      name: jiwei-ocp01
      $ yq-3.3.0 r test1/install-config.yaml platform
      gcp:
        projectID: openshift-qe-shared-vpc
        region: us-central1
        computeSubnet: installer-shared-vpc-subnet-2
        controlPlaneSubnet: installer-shared-vpc-subnet-1
        network: installer-shared-vpc
        createFirewallRules: Disabled
        publicDNSZone:
          id: qe-shared-vpc
        privateDNSZone:
          id: ipi-xpn-private-zone01
      $ yq-3.3.0 r test1/install-config.yaml compute
      - architecture: amd64
        hyperthreading: Enabled
        name: worker
        platform:
          gcp:
            tags:
            - preserved-ipi-xpn-compute
        replicas: 2
      $ yq-3.3.0 r test1/install-config.yaml controlPlane
      architecture: amd64
      hyperthreading: Enabled
      name: master
      platform:
        gcp:
          tags:
          - preserved-ipi-xpn-control-plane
      replicas: 3
      $ yq-3.3.0 r test1/install-config.yaml publish
      External
      $ 

       

       

       

              rh-ee-bbarbach Brent Barbachem
              rhn-support-jiwei Jianli Wei
              Jianli Wei Jianli Wei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: