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

although "create manifests" got fatal error of "no matching public DNS Zone found", the install-config is consumed unexpectedly

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • None
    • Done
    • Bug Fix
    • Hide
      * Before this update, when you installed a cluster on {gcp-short}, the installer read and processed the `install-config.yaml` file even when a fatal error was reported about not finding a matching public DNS zone. This error was due to an invalid `baseDomain` parameter. As a consequence, cluster administrators recreated the `install-config.yaml` file unnecessarily. With this release, when the installer reports this error the installation progam does not read and process the `install-config.yaml` file. (link:https://issues.redhat.com/browse/OCPBUGS-59430[OCPBUGS-59430])
      Show
      * Before this update, when you installed a cluster on {gcp-short}, the installer read and processed the `install-config.yaml` file even when a fatal error was reported about not finding a matching public DNS zone. This error was due to an invalid `baseDomain` parameter. As a consequence, cluster administrators recreated the `install-config.yaml` file unnecessarily. With this release, when the installer reports this error the installation progam does not read and process the `install-config.yaml` file. (link: https://issues.redhat.com/browse/OCPBUGS-59430 [ OCPBUGS-59430 ])
    • None
    • None
    • None
    • None

      Description of problem:

          Although "create manifests" got fatal error of "no matching public DNS Zone found", the install-config is consumed unexpectedly.

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

          4.20.0-0.nightly-2025-07-15-083124

      How reproducible:

          Always

      Steps to Reproduce:

          1. "create install-config", then edit it to insert invalid baseDomain
          2. "create manifests"
          

      Actual results:

      It tells fatal error, but the install-config got consumed, which is unexpected.     

      Expected results:

          The install-config should stay. 

      Additional info:

          "create cluster" doesn't have the issue. 
      
      $ openshift-install version
      openshift-install 4.20.0-0.nightly-2025-07-15-083124
      built from commit 184b556d7c4840eb5100c669ca1393532d1ea800
      release image registry.ci.openshift.org/ocp/release@sha256:b26476d676c92b7c02c3bdefc957de47310fba337ff73c34f78d259013d6b694
      WARNING Release Image Architecture not detected. Release Image Architecture is unknown 
      release architecture unknown
      default architecture amd64
      $ 
      $ yq-3.3.0 r test7/install-config.yaml platform
      gcp:
        projectID: openshift-qe
        region: us-central1
      $ 
      $ yq-3.3.0 r test7/install-config.yaml baseDomain
      nonexisting.gcp.devcluster.openshift.com
      $ 
      $ openshift-install create cluster --dir test7
      WARNING Release Image Architecture not detected. Release Image Architecture is unknown 
      INFO Credentials loaded from file "~/.gcp/osServiceAccount.json" 
      FATAL failed to fetch Metadata: failed to fetch dependency of "Metadata": failed to fetch dependency of "Bootstrap Ignition Config": failed to fetch dependency of "CVO Ignore": failed to fetch dependency of "Common Manifests": failed to generate asset "DNS Config": failed to get public zone for "nonexisting.gcp.devcluster.openshift.com": no matching public DNS Zone found 
      $ tree test7
      test7
      └── install-config.yaml0 directories, 1 file
      $ 
      $ openshift-install create manifests --dir test7
      WARNING Release Image Architecture not detected. Release Image Architecture is unknown 
      INFO Credentials loaded from file "~/.gcp/osServiceAccount.json" 
      INFO Consuming Install Config from target directory 
      FATAL failed to fetch Common Manifests: failed to fetch dependency of "Common Manifests": failed to generate asset "DNS Config": failed to get public zone for "nonexisting.gcp.devcluster.openshift.com": no matching public DNS Zone found 
      $ 
      $ tree test7
      test7
      ├── cluster-api
      │   └── machines
      │       ├── 10_inframachine_jiwei-0717a-5hx8n-bootstrap.yaml
      │       ├── 10_inframachine_jiwei-0717a-5hx8n-master-0.yaml
      │       ├── 10_machine_jiwei-0717a-5hx8n-bootstrap.yaml
      │       └── 10_machine_jiwei-0717a-5hx8n-master-0.yaml
      └── openshift
          ├── 99_openshift-cluster-api_master-machines-0.yaml
          ├── 99_openshift-cluster-api_master-user-data-secret.yaml
          ├── 99_openshift-cluster-api_worker-machineset-0.yaml
          ├── 99_openshift-cluster-api_worker-machineset-1.yaml
          ├── 99_openshift-cluster-api_worker-machineset-2.yaml
          ├── 99_openshift-cluster-api_worker-machineset-3.yaml
          ├── 99_openshift-cluster-api_worker-user-data-secret.yaml
          ├── 99_openshift-machineconfig_99-master-ssh.yaml
          └── 99_openshift-machineconfig_99-worker-ssh.yaml
      
      3 directories, 13 files
      $ 

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

                Created:
                Updated: