Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1793618

Summary: use `ip=dhcp,dhcp6` by default on kernel command line
Product: OpenShift Container Platform Reporter: Micah Abbott <miabbott>
Component: RHCOSAssignee: Jonathan Lebon <jlebon>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Nguyen <mnguyen>
Severity: high Docs Contact:
Priority: high    
Version: 4.3.0CC: augol, bbreard, dustymabe, imcleod, jlebon, jligon, mcornea, mnguyen, nstielau, sgordon, smilner
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1793591 Environment:
Last Closed: 2020-03-27 13:24:31 UTC Type: ---
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: 1793591    
Bug Blocks: 1771572    

Description Micah Abbott 2020-01-21 17:08:56 UTC
+++ This bug was initially created as a clone of Bug #1793591 +++

In order to properly support the IPv6 requirement in OCP 4.4, RHCOS needs to be able to perform DHCPv4 and DHCPv6 in the initramfs to bootstrap the nodes.

Part of this is achieved via a newer build of `dracut` from BZ#1787620, however we need to change the default kernel command line in RHCOS artifacts to use `ip=dhcp,dhcp6` as well.


This will likely require a change to `coreos-assembler`, for example:

https://github.com/coreos/coreos-assembler/blob/master/src/create_disk.sh#L366


And possibly `ignition-dracut`, for example:

https://github.com/coreos/ignition-dracut/blob/spec2x/grub/02_ignition_firstboot#L13

--- Additional comment from Micah Abbott on 2020-01-21 16:17:23 UTC ---

This might be achieved with a change to the `image.yaml` file that is consumed by `coreos-assembler` for RHCOS and a patch to `ignition-dracut`

Comment 1 Micah Abbott 2020-01-21 17:10:05 UTC
We'll need to backport the changes to RHCOS 4.3 and generate new boot images in a z-stream release.

Comment 2 Jonathan Lebon 2020-01-30 21:24:07 UTC
Hmm, so RHCOS 4.3 is currently on dracut-049-27 (8.1), while 4.4 is on dracut-049-64 (8.2). So this will involve tagging 8.2 dracut into 4.3. Which I think should be fine, but just noting this won't be a minor bump.

Comment 3 Micah Abbott 2020-01-30 21:32:00 UTC
That build is already in the 4.3 candidate tag

```
$ brew list-tags --build=dracut-049-64.git20200123.el8
rhaos-4.3-rhel-8-candidate
rhaos-4.4-rhel-8-candidate
rhel-8.2.0-candidate
rhel-8.2.0-pending
```

We just need to ask ART to generate a signed 4.3 puddle and ensure it lands there

Comment 11 Micah Abbott 2020-03-27 13:24:31 UTC
This change was included in OCP 4.3.8

Customers should seek out the 4.3.8 artifacts on the mirror - https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.3/latest/

Or via the customer portal - https://access.redhat.com/downloads/content/290/ver=4.3/rhel---8/4.3.8/x86_64/product-software