Bug 1967355
Summary: | vsphere IPI - local dns prepender is not prepending nameserver 127.0.0.1 | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
Component: | Installer | Assignee: | aos-install |
Installer sub component: | openshift-installer | QA Contact: | jima |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | mstaeble |
Version: | 4.7 | ||
Target Milestone: | --- | ||
Target Release: | 4.7.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: The bootstrap machine when installing to vSphere may not get its /etc/resolv.conf updated to include 127.0.0.1 as a nameserver.
Consequence: The bootstrap machine is unable to access the temporary control plane that it creates. This results in a failed installation.
Fix: Adjust the 30-local-dns-prepender NetworkManager dispatcher so that the sed command more reliably finds the line after which to add the nameserver line.
Result: The bootstrap machine is able to access its temporary control plane, and the installation succeeds.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-06-29 04:19:45 UTC | Type: | --- |
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: | 1966862 | ||
Bug Blocks: |
Description
OpenShift BugZilla Robot
2021-06-03 00:55:30 UTC
The issue is happened when using pfSense to provide DHCP and DNS services per https://bugzilla.redhat.com/show_bug.cgi?id=1966862#c5, while QE don't have such env. I did regression testing on nightly build 4.7.0-0.nightly-2021-06-12-151209 with the fix on VMC. On bootstrap server: # cat /etc/NetworkManager/dispatcher.d/30-local-dns-prepender | grep sed sed -i "/^# Generated by/a nameserver $DNS_IP" /etc/resolv.conf # cat /etc/resolv.conf # Generated by NetworkManager nameserver 127.0.0.1 search us-west-2.compute.internal nameserver 10.3.192.12 Finally, bootstrap server has been removed successfully, and cluster installation is completed. $ ./openshift-install create cluster --dir ipi1 --log-level debug ...... ...... INFO Install complete! INFO To access the cluster as the system:admin user when using 'oc', run 'export KUBECONFIG=/home/jima/temp/4.7.0-0.nightly-2021-06-12-151209/ipi1/auth/kubeconfig' INFO Access the OpenShift web-console here: https://console-openshift-console.apps.jima1967355.qe.devcluster.openshift.com INFO Login to the console with user: "kubeadmin", and password: "pg7NN-oRvf9-VFrvN-AYcYW" DEBUG Time elapsed per stage: DEBUG Infrastructure: 1m42s DEBUG Bootstrap Complete: 11m50s DEBUG API: 2m15s DEBUG Bootstrap Destroy: 18s DEBUG Cluster Operators: 18m18s INFO Time elapsed: 33m23s According to https://bugzilla.redhat.com/show_bug.cgi?id=1966862#c5 and my testing, move bug to VERIFIED. OpenShift engineering has decided to not ship Red Hat OpenShift Container Platform 4.7.17 due a regression https://bugzilla.redhat.com/show_bug.cgi?id=1973006. All the fixes which were part of 4.7.17 will be now part of 4.7.18 and planned to be available in candidate channel on June 23 2021 and in fast channel on June 28th. 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.7.18 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. https://access.redhat.com/errata/RHBA-2021:2502 |