Bug 1872806

Summary: [BM][IPI] Deployment failed while reaching registry
Product: OpenShift Container Platform Reporter: Yurii Prokulevych <yprokule>
Component: NetworkingAssignee: Antoni Segura Puimedon <asegurap>
Networking sub component: runtime-cfg QA Contact: Aleksandra Malykhin <amalykhi>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: high CC: mcornea, rbartal, sasha
Version: 4.6Keywords: Triaged
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1873207 (view as bug list) Environment:
Last Closed: 2020-10-27 16:34:32 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:
Bug Depends On:    
Bug Blocks: 1873207    

Comment 2 Antoni Segura Puimedon 2020-08-27 13:37:48 UTC
How reproducible:
-----------------
100%


Steps to Reproduce:
-------------------
1. Deploy disconnected BM IPI cluster with provisioning network IPv4 and baremetal network IPv6


Actual results:
---------------
Deployment failed


Expected results:
-----------------
Deployment succeeded


Additional info:
----------------
The upstream DNS server received via DHCP is later added to the /etc/resolv.conf

The possible race is here: https://github.com/openshift/machine-config-operator/blob/master/templates/common/baremetal/files/NetworkManager-resolv-prepender.yaml#L29

when we do connection down ; connection up /var/run/NetworkManager/resolv.conf is empty; adding a 3 sec delay before and DNS server received via DHCP is there.

Comment 3 Antoni Segura Puimedon 2020-08-27 15:40:41 UTC
Waiting for the content seems to help

Comment 6 Aleksandra Malykhin 2020-09-29 15:25:06 UTC
Verified on the OCP image 4.6.0-0.nightly-2020-09-24-162403

Steps to Reproduce:
-------------------
1. Deploy disconnected BM IPI cluster with provisioning network IPv4 and baremetal network IPv6

Result: The deploy succeeded

Comment 9 errata-xmlrpc 2020-10-27 16:34:32 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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196