Upgrades to 22.04 can cause netplan failures on Raspi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* In Jammy, Netplan commands fail if the following
lines are present in the netplan config file:
```
match:
driver: bcmgenet smsc95xx lan78xx
```
* Those lines are present in the default netplan config
for Raspberry Pis in focal, hirsute, and impish
* As a result, upgrades to jammy from older releases
lead to netplan failures and broken networking
[Test Plan]
* Install impish on a Raspberry Pi
* Upgrade to jammy using `do-release-upgrade -d`
* Run `sudo netplan apply` and observe the command
fails and the networking does not work
* Reinstall impish on the Raspberry Pi
* Upgrade to jammy using `do-release upgrade -d` with
the proposed pocket enabled
* Run `sudo netplan apply` and observe that the
command succeeds and networking is functional
[Regression Potential]
* Since ubuntu-
netplan's config, it is possible that custom
configs could be impacted where not intended.
[Original Description]
The default netplan yaml configuration file on Raspi for older releases is
```
network:
ethernets:
eth0:
dhcp4: true
match:
version: 2
```
In the version of netplan in jammy, the match section is no longer needed and causes netplan failures due to incompatible formatting. A quirk should be made to remove the match section.
Related branches
- Dave Jones (community): Approve
- Brian Murray (community): Needs Fixing
-
Diff: 386 lines (+346/-0)3 files modifiedDistUpgrade/DistUpgradeQuirks.py (+60/-0)
debian/changelog (+8/-0)
tests/test_quirks.py (+278/-0)
tags: | added: rls-jj-incoming |
Changed in ubuntu-release-upgrader (Ubuntu Jammy): | |
importance: | Undecided → High |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Undecided → High |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | High → Medium |
importance: | Medium → High |
tags: | added: fr-2318 |
tags: | removed: rls-jj-incoming |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.