Problem: There is a 5 second delay when sshing to overcloud nodes due to resolv.conf containing nameserver 192.168.122.1 which is not valid for the deployment. This can cause issues when deploying as it adds delays when trying to perform some deployment actions. Cause: This delay stems from a change to the way ifup-post was updated for RHEL7.5 in which the nameservers from the overcloud images are no longer being cleared out. See https://bugzilla.redhat.com/show_bug.cgi?id=1543580#c15 Possible fix: Remove nameserver 192.168.122.1 from the shipped overcloud images.
*** Bug 1561688 has been marked as a duplicate of this bug. ***
This also affects OSP12 deployments. Will new overcloud images with clean resolve.conf be released for OSP12 ?
It was backported upstream. I'll create a bug to check for 12.
Unable to reproduce : (undercloud) [stack@undercloud75 bm-upgrade-tests]$ rpm -qa | grep images rhosp-director-images-ipa-13.0-20180426.1.el7ost.noarch rhosp-director-images-13.0-20180426.1.el7ost.noarch (undercloud) [stack@undercloud75 bm-upgrade-tests]$ ssh heat-admin.0.14 The authenticity of host '192.168.0.14 (192.168.0.14)' can't be established. ECDSA key fingerprint is SHA256:8b5enYcxy5RBXUqROLPQRcW3WEGB45d/6LQQ31aBhUE. ECDSA key fingerprint is MD5:95:b3:03:ed:84:46:fe:61:bf:77:72:2c:8e:af:a5:6c. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.0.14' (ECDSA) to the list of known hosts. [heat-admin@overcloud-cephstorage-1 ~]$ sudo su - [root@overcloud-cephstorage-1 ~]# cat /etc/resolv.conf ; Created by cloud-init on instance boot automatically, do not edit. ; # Generated by NetworkManager nameserver 10.16.36.29
manual sanity check verified $ guestfish -a overcloud-full.qcow2 run : mount /dev/sda / : cat /etc/resolv.conf # Generated by NetworkManager for overcloud-full-13.0-20180502.1.x86_64
We have '192.168.122.1' in resolv.conf in overcloud image for RHOSP 12: ~~~ [root@thinkpad ~]# guestfish --ro -a overcloud-full.qcow2 Welcome to guestfish, the guest filesystem shell for editing virtual machine filesystems and disk images. Type: 'help' for help on commands 'man' to read the manual 'quit' to quit the shell ><fs> run ><fs> list-filesystems /dev/sda: xfs ><fs> mount-ro /dev/sda / ><fs> cat /etc/resolv.conf # Generated by NetworkManager nameserver 192.168.122.1 ~~~
OSP12 is being tracked by https://bugzilla.redhat.com/show_bug.cgi?id=1568151
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. https://access.redhat.com/errata/RHEA-2018:2083