Bug 2014701 - cloud-init cannot configure networking using NM keyfiles
Summary: cloud-init cannot configure networking using NM keyfiles
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cloud-init
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-15 21:56 UTC by Neal Gompa
Modified: 2022-02-22 13:02 UTC (History)
16 users (show)

Fixed In Version: cloud-init-22.1-1.fc36
Clone Of:
: 2056964 (view as bug list)
Environment:
Last Closed: 2022-02-22 13:02:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github canonical cloud-init pull 1224 0 None Merged Add native NetworkManager support 2022-02-26 01:53:34 UTC

Description Neal Gompa 2021-10-15 21:56:46 UTC
Description of problem:
As we're moving toward dropping legacy ifcfg support in Fedora, one major sticking point is that cloud-init does not support configuring NetworkManager directly using NM keyfiles. This omission means that cloud-init requires the ifcfg-rh plugin to remain enabled to correctly configure the network.

In order for Fedora Cloud Edition to be able to turn off the ifcfg-rh functionality, we need for cloud-init to work without relying on that.

Version-Release number of selected component (if applicable):
21.3-2.fc36

Additional info:
This somewhat relates to https://fedoraproject.org/wiki/Changes/NetworkManager_keyfile_instead_of_ifcfg_rh

Comment 1 Neal Gompa 2021-10-15 21:58:41 UTC
Note that it's *sort of* technically possible for cloud-init currently to configure NetworkManager through the Netplan backend, but we do not currently have Netplan packaged. I would prefer that cloud-init could configure NetworkManager directly with keyfiles rather than using Netplan, though.

Comment 2 Neal Gompa 2022-01-31 10:29:21 UTC
Lubomir Rintel has submitted a pull request to add support for NetworkManager in cloud-init: https://github.com/canonical/cloud-init/pull/1224

Comment 3 Ben Cotton 2022-02-08 20:24:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 4 Neal Gompa 2022-02-22 13:02:54 UTC
This is now implemented with cloud-init-22.1-1: https://src.fedoraproject.org/rpms/cloud-init/c/b954b98a1c25b8db753dcd4545e2a72bbd0a2790


Note You need to log in before you can comment on or make changes to this bug.