Bug 2058789

Summary: On-prem prepender dispatcher script overwrites DNS search settings
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Machine Config OperatorAssignee: Christoph Stäbler <cstabler>
Machine Config Operator sub component: platform-baremetal QA Contact: Aleksandra Malykhin <amalykhi>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: aos-bugs, cstabler, m.andre, pibanezr, rupatel, tsedovic, vpickard
Version: 4.10   
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-16 11:30:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 2058511    
Bug Blocks: 2059724    

Comment 4 Aleksandra Malykhin 2022-03-09 13:31:34 UTC
Verified on kubernetes-nmstate-operator.4.8.0-202202152218   

Cluster version is 4.8.34

[kni@provisionhost-0-0 ~]$ oc apply -f dns.yaml 
[kni@provisionhost-0-0 ~]$ oc get nncp
yodns   SuccessfullyConfigured

[core@worker-0-0 ~]$ cat /etc/resolv.conf
# Generated by KNI resolv prepender NM dispatcher script
search ocp-edge-cluster-0.qe.lab.redhat.com example.com

Comment 6 errata-xmlrpc 2022-03-16 11:30:10 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 (OpenShift Container Platform 4.8.34 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.