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

[Custom DNS] Failed to generate coredns.yaml manifest

XMLWordPrintable

    • Critical
    • No
    • Sprint 249
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required

      Description of problem:

      Bootstrap process failed due to coredns.yaml manifest generation issue:
      
      Feb 04 05:14:34 yunjiang-p2-2r2b2-bootstrap bootkube.sh[11219]: I0204 05:14:34.966343       1 bootstrap.go:188] manifests/on-prem/coredns.yaml
      Feb 04 05:14:34 yunjiang-p2-2r2b2-bootstrap bootkube.sh[11219]: F0204 05:14:34.966513       1 bootstrap.go:188] error rendering bootstrap manifests: failed to execute template: template: manifests/on-prem/coredns.yaml:34:32: executing "manifests/on-prem/coredns.yaml" at <onPremPlatformAPIServerInternalIPs .ControllerConfig>: error calling onPremPlatformAPIServerInternalIPs: invalid platform for API Server Internal IP
      Feb 04 05:14:35 yunjiang-p2-2r2b2-bootstrap systemd[1]: bootkube.service: Main process exited, code=exited, status=255/EXCEPTION
      Feb 04 05:14:35 yunjiang-p2-2r2b2-bootstrap systemd[1]: bootkube.service: Failed with result 'exit-code'.
      
          

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

      4.15.0-0.nightly-2024-02-03-192446
      4.16.0-0.nightly-2024-02-03-221256
          

      How reproducible:

      Always
          

      Steps to Reproduce:

          1. 1. Enable custom DNS on GCP: platform.gcp.userProvisionedDNS:Enabled and featureSet:TechPreviewNoUpgrade
          2.
          3.
          

      Actual results:

      coredns.yaml can not be generated, bootstrap failed.
          

      Expected results:

      Bootstrap process succeeds.
          

      Additional info:

          

            sdasu@redhat.com Sandhya Dasu
            yunjiang-1 Yunfei Jiang
            Yunfei Jiang Yunfei Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: