Description of problem:
The worker template writes out the file as /etc/dhcp/dhclient.conf.template
with no subsequent render-config templating to create the actual
/etc/dhcp/dhclient.conf - this differs from the masters where we write out the dhclient.conf correctly.
Steps to Reproduce:
1. Deploy IPI baremetal environment with at least one worker
2. Observe the /etc/dhcp/dhclient.conf is not written with the "supersede domain-search" option pointing to the cluster domain
The expected file is written out as /etc/dhcp/dhclient.conf.template
/etc/dhcp/dhclient.conf should be written so it includes the domain-search option, and then the search entry in the resolv.conf will be correctly added.
cc: mcornea for possible QA; it looks like this IS legitimately testable in 4.4 even without working IPv6
Verified on 4.4.0-0.nightly-2020-02-07-203942:
[root@worker-0 core]# cat /etc/dhcp/dhclient.conf
supersede domain-search "ocp-edge-cluster.qe.lab.redhat.com";
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.