-
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 with multiple NIC settings provided as kernel args #438
Comments
This looks like it is a bug (or maybe feature 😄) in the installer where it doesn't consider that there are some dracut networking args where it is valid to specify them more than once. @bgilbert should we modify the code to handle multiple args for the dracut networking args that support it? |
A workaround for now would be to specify the networking configuration via files delivered by Ignition (though you'd still have to specify it as a karg for at least one interface so you could download the Ignition config from the remote). A head start on creating the config files is doing something like:
so you'd create two files via Ignition or fcct. Something like:
|
Thanks @dustymabe I'll try the ignition files while you guys work on this. I need to learn more of that ecosystem anyway since I'm new to FCOS/RHCOS. We'll call it a feature for now. ;-) That's so much more optimistic. |
Yup, it's a bug: coreos/coreos-installer#156. PR in coreos/coreos-installer#195. |
This was fixed upstream in coreos/coreos-installer#228. The fix for this went into testing stream release |
Excellent!!! I will build a new cluster today and see if I can use the second NIC for my. storage network. |
The fix for this went into stable stream release |
I have verified this fix with an OKD 4.4 UPI build with 2 NICs Thanks! |
FCOS version: 31.20200323.2.0 from
testing
StreamPlatform: Libvirt
Boot: iPXE
With a single NIC, the
ip=
kernel args are persisted. This was fixed by #394 and #425Now, I am trying a build with 2 NICs per master and worker node so that I can use the second NIC on my storage network.
During the FCOS install, it is only persisting the configuration of the second NIC specified in the kernel args.
iPXE file:
Relevant log snippets from the console during install:
As you can see, it dropped the configuration for
eth0
so when it tries to pull the ignition config, it cannot access the network:For reference. The installation with a single NIC works just fine. It just appears to be dropping the config of the first NIC and only using the second, when I specify 2 NICs.
The text was updated successfully, but these errors were encountered: