Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1765518

Summary: [IPI][OSP] DNS servers on tenant network
Product: OpenShift Container Platform Reporter: Luis Arizmendi <larizmen>
Component: InstallerAssignee: egarcia
Installer sub component: OpenShift on OpenStack QA Contact: David Sanz <dsanzmor>
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: eduen
Version: 4.2.0   
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-13 18:25:55 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 Luis Arizmendi 2019-10-25 10:29:29 UTC
Description of problem:

You cannot configure dns servers for the autocreated tenant network so in case that you don't have NeutronEnableInternalDNS: true or DNS servers configured under the param NeutronDhcpAgentDnsmasqDnsServers in your overcloud configuration, the VMs (first the bootstrap) won't get a valid DNS server that can resolve, for example quay.io unless you configure manually the dns servers on that neutron subnet.

Since this depends on the underlying OpenStack we would need to either bring that configuration option or just explain this in the DOCs



Version-Release number of the following components:
rpm -q openshift-ansible
rpm -q ansible
ansible --version

How reproducible:
always

Steps to Reproduce:
1.Install OCP 4.2 using IPI OSP without dns servers added to the subnet 

Actual results:
bootstrap cannot access quay.io since it cannot resolve the name

Expected results:
You have a valid dns server configured in the VMs 

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 2 Tomas Sedovic 2019-10-25 15:04:53 UTC
This pull request adds the `externalDNS` option for exactly this situation: https://github.com/openshift/installer/pull/2132

I'm moving this BZ to Emilio Garcia who is the author of that pull request.

Comment 3 Eric Duen 2019-11-13 18:25:55 UTC

*** This bug has been marked as a duplicate of bug 1734539 ***