netplan apply doesn't activate NetworkManager

Bug #1789130 reported by Mason Loring Bliss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netplan.io (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Starting with the Ubuntu Server install, I get netplan driving systemd-networkd by default.

If I change /etc/netplan/01-netcfg.yaml to point to NetworkManager, "netplan apply" doesn't fire up NetworkManager.

Attached screenshot illustrates what I see.

Revision history for this message
Mason Loring Bliss (y-mason) wrote :
Changed in netplan.io (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Mason Loring Bliss (y-mason) wrote :

I just tried again on a fresh install, and noted this in syslog:

Aug 27 21:55:14 penguin systemd-timesyncd[904]: Network configuration changed, trying to establish connection.
Aug 27 21:55:14 penguin systemd[1]: Starting Load/Save RF Kill Switch Status...
Aug 27 21:55:14 penguin systemd-rfkill[9744]: Failed to open device rfkill0: No such device
Aug 27 21:55:14 penguin systemd[1]: Started Load/Save RF Kill Switch Status.
Aug 27 21:55:14 penguin systemd-timesyncd[904]: Synchronized to time server 91.189.91.157:123 (ntp.ubuntu.com).
Aug 27 21:55:14 penguin kernel: [24668.459650] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
Aug 27 21:55:14 penguin kernel: [24668.460729] iwlwifi 0000:03:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
Aug 27 21:55:14 penguin kernel: [24668.460758] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled
Aug 27 21:55:14 penguin kernel: [24668.460760] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
Aug 27 21:55:14 penguin kernel: [24668.460761] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
Aug 27 21:55:14 penguin kernel: [24668.460764] iwlwifi 0000:03:00.0: Detected Intel(R) Centrino(R) Advanced-N 6205 AGN, REV=0xB0
Aug 27 21:55:14 penguin kernel: [24668.489358] ieee80211 phy1: Selected rate control algorithm 'iwl-agn-rs'
Aug 27 21:55:14 penguin systemd-udevd[9759]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 27 21:55:14 penguin kernel: [24668.492733] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
Aug 27 21:55:14 penguin systemd-networkd[922]: wlan0: Interface name change detected, wlan0 has been renamed to wlp3s0.
Aug 27 21:55:14 penguin systemd-timesyncd[904]: Network configuration changed, trying to establish connection.
Aug 27 21:55:14 penguin networkd-dispatcher[1123]: WARNING:Unknown index 4 seen, reloading interface list
Aug 27 21:55:14 penguin systemd-timesyncd[904]: Synchronized to time server 91.189.91.157:123 (ntp.ubuntu.com).
Aug 27 21:55:17 penguin ModemManager[9578]: <info> Couldn't check support for device at '/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0': not supported by any plugin

That said, if I manually start NetworkManager afterwards, it appears to inherit network handling unproblematically without a reboot.

Revision history for this message
Lukas Märdian (slyon) wrote :

netplan apply is calling 'systemctl start NetworkManager.service', so this should be working nowadays.

Please re-open if this is still an issue.

Changed in netplan.io (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.