Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Hello,
several Satellite customers reported to us that PXE booting RHEL 8.3 is no longer possible. We have observed that Anaconda/dracut no longer configures network on multiple NICs. Example PXELinux configuration:
LABEL installer
MENU LABEL installer
KERNEL BOOT/RHEL_8_3_105_VMLINUZ
APPEND initrd=BOOT/RHEL_8_3_105_INITRD_IMG ks=http://satellite.example.com/unattended/provision?token=81bee514-b909-497a-8268-xxxxxxxxx network ksdevice=bootif ks.device=bootif BOOTIF=00-00-50-56-80-8e-1c kssendmac ks.sendmac inst.ks.sendmac
IPAPPEND 2
Installation stops as kickstart cannot be downloaded, the system halts and network is not available. The only workaround is to remove 00- from the BOOTIF option and remove IPAPPEND 2 statement which adds the same.
LABEL installer
MENU LABEL installer
KERNEL BOOT/RHEL_8_3_105_VMLINUZ
APPEND initrd=BOOT/RHEL_8_3_105_INITRD_IMG ks=http://satellite.example.com/unattended/provision?token=81bee514-b909-497a-8268-xxxxxxxxx network ksdevice=bootif ks.device=bootif BOOTIF=00-50-56-80-8e-1c kssendmac ks.sendmac inst.ks.sendmac
The relevant dracut code haven't changed for quite some time, so I wonder what caused this regression:
https://github.com/dracutdevs/dracut/blame/master/modules.d/40network/net-lib.sh#L223-L234
Thanks
Comment 2Joniel Pasqualetto
2020-12-03 14:50:58 UTC
I have slightly different observations.
Actually, when booting via PXE it works fine. The problem is when we use other method to load the kernel to start the installation.
When booting via pxe, the ipappend 2 does its job adding a proper BOOTIF parameter, using 01- as hardware type. And it works.
However, when we try to load the kernel without having network (using a boot disk, for example) and we pass the BOOTIF option using 00- as hardware type, then it's when it breaks.
Valid workarounds I found:
1. Do not specify a hardware type at all (BOOTIF=<mac>)
2. Specify 01 as hardware type: (BOOTIF=01-<mac>)
This used to work (until RHEL 8.2) using 00- as hardware type (the default value used in Satellite templates).
If PXE workflow is not affected, it's definitely not that bad (only bootdisk is affected). I am still syncing RHEL 8.3 I had to start over two times due to some bugs on my Satellite setup. I will confirm tomorrow. Thanks.
This actually appear to be misconfiguration in Satellite, we have been hardcoding hardware type 00 for many years while on Ethernet it should be 01. There are other types as well which are not widely popular, so good approach would be to make this a configurable option (a host param). But we would still like to know why this was changed now, in 8.3.
I just learned that Joniel already confirms that BOOTIF=AA-BB-CC-DD-EE-FF is accepted, so we need to implement this in Satellite for non-PXE workflows. Therefore no changes required, if you can investigate why this happened that would be enough.
Comment 16Beniamino Galvani
2020-12-23 13:52:50 UTC
Hi,
the analysis above is correct, the NM generator in initrd doesn't
understand a "00" hardware type for the BOOTIF option. It accepts only
a "01" type or no type:
$ /usr/libexec/nm-initrd-generator --stdout -- BOOTIF=99-88-77-66-55-44
*** Connection 'default_connection' ***
[...]
$ /usr/libexec/nm-initrd-generator --stdout -- BOOTIF=01-99-88-77-66-55-44
*** Connection 'default_connection' ***
[...]
$ /usr/libexec/nm-initrd-generator --stdout -- BOOTIF=00-99-88-77-66-55-44
802-3-ethernet.mac-address: '00-99-88-77-66-55-44' is not a valid MAC address
I opened a merge request to also support "00":
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/713
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 (Moderate: NetworkManager and libnma security, bug fix, and enhancement 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/RHSA-2021:1574