Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1812526

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 OperatorAssignee: Yossi Boaron <yboaron>
Status: CLOSED ERRATA QA Contact: Victor Voronkov <vvoronko>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4CC: amurdaca, smilner, vvoronko
Target Milestone: ---   
Target Release: 4.4.0   
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-05-04 11:45:48 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: 1790819    
Bug Blocks:    

Description Yossi Boaron 2020-03-11 14:03:17 UTC
Description of problem:
Duplicate https://bugzilla.redhat.com/show_bug.cgi?id=1790819 

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 8 Victor Voronkov 2020-03-27 14:12:31 UTC
Verified on 4.4.0-0.nightly-2020-03-27-042715

[core@master-0 ~]$ cat /var/run/NetworkManager/resolv.conf 
# Generated by NetworkManager
search ocp-edge-cluster.qe.lab.redhat.com
nameserver 192.168.123.1

[core@master-0 ~]$ cat /etc/coredns/Corefile | grep forward
    forward . 192.168.123.1

added to resolv.conf a line:
nameserver 172.22.0.2

[core@master-0 ~]$ cat /etc/coredns/Corefile | grep forward
    forward . 192.168.123.1
[core@master-0 ~]$ cat /etc/coredns/Corefile | grep forward
    forward . 192.168.123.1
[core@master-0 ~]$ cat /etc/coredns/Corefile | grep forward
    forward . 192.168.123.1
[core@master-0 ~]$ cat /etc/coredns/Corefile | grep forward
    forward . 192.168.123.1 172.22.0.2

Comment 10 errata-xmlrpc 2020-05-04 11:45:48 UTC
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:0581