Bug 1691554

Summary: [OSP10] RHEL 7.6 Overcloud images contain nameserver 192.168.122.1
Product: Red Hat OpenStack Reporter: Alberto Rivera Laporte <ariveral>
Component: rhosp-director-imagesAssignee: Steve Linabery <slinaber>
Status: CLOSED DUPLICATE QA Contact: Sasha Smolyak <ssmolyak>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: ariveral, cmuresan, sbaker
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
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-03-27 13:25:30 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 Alberto Rivera Laporte 2019-03-21 21:46:18 UTC
Description of problem:

The overcloud director images for Red Hat OpenStack 10 - Maintenance Release 16 contain a hard-coded nameserver in the /etc/resolv.conf.  This presents an issue when deploying an overcloud as it results on delays with ssh connectivity into the overcloud nodes once deployed.  This issue also results in slow dns resolution as the 'correct' dns server(s) are appended to the /etc/resolv.conf during deployment. 


Version-Release number of selected component (if applicable):

rhosp-director-images-10.0-20190103.1.el7ost.noarch


How reproducible: Always


Steps to reproduce below:


--------------------------------------------------------------
[stack@stn3-osp-dir01 debug]$ rpm -qf /usr/share/rhosp-director-images/overcloud-full-10.0-20190103.1.el7ost.tar
rhosp-director-images-10.0-20190103.1.el7ost.noarch


[stack@stn3-osp-dir01 debug]$ tar -C . -xvf /usr/share/rhosp-director-images/overcloud-full-10.0-20190103.1.el7ost.tar
overcloud-full.qcow2
overcloud-full.initrd
overcloud-full.vmlinuz

[stack@stn3-osp-dir01 debug]$ virt-cat -a ./overcloud-full.qcow2 /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.122.1
--------------------------------------------------------------


The current workaround to fix this issue is for the manual customization of the image using virt-customize or guestfish to remove that hard-coded dns entry from /etc/resolv.conf.

Comment 1 Steve Linabery 2019-03-27 13:25:30 UTC

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