Bug 1840301 - [IPI baremetal]: Nodes become NotReady when coredns rendering produces invalid configuration
Summary: [IPI baremetal]: Nodes become NotReady when coredns rendering produces invali...
Keywords:
Status: CLOSED DUPLICATE of bug 1840222
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.5
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.4.z
Assignee: Beth White
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On: 1840222 1841255
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-26 17:21 UTC by OpenShift BugZilla Robot
Modified: 2020-12-15 17:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 17:04:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.