Bug 1866534
Summary: | local-dns-prepender fails to preserve its DNS changes | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Michael Hrivnak <mhrivnak> |
Component: | Installer | Assignee: | Beth White <beth.white> |
Installer sub component: | OpenShift on Bare Metal IPI | QA Contact: | Omri Hochman <ohochman> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | sasha, stbenjam |
Version: | 4.5 | Keywords: | Triaged |
Target Milestone: | --- | ||
Target Release: | 4.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previously, when an interface obtained a new dhcp4 or dhcp6 lease, it was possible that the resolv.conf would not be updated by the local-dns-prepender to include all the required resolvers for the cluster. Now, "dhcp4-change" and "dhcp6-change" action types trigger the local-dns-prepender for on-premise platforms.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 16:25:04 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: |
Description
Michael Hrivnak
2020-08-05 20:06:10 UTC
Pull request: https://github.com/openshift/installer/pull/4015 Verified: Version: 4.6.0-0.nightly-2020-08-31-220837 Checked with dhcp lease-time set to 2 minutes. Deployed the OCP cluster with assisted-installer. The deployment of masters completed successfully and the bootstrap host was pivoted successfully into a master. Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 DHCPREQUEST(eno2) 10.19.134.3 98:03:9b:61:7c:21 Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 tags: known, eno2 Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 DHCPACK(eno2) 10.19.134.3 98:03:9b:61:7c:21 openshift-master-1 Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 requested options: 1:netmask, 2:time-offset, 6:dns-server, 12:hostname, Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 requested options: 15:domain-name, 26:mtu, 28:broadcast, 121:classless-static-route, Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 requested options: 3:router, 33:static-route, 40:nis-domain, Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 requested options: 41:nis-server, 42:ntp-server, 119:domain-search, Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 requested options: 249, 252, 17:root-path Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 next server: 10.19.134.1 Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 sent size: 1 option: 53 message-type 5 Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 sent size: 4 option: 54 server-identifier 10.19.134.1 Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 sent size: 4 option: 51 lease-time 2m Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 sent size: 4 option: 58 T1 55s Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 sent size: 4 option: 59 T2 1m40s Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 sent size: 4 option: 1 netmask 255.255.255.128 Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 sent size: 4 option: 28 broadcast 10.19.134.127 Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 sent size: 30 option: 15 domain-name qe1.kni.lab.eng.bos.redhat.com Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 sent size: 18 option: 12 hostname openshift-master-1 Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 sent size: 12 option: 6 dns-server 10.19.42.41, 10.11.5.19, 10.5.30.160 Sep 30 11:46:57 r640-u01.qe1.kni.lab.eng.bos.redhat.com dnsmasq-dhcp[27062]: 206316558 sent size: 4 option: 3 router 10.19.134.126 the above is from dnsmasq log on the dhcp server (provided by dnsmasq) Note the lease time set to 2m at the end: dhcp[27062]: 206316558 sent size: 4 option: 51 lease-time 2m 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.6 GA Images), 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:4196 |