Bug 2008823

Summary: OCP 4.8 BM IPI (ipv6 only) install fails with no ip assigned to bootstrap machine if there's no DHCP6 pool configured
Product: OpenShift Container Platform Reporter: Abhijeet Sadawarte <asadawar>
Component: InstallerAssignee: Steven Hardy <shardy>
Installer sub component: OpenShift on Bare Metal IPI QA Contact: Victor Voronkov <vvoronko>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: dmoessne, jmalde, shardy, vvoronko
Version: 4.8Keywords: Triaged, UpcomingSprint
Target Milestone: ---   
Target Release: 4.8.z   
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: 2021-10-27 08:15:28 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: 1972524    
Bug Blocks:    

Description Abhijeet Sadawarte 2021-09-29 09:25:33 UTC
$ openshift-install version
4.8.9

Platform: BM IPI 

What happened?
If there's no DHCP6 pool configured for cluster machines, the bootstrap VM does not get the IPv6 IP address since the below two NM fields are not configured by default:

~~~
ipv6.dhcp-duid:                         
ipv6.dhcp-iaid: 
~~~

Anything else we need to know?

It appears that the bootstrap vm fix is landed in OCP 4.9:

~~~
https://github.com/openshift/machine-config-operator/blob/master/templates/common/on-prem/files/NetworkManager-onprem.conf.yaml#L9..L10

https://github.com/openshift/installer/blob/master/data/data/bootstrap/baremetal/files/etc/NetworkManager/conf.d/99-baremetal.conf
~~~

Comment 1 Steven Hardy 2021-09-29 09:57:31 UTC
This was fixed via https://github.com/openshift/installer/pull/5110 - I'll backport it since it's only fixed since 4.9

Comment 14 errata-xmlrpc 2021-10-27 08:15:28 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.8.17 bug fix update), 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-2021:3927