Description of problem:
PEERDNS is set to YES as against NO for Neutron Networker node during Neutron Deployment.
Version-Release number of selected component (if applicable):
During Neutron Deployment puppet will not talk to master since /etc/resolv.conf gets overwritten due to Peerdns setting to yes on public network. This is in an environment where public interface has DHCP as well. Controller and compute nodes are set Peerdns=no and behave correctly.
Steps to Reproduce:
1.Deploy non HA neutron with private and public interface (where public has dhcp as well)
Deployment hangs at 60% for neutron networker since /etc/resolv.conf gets overwritten and puppet client cannot reach puppet master.
/etc/resolv.conf should point to provisioning network name server by setting all non provisioning interfaces to peerdns=no.
I don't think there's a graceful solution for this right now.
In an environment with multiple DHCP servers providing DNS information (in this case, the foreman server and the DCHP server on the external network), you need to use the PEERDNS setting to prevent your resolv.conf from oscillating between information from the two servers.
In our current release, we have settled on using the Foreman host as the default source of DNS information, because this has been most generally useful for testing environments and simple PoC setups.
The way to fix this right now is to edit the %post section of the kickstart to set the PEERDNS flags appropriately for your local environment (by going to Hosts -> Provisioning Templates, selecting the "Kickstart RHEL default" template, looking for the code that sets PEERDNS, and adding your own changes after that point).
This should be addressed by the installer changes to handle network configuration.