Bug 1793618 - use `ip=dhcp,dhcp6` by default on kernel command line
Summary: use `ip=dhcp,dhcp6` by default on kernel command line
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RHCOS
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3.z
Assignee: Jonathan Lebon
QA Contact: Michael Nguyen
URL:
Whiteboard:
Depends On: 1793591
Blocks: 1771572
TreeView+ depends on / blocked
 
Reported: 2020-01-21 17:08 UTC by Micah Abbott
Modified: 2020-03-27 13:24 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1793591
Environment:
Last Closed: 2020-03-27 13:24:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 3101 0 None closed Bug 1793618: Bump RHCOS to 43.81.202002131553.0 2020-12-13 23:11:58 UTC

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


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