-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OKD-4.4 install, FCOS does not persist NIC settings provided as kernel args #425
Comments
Seems related to #394 |
Yep, RHCOS today carries this code but the intention is that once we have NM in the initrd, NM will honor kernel arguments for the firstboot and subsequent. |
Thanks! I'll monitor the progress. Let me know when there is an FCOS image ready to test. I'll give it a shot. |
We are now using NetworkManager in the initramfs and also propagating network information from the initramfs (kargs) when appropriate, which we think fixes this issue. See #394 (comment) and the preceding discussion for more details. |
Excellent! I will run an OKD deployment with fixed IPs and test it out. |
I will attempt to grab
rpm-ostree status
and post it below.FCOS version: 31.20200210.3.0-metal-x86_64
I am trying to get an OKD-4.4 cluster to bootstrap with 2 NICs in the master and worker nodes. However, FCOS appears to be overriding the IP configuration that I am setting in the iPXE boot file, and reverting the second NIC to DHCP. It is then trying to set a route on the second NIC and is therefore unable to communicate with the bootstrap node. The same configuration will successfully install with just one NIC, (DHCP Reservation on eth0).
The iPXE file is named for the MAC of the primary NIC and has the following kernel config:
During the initial boot, and subsequent install of FCOS it is honoring the ip configuration. But then appears to revert to DHCP for eth1 after performing its first-boot. I have also tried DHCP for eth1 with IP reservations, but it still tries to use it as a route-able network, and thus cannot bootstrap.
Suspect that dracut is not persisting the network config that is provided by the initial kernel args.
I am very new to RHCOS/FCOS so let me know what additional information will be useful.
The text was updated successfully, but these errors were encountered: