Bug 1225477

Summary: dns_nameservers for provisioning network set to on baremetal env
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: instack-undercloudAssignee: James Slagle <jslagle>
Status: CLOSED ERRATA QA Contact: Marius Cornea <mcornea>
Severity: high Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: calfonso, gfidente, jslagle, mburns, rhel-osp-director-maint, rhos-flags
Target Milestone: gaKeywords: Triaged
Target Release: Director   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: instack-undercloud-2.1.2-4.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:52:03 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:
Description Flags
instack network settings none

Description Marius Cornea 2015-05-27 13:06:07 UTC
Created attachment 1030555 [details]
instack network settings

Description of problem:
The dns_nameservers for the provisioning network on the undercloud is set to within a baremetal environment which breaks name resolution on overcloud nodes. 

Version-Release number of selected component (if applicable):
[stack@bldr16cc09 ~]$ rpm -qa | grep tripleo

How reproducible:

Steps to Reproduce:
1. install undercloud
2. neutron net-list
3. neutron subnet-show <subnet_id>

Actual results:
dns_nameservers set to

Expected results:
We should be able to provide DNS servers in the instack.answers file so overcloud nodes get a valid DNS server via DHCP on the provisioning network.

Additional info:
I'm attaching my instack.answers file and out of network related settings.

Comment 4 James Slagle 2015-06-23 13:56:31 UTC
merged: https://code.engineering.redhat.com/gerrit/#/c/51373/
built: instack-undercloud-2.1.2-3.el7ost

Comment 6 Marius Cornea 2015-06-29 09:07:11 UTC
Where should we set the dns server(s)? I don't see anything related in undercloud.conf but I might be missing something. Thanks

Comment 7 Giulio Fidente 2015-06-30 13:50:37 UTC
Marius, can you confirm your overcloud dns is not pointing to anymore though? (but to the neutron managed dnsmasq running in the undercloud)

Comment 8 Marius Cornea 2015-06-30 14:46:51 UTC
Confirmed, overcloud resolv.conf contains the ip address set on the dhcp namespace on the undercloud.

Comment 9 James Slagle 2015-07-09 16:42:21 UTC
(In reply to Marius Cornea from comment #6)
> Where should we set the dns server(s)? I don't see anything related in
> undercloud.conf but I might be missing something. Thanks

you set the dns servers by running a neutron subnet-update command prior to deploying the overcloud. this is included in the documentation.

Comment 11 errata-xmlrpc 2015-08-05 13:52:03 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.