Bug 1790819
Summary: | [IPI Baremetal] Coredns (infra pod) Corefile not updated if /etc/resolv.conf changed. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yossi Boaron <yboaron> |
Component: | Machine Config Operator | Assignee: | Yossi Boaron <yboaron> |
Status: | CLOSED ERRATA | QA Contact: | Victor Voronkov <vvoronko> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.4 | CC: | amurdaca, asegurap, augol, kgarriso, kni-bugs, rbartal, rhhi-next-mgmt-qe, scuppett, smilner, stbenjam |
Target Milestone: | --- | ||
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: Coredns infra pod forward DNS requests to servers list appears in /etc/resolv.conf file, in case /etc/resolv.conf file, is changed, the change doesn't reflect coredns Corefile.
Consequence:
Coredns don't forward DNS requests to the list of servers in /etc/resolv.conf
Fix:
Coredns-monitor pod will verify that Cordns forward list is synced with /etc/resolv.conf
Result:
Coredns will forward DNS requests to the list of servers appears in /etc/resolv.conf
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-13 17:13:17 UTC | Type: | Bug |
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: | |||
Bug Blocks: | 1812526 |
Description
Yossi Boaron
2020-01-14 10:05:38 UTC
Antoni, could you or one of the baremetal folks take a look at this? As this has to do with templates (baremetal-coredns.yaml) in the MCO repo, but we don't actually own them... Talked to Brad and he suggested I move this to KNI-Deployment. PR for 4.5 (this BZ) was incorrectly titled w/o the correct "Bug ######:" prefix therefore the bot didn't attach the PR, but it's here https://github.com/openshift/machine-config-operator/pull/1501 Verified on 4.5.0-0.nightly-2020-03-18-115438 [core@master-0 ~]$ cat /var/run/NetworkManager/resolv.conf # Generated by NetworkManager nameserver fe80::5054:ff:fe4f:98a6%enp5s0 nameserver fd2e:6f44:5dd8:c956::1 [core@master-0 ~]$ cat /etc/coredns/Corefile | grep forward forward . fe80::5054:ff:fe4f:98a6%enp5s0 fd2e:6f44:5dd8:c956::1 # added 192.168.123.1 to resolv.conf and after few seconds corefile got updated [core@master-0 ~]$ cat /etc/coredns/Corefile | grep forward forward . fe80::5054:ff:fe4f:98a6%enp5s0 fd2e:6f44:5dd8:c956::1 forward . fe80::5054:ff:fe4f:98a6%enp5s0 fd2e:6f44:5dd8:c956::1 192.168.123.1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409 |