-
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
Automatic Network Configuration in Cloud with NetworkManager (nm-cloud-setup) #320
Comments
The tool they started writing may have indeed quite some overlap with Afterburn, but at the moment they seem to target a different niche/usecase. From a quick skim, relevant differences/points from my side are:
As it stands, |
nm-cloud-setup can be called once/manually, but I think a main purpose to pick up changes dynamically. For that it can be triggered via a systemd.timer or a NetworkManager dispatcher script. If you can afford to pre-generate static configuration early at boot, then you don't really need this tool. You could instead just pre-generate the static connection profiles. Another difference is that the configuration created by nm-cloud-setup is not persisted to file system (not even to I think another purpose of the tool is to provide a solution for users who use NetworkManager but don't use something like cloud-init/Afterburn. |
Some time ago we did some work to add support in Ignition for platform-specific fragments The result of that exploration (coreos/fedora-coreos-config#760) was positive, so there should be no further blockers if we want to proceed. In the meanwhile, upstream added a docpage with all the details about that component: https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nm-cloud-setup.html. However we didn't reach consensus on whether we wanted to 1) ship the binary, plus 2) ship the fragment for auto-configuration, plus 3) enable the timer unit by default on FCOS. I'm putting this up for discussion for the next IRC meeting. |
In the last IRC meeting we reached consensus that the next steps for
|
xref https://bugzilla.redhat.com/show_bug.cgi?id=1977984#c56 - may have some negative interactions with OpenShift SDN and I suspect more generally anyone doing nontrivial networking setup outside of the OS. If we did add this it may warrant a "provisioning discontinuity" at least where only new nodes get it? (like cgroups v2) Of note though if we did add it, disabling it should just be masking the systemd unit. |
The networkmanager community reached out to the Fedora Cloud community to ask about a proposed
nm-cloud-setup
utility/service: https://lists.fedoraproject.org/archives/list/[email protected]/message/FSQR6KL4KA37WHTUAXL774SXSWIBSYGI/The text was updated successfully, but these errors were encountered: