Bug 1840301

Summary: [IPI baremetal]: Nodes become NotReady when coredns rendering produces invalid configuration
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: InstallerAssignee: Beth White <beth.white>
Installer sub component: OpenShift on Bare Metal IPI QA Contact: Amit Ugol <augol>
Status: CLOSED DUPLICATE Docs Contact:
Severity: urgent    
Priority: urgent CC: bfournie
Version: 4.5   
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 17:04:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1840222, 1841255    
Bug Blocks:    

Description OpenShift BugZilla Robot 2020-05-26 17:21:13 UTC
+++ This bug was initially created as a clone of Bug #1840222 +++

In CI, we're seeing sometimes that /etc/coredns/Coredns gets rendered without forwarders:

[root@master-1 ~]# cat /etc/coredns/Corefile      
. {
    errors
    health :18080
    mdns ostest.test.metalkube.org 0 ostest
    forward .
    cache 30
    reload
    hosts {
        fd2e:6f44:5dd8:c956::5 api-int.ostest.test.metalkube.org
        fd2e:6f44:5dd8:c956::5 api.ostest.test.metalkube.org
        fallthrough
    }
    template IN A ostest.test.metalkube.org {
        match .*.apps.ostest.test.metalkube.org
        answer "{{ .Name }} 60 in a fd2e:6f44:5dd8:c956::4"
        fallthrough
    }
}

And Coredns refuses to start:

[root@master-1 ~]# sudo crictl logs ca13312378976
plugin/forward: /etc/coredns/Corefile:5 - Error during parsing: Wrong argument count or unexpected line ending after '.'


When this happens, the node becomes NotReady. This seems to be the source of many of the 4.5 failures in CI for e2e-metal-ipi.

Comment 1 Beth White 2020-06-02 16:12:26 UTC

*** This bug has been marked as a duplicate of bug 1840222 ***

Comment 2 Bob Fournier 2020-12-15 17:04:54 UTC

*** This bug has been marked as a duplicate of bug 1840222 ***