+++ This bug was initially created as a clone of Bug #2041765 +++
Customer Contact Name:
Description of Problem:
IPI failed during iPXE boot because IRONIC_KERNEL_PARAMS does not contain coreos_kernel_params in inspector.ipxe file.
To boot the coreos IPA, there are some coreos related kernel params need to be set, and they are passed to the bare metal servers through IRONIC_KERNEL_PARAMS.
During iPXE boot, IRONIC_KERNEL_PARAMS is set in inspector.ipxe file which is rendered by the runhttpd script and currently coreos_kernel_params are not contained.
This is because coreos_kernel_params will only be added into IRONIC_KERNEL_PARAMS if rootfs file exists, but the rootfs file is downloaded by the coreos-downloader which is currently started after the runhttpd script executed.
Version-Release number of selected component:
This issue was detected in the Pre-GA version.
Red Hat OpenShift Container Platform Version Number: 4.10
Release Number: 4.10.0-0.nightly-2021-12-20-231053
Kubernetes Version: 1.22.1
Cri-o Version: 1.23.0
Related Component: NONE
Related Middleware/Application: irmc
Underlying RHCOS Release Number: 4.10
Underlying RHCOS Architecture: x86_64
Underlying RHCOS Kernel Version: 4.18.0
Drivers or hardware or architecture dependency:
Step to Reproduce:
$ openshift-install --dir ~/clusterconfigs create manifests
$ openshift-install --dir ~/clusterconfigs --log-level debug create cluster
IPA can not be booted and IPI fails
IPA can be booted correctly
Summary of actions taken to resolve issue:
Fujitsu sent PR: https://github.com/openshift/installer/pull/5541
Location of diagnostic data:
Model: RX2540 M4
Fujitsu confirmed that IPI worked correctly with the latest nightly which contains PR5588.
Fix succesfully verified.
[kni@provisionhost-0-0 ocp-edge-auto]$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.11.0-0.nightly-2022-03-15-223029 True False 12m Cluster version is 4.11.0-0.nightly-2022-03-15-223029
[kni@provisionhost-0-0 ocp-edge-auto]$ oc --dir ~/clusterconfigs create manifests
[kni@provisionhost-0-0 ocp-edge-auto]$ ~/openshift-baremetal-install --dir ~/clusterconfigs create manifests
INFO Manifests created in: /home/kni/clusterconfigs/manifests and /home/kni/clusterconfigs/openshift
No failure in IPI
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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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.