Problem:
I’m trying to pxe boot, using pxelinux servers that have LACP 802.3ad link aggregation. We have LACP fallback setup on the switches so that they can use DHCP/PXE boot. For some reason from Foreman I can boot Ubuntu 20.04, 22.04, CentOS 7 and everything works, but when I try and boot something like RockyLinux 8.8/9.2, or AlmaLinux 8.8/9.2 the bond doesn’t seem to be setup correctly by anaconda, or the network line in the kickstart file. Often it seems to just hang at:
bond0: link becomes ready
[ OK ] Started cancel waiting for multipath siblings of sda.
On rare occasions it progresses past this, but then the kickstart software selection screen stops saying software selection and networking is down. So seems like the networking fails in the initrd stage setting up the bond.
In our DHCP server, I only have a DHCP/MAC reservation setup for the first ports MAC address in the LACP bond.
Here is my pxelinux file:
# This file was deployed via 'Custom - Kickstart default PXELinux' template
DEFAULT menu
MENU TITLE Booting into OS installer (ESC to stop)
TIMEOUT 100
ONTIMEOUT installer
LABEL installer
MENU LABEL Custom - Kickstart default PXELinux
KERNEL boot/rocky-linux-mcRLHul6xZTR-vmlinuz
APPEND initrd=boot/rocky-linux-mcRLHul6xZTR-initrd.img BOOTIF=01-55-44-44-a1-38-fe ks=http://foreman-servername.domain.local/unattended/provision?token=45f7a87f-1714-sdf9-8eeb-2983fcc0c1d9 kssendmac ks.sendmac ip=dhcp nameserver=10.0.1.10 bond=bond0:eno1,eno2:mode=802.3ad,miimon=100,lacp_rate=fast,xmit_hash_policy=layer2+3
IPAPPEND 2
Here is the relevant section of the kickstart file for networking:
network --device=bond0 --hostname myhostname.domain.local --noipv6 --bootproto dhcp --mtu=1500 --bondslaves=eno1,eno2 --bondopts=mode=802.3ad,miimon=100,lacp_rate=fast,xmit_hash_policy=layer2+3 --nameserver=10.0.1.10
Expected outcome:
Would expect that RHEL 8/9 based OSs would setup lacp bond correctly, and kickstart would progress. Very strange that it is working with CentOS 7, but not newer RHEL based OSs.
Foreman and Proxy versions:
3.6.1 with Katello