-
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
Don't bring up networking in the initramfs on first boot by default #443
Comments
Related issues: Though there's likely more. |
I call this the "conditional networking" issue. There's a proposal to solve this in Ignition itself: coreos/ignition#956. That patch and the related PRs in coreos/ignition#956 (comment) solve this issue. |
Notes from internal meeting - https://hackmd.io/LwAyi1T6SnKU_zX79DdHSg |
Don't bring up networking in the initramfs on first boot by defaultAGREEMENT: simplified live ISO approach for the short term; explore generic approach for later releases (+) Solves the general case Option 2: Special case only ignition.config.url and /config.ign cases (+) Solves the primary ISO case that we really need right now Notes:
|
FYI we discussed this at the community meeting today. Minutes and links to the logs are here: https://lists.fedoraproject.org/archives/list/[email protected]/message/NA7CMN5HZWKUVVQNG4XPJDX5226BBNGG/ |
This is part of moving to conditional networking (coreos/fedora-coreos-tracker#443). Let's move the firstboot kargs here as prep for dropping them entirely. See also: coreos/coreos-assembler#1373
We have all the piece in place now to move to conditional networking. So let's drop the networking-related `firstboot-kargs`, as well as coreos-liveiso-network-kargs.service, which is no longer needed (i.e. the live ISO will now enable initrd networking as required given the embedded Ignition config). Fixes: coreos/fedora-coreos-tracker#443
We have all the piece in place now to move to conditional networking. So let's drop the firstboot kargs, as well as coreos-liveiso-network-kargs.service, which is no longer needed (i.e. the live ISO will now enable initrd networking as required given the embedded Ignition config). Fixes: coreos/fedora-coreos-tracker#443
Fix for this in coreos/fedora-coreos-config#426. |
We have all the piece in place now to move to conditional networking. So let's drop the firstboot kargs, as well as coreos-liveiso-network-kargs.service, which is no longer needed (i.e. the live ISO will now enable initrd networking as required given the embedded Ignition config). Fixes: coreos/fedora-coreos-tracker#443
We have all the piece in place now to move to conditional networking. So let's drop the firstboot kargs, as well as coreos-liveiso-network-kargs.service, which is no longer needed (i.e. the live ISO will now enable initrd networking as required given the embedded Ignition config). Fixes: coreos/fedora-coreos-tracker#443
We have all the piece in place now to move to conditional networking. So let's drop the firstboot kargs, as well as coreos-liveiso-network-kargs.service, which is no longer needed (i.e. the live ISO will now enable initrd networking as required given the embedded Ignition config). Fixes: coreos/fedora-coreos-tracker#443
We have all the piece in place now to move to conditional networking. So let's drop the firstboot kargs, as well as coreos-liveiso-network-kargs.service, which is no longer needed (i.e. the live ISO will now enable initrd networking as required given the embedded Ignition config). Fixes: coreos/fedora-coreos-tracker#443
We have all the piece in place now to move to conditional networking. So let's drop the firstboot kargs, as well as coreos-liveiso-network-kargs.service, which is no longer needed (i.e. the live ISO will now enable initrd networking as required given the embedded Ignition config). Fixes: coreos/fedora-coreos-tracker#443
We have all the piece in place now to move to conditional networking. So let's drop the `rd.neednet=1` firstboot karg. Also don't enable coreos-liveiso-network-kargs.service on FCOS since it's no longer needed (i.e. the live ISO will now enable initrd networking as required given the embedded Ignition config). On RHCOS, we still need it for now until we move to spec3. Then we can remove the service and script completely. Fixes: coreos/fedora-coreos-tracker#443
We have all the piece in place now to move to conditional networking. So let's drop the `rd.neednet=1` firstboot karg. Also don't enable coreos-liveiso-network-kargs.service on FCOS since it's no longer needed (i.e. the live ISO will now enable initrd networking as required given the embedded Ignition config). On RHCOS, we still need it for now until we move to spec3. Then we can remove the service and script completely. Fixes: coreos/fedora-coreos-tracker#443
We have all the piece in place now to move to conditional networking. So let's drop the `rd.neednet=1` firstboot karg. Also don't enable coreos-liveiso-network-kargs.service on FCOS since it's no longer needed (i.e. the live ISO will now enable initrd networking as required given the embedded Ignition config). On RHCOS, we still need it for now until we move to spec3. Then we can remove the service and script completely. Fixes: coreos/fedora-coreos-tracker#443
The fix for this went into testing stream release |
We no longer bring up the network in the initramfs if it's not needed. See coreos/fedora-coreos-tracker#443.
We no longer bring up the network in the initramfs if it's not needed. See coreos/fedora-coreos-tracker#443.
…on (#111) * pages/static-ip-config: move around useful information Move the persistent NIC naming and the link to NetworkManager documentation to more appropriate places higher up in the text. * pages/static-ip-config: remove reference to bug 358 coreos/fedora-coreos-tracker#358 is fixed now so we shouldn't need a whole section devoted to troubleshooting the issue. * pages/static-ip-config: Remove note about initramfs network bringup We no longer bring up the network in the initramfs if it's not needed. See coreos/fedora-coreos-tracker#443.
The fix for this went into stable stream release |
Currently, Fedora CoreOS and RHEL CoreOS always try to bring up networking on first boot in the initramfs: https://github.com/coreos/coreos-assembler/blob/87098329e7d3112c8544d3706de45581ce0c4d59/src/grub.cfg#L48.
The reason for this is that we can't be sure whether Ignition will require access to the network to fetch remote resources.
However, this causes a host of problems. Essentially, in any environment that strays from DHCP (e.g. static IP or no networking), it's a pain or sometimes impossible to have to change kernel arguments either at install time, or during the first boot itself. The networking kargs are also not a nice interface.
One obvious example is the live ISO; if no Ignition config is provided (or if one is provided but doesn't require networking), there's no reason to bring up networking (#349).
We should make networking transparently optional by only bringing it up when Ignition needs it.
The text was updated successfully, but these errors were encountered: