Bug 1691554 - [OSP10] RHEL 7.6 Overcloud images contain nameserver 192.168.122.1
Summary: [OSP10] RHEL 7.6 Overcloud images contain nameserver 192.168.122.1
Keywords:
Status: CLOSED DUPLICATE of bug 1673164
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director-images
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Steve Linabery
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-21 21:46 UTC by Alberto Rivera Laporte
Modified: 2019-03-27 13:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-27 13:25:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.