Bug 2012855 - [IPv6] rhcos-48.84.202109241901-0 is not taking IPv6 kernel parameters via iPXE
Summary: [IPv6] rhcos-48.84.202109241901-0 is not taking IPv6 kernel parameters via iPXE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RHCOS
Version: 4.8
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
: ---
Assignee: RHCOS Bug Triage
QA Contact: Michael Nguyen
Depends On:
TreeView+ depends on / blocked
Reported: 2021-10-11 13:20 UTC by Pedro Amoedo
Modified: 2021-10-12 06:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-10-11 16:28:28 UTC
Target Upstream Version:

Attachments (Terms of Use)

Comment 1 Luca BRUNO 2021-10-11 14:20:42 UTC
Thanks for the report!

> The nodes are ignoring the IPv6 configuration passed via kernel args, instead, they are setting an fe80:: link-local address on the corresponding interfaces.

I checked the logs for the bootstrap and master nodes, but I didn't see any custom kargs there.
So my understanding is that you are stating here that the kargs *in the PXE-booted environment* are not properly applied, I guess.
But I don't see any logs for that, so it's very hard to understand what's going on. If the problem you are facing stems from the PXE boot, please attach logs for that too.

> Not sure if this is relevant but nodes are showing a more recent RHCOS version (48.84.202110072059-0) that do not match with the same version from the images (rhcos-48.84.202109241901-0), is this expected?

That may be fine. If you are PXE-installing from older RHCOS botimages but using newer OCP content, the nodes will pivot to a matching OS version when joining the cluster.
You can double-check that via `rpm-ostree status` and the journal of `rpm-ostreed.service`, and cross-check the RHCOS version with the details of the OCP payload you are installing.

Comment 2 Pedro Amoedo 2021-10-11 14:39:34 UTC
Thanks for the quick response Luca, appreciated.

Regarding the different RHCOS version, you are right, the nodes simply pivoted to the most recent version via the MCO:

[core@master-00 ~]$ rpm-ostree status
State: idle
● pivot://quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:2cce35e96f85e15ba5537635f4cbf8a1c0cb3d6041c48a19250b2e2c67f27680
              CustomOrigin: Managed by machine-config-operator
                   Version: 48.84.202110072059-0 (2021-10-07T21:02:47Z)

                   Version: 48.84.202109241901-0 (2021-09-24T19:04:29Z)

Regarding the iPXE boot logs, let me check if I can extract more info from the serial console and I'll get back to you ASAP.

Comment 4 Luca BRUNO 2021-10-12 06:49:31 UTC
The problem was a missing "--copy-network" in the custom coreos-installer hook. Not an RHCOS bug, closed.

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