Bug 2077411 - OKD: add cluster domain to the uploaded vm configs so that 30-local-dns-prepender can use it
Summary: OKD: add cluster domain to the uploaded vm configs so that 30-local-dns-prepe...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.10.z
Assignee: Vadim Rutkovsky
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On: 2076880
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-21 10:21 UTC by OpenShift BugZilla Robot
Modified: 2022-05-02 18:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-02 18:39:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 5827 0 None open [release-4.10] Bug 2077411: for vsphere ipi add cluster domain to the uploaded vm configs so that 30-local-dns-prepender... 2022-04-22 12:59:16 UTC
Red Hat Product Errata RHBA-2022:1601 0 None None None 2022-05-02 18:39:27 UTC

Description OpenShift BugZilla Robot 2022-04-21 10:21:16 UTC
+++ This bug was initially created as a clone of Bug #2076880 +++

or vsphere ipi add cluster domain to the uploaded vm configs so that 30-local-dns-prepender can use it

Due to changes in FCOS 35 /etc/nsswitch.conf, we need to move the name resolution of api-int. to
systemd-resolved. The way we do this is by adding a Domain attribute to /etc/systemd/resolved.conf.d/60-kni.conf.

Since we are using a slightly different prepender than the masters and workers the domain is not being
discovered automatically. To address this we are adding the domain in data/data/vsphere/bootstrap/main.tf
which gets uploaded to the bootstrap instance on creation.

30-local-dns-prepender then downloads this information and adds it to /etc/systemd/resolved.conf.d/60-kni.conf

Comment 5 Vadim Rutkovsky 2022-04-28 09:33:22 UTC
Verified that vSphere install no longer gets stuck on bootstrap with invalid search in resolv.conf

Comment 7 errata-xmlrpc 2022-05-02 18:39:21 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.10.12 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-2022:1601


Note You need to log in before you can comment on or make changes to this bug.