netplan apply fails on 22.04 with clean yaml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Fix Released
|
Undecided
|
Lukas Märdian | ||
Jammy |
Fix Released
|
Undecided
|
Lukas Märdian | ||
subiquity (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Jammy |
Triaged
|
Medium
|
Unassigned |
Bug Description
Ubuntu 22.04 clean server iso install with default yaml using dhcp
-------------
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
dhcp4: true
enp4s0:
dhcp4: true
version: 2
-------------
netplan --debug generate is green. yaml is perfect
--------------
root@cube1:
DEBUG:command generate: running ['/lib/
** (generate:65883): DEBUG: 02:01:05.691: starting new processing pass
** (generate:65883): DEBUG: 02:01:05.691: We have some netdefs, pass them through a final round of validation
** (generate:65883): DEBUG: 02:01:05.691: eno1: setting default backend to 1
** (generate:65883): DEBUG: 02:01:05.691: Configuration is valid
** (generate:65883): DEBUG: 02:01:05.691: enp4s0: setting default backend to 1
** (generate:65883): DEBUG: 02:01:05.691: Configuration is valid
** (generate:65883): DEBUG: 02:01:05.691: Generating output files..
** (generate:65883): DEBUG: 02:01:05.691: openvswitch: definition eno1 is not for us (backend 1)
** (generate:65883): DEBUG: 02:01:05.691: NetworkManager: definition eno1 is not for us (backend 1)
** (generate:65883): DEBUG: 02:01:05.691: openvswitch: definition enp4s0 is not for us (backend 1)
** (generate:65883): DEBUG: 02:01:05.691: NetworkManager: definition enp4s0 is not for us (backend 1)
----------------
execute netplan apply/try will fail
----------------
Failed to reload network settings: No such file or directory
Traceback (most recent call last):
File "/usr/sbin/
netplan.main()
File "/usr/share/
self.
File "/usr/share/
self.func()
File "/usr/share/
self.
File "/usr/share/
self.func()
File "/usr/share/
utils.
File "/usr/share/
subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.
----------------
ubuntu forum thread:
tags: | added: rls-jj-incoming |
Changed in netplan.io (Ubuntu): | |
status: | Incomplete → Triaged |
Changed in subiquity (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: fr-2101 |
tags: | removed: rls-jj-incoming |
tags: | added: foundations-todo |
Changed in subiquity (Ubuntu): | |
status: | New → Triaged |
Changed in subiquity (Ubuntu Jammy): | |
status: | New → Triaged |
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1962095
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.