[FFe] Update to netplan.io 0.99
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Fix Released
|
Critical
|
Unassigned | ||
netplan.io (Ubuntu) |
Fix Released
|
Critical
|
Łukasz Zemczak | ||
Bionic |
Fix Released
|
High
|
Lukas Märdian | ||
Eoan |
Fix Released
|
Medium
|
Lukas Märdian | ||
Focal |
Fix Released
|
Medium
|
Lukas Märdian |
Bug Description
[Freeze Exception Rationale]
We would like to request a Feature Freeze exception for the new netplan 0.99 as this release will be carrying important roadmap features targeted for 20.04. Everything got drastically delayed due to not having a full-time netplan maintainer for most part of the cycle, but the features we want to deliver are still considered important. We are well aware of how late it is in the cycle, and in normal circumstances we would not request such an exception, but releasing the new netplan version will also unblock some of the other teams. Notably the generation of libnetplan will unblock other feature requests in packages like NetworkManager for uc20.
=== SRU ===
[Impact]
This release contains both bug-fixes and new features and we would like to
make sure all of our supported customers have access to these improvements.
The most notable changes (besides usual bug-fixes) incoming in 0.99:
* Adding `phase2` keyword to `auth` section
* Allowing `critical` to be used without `dhcp4`/`dhcp6` enabled
* Support for GSM modems in the NetworkManager backend (with the `modems` keyword)
* Adding `emit-lldp` option for networkd backend
* Split out the netplan parser into a separate libnetplan library
* Adding `ipv6-address-
* Adding WiFi flags for `bssid`
* Adding support for SR-IOV network devices
* Fix not connecting to WiFi after 'netplan apply' (LP: #1874377)
See the changelog entry below for a full list of changes and bugs.
[Test Case]
The following development and SRU process was followed:
https:/
Netplan contains an extensive integration test suite that is ran using
the SRU package for each releases. This test suite's results are available here:
http://
A successful run is required before the proposed netplan package
can be let into -updates.
The netplan team will be in charge of attaching the artifacts and console
output of the appropriate run to the bug. Netplan team members will not
mark ‘verification-done’ until this has happened.
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned integration tests are attached to this bug.
Focal:
https:/
https:/
https:/
https:/
https:/
Eoan:
https:/
https:/
https:/
https:/
https:/
https:/
Bionic:
https:/
https:/
https:/
https:/
https:/
https:/
[Discussion]
A bug fix for #1874377 was already part of 0.99-0ubuntu2. This SRU contains the proper fix, which was applied upstream (a9f138d) and handles additional edge cases. All the changes are completely backward-compatible and users should not notice any behavior changes if not using any of the new features.
[Changelog]
Distro-Patch:
a9f138d Fix LP#1874377: Not connect to WiFi after 'netplan apply' (#133)
v0.99:
1ccf7e0 SR-IOV support for explicitly defining the VF count (#130)
b7f1d9b SR-IOV support (#129)
a5438a2 Implement WakeOnWLan for NM and networkd backends (#128)
9a1633a Implement WiFi flags for bssid/band/channel (#125)
0586a8d Add ipv6-address-
39057cc Fix missing Require= in service unit (#123)
ed63344 Rename gsms to modems and enable CDMA (#124)
e9e7681 Makefile: fix symbolic link of libnetplan.so (#122)
4ca70d1 Build libnetplan and initial parser for NetworkManager backend settings (#112)
0c06743 Merge pull request #121 from CanonicalLtd/
039e2c2 Merge branch 'master' into slyon/focal-
069e3d8 tests:integrati
4a46cfd tests:integrati
2427ab2 Fix quotation of WPA PSK 64 hex-digit keys for networkd (#120)
df5fbf5 tests:integrati
261c379 Add option `emit-lldp` for networkd backend (#116)
76aa65e Initial support for GSM modems for NetworkManager backend – 2 (#119)
91c59c7 features: add feature flags for new supplicant and phase2 changes
500121f tests: fix calls for yaml.load(): add an explicit Loader=
72a09f7 Allow `critical` to be used without `dhcp4`/`dhcp6` enabled (#107)
053f2cb Handled wired wpa_supplicant driver automatically (#109)
50ac74f Add `phase2` keyword to `auth` section (#108)
77fcd4d networkd: set MTUBytes= in .network files as well (#111)
c40f70e Add example for a directly-connected gateway on IPv6. (#110)
a5397e6 Honor LDFLAGS when building netplan-dbus (#105)
43d80a6 Makefile: fix escaping in _features.h (#103)
521a695 Refresh devices after restarting backends, some new devices might appear
Related branches
- Łukasz Zemczak: Approve
-
Diff: 6685 lines (+3711/-538)44 files modifiedMakefile (+28/-6)
debian/changelog (+80/-0)
debian/control (+35/-0)
debian/copyright (+1/-1)
debian/libnetplan-dev.dirs (+1/-0)
debian/libnetplan-dev.install (+2/-0)
debian/libnetplan0.install (+1/-0)
debian/libnetplan0.symbols (+25/-0)
debian/netplan.io.install (+4/-0)
debian/patches/0001-Fix-LP-1874377-Not-connect-to-WiFi-after-netplan-app.patch (+175/-0)
debian/patches/series (+1/-0)
debian/rules (+4/-1)
debian/tests/control (+27/-0)
dev/null (+0/-11)
doc/netplan.md (+137/-5)
examples/dhcp_wired8021x.yaml (+11/-0)
examples/direct_connect_gateway_ipv6.yaml (+11/-0)
examples/modem.yaml (+15/-0)
netplan/cli/commands/apply.py (+24/-23)
netplan/cli/sriov.py (+320/-0)
netplan/cli/utils.py (+50/-1)
src/generate.c (+10/-9)
src/networkd.c (+240/-80)
src/networkd.h (+1/-1)
src/nm.c (+187/-62)
src/nm.h (+1/-1)
src/parse.c (+326/-156)
src/parse.h (+181/-106)
src/util.c (+62/-0)
src/util.h (+6/-0)
src/validation.c (+26/-25)
src/validation.h (+2/-2)
tests/cli.py (+30/-22)
tests/generator/base.py (+3/-0)
tests/generator/test_auth.py (+67/-6)
tests/generator/test_common.py (+56/-5)
tests/generator/test_errors.py (+58/-0)
tests/generator/test_ethernets.py (+124/-0)
tests/generator/test_modems.py (+374/-0)
tests/generator/test_vlans.py (+93/-0)
tests/generator/test_wifis.py (+283/-14)
tests/integration/base.py (+22/-1)
tests/integration/ethernets.py (+2/-0)
tests/test_sriov.py (+605/-0)
- Łukasz Zemczak: Approve
-
Diff: 263 lines (+193/-45)4 files modifieddebian/changelog (+17/-0)
debian/patches/0001-Fix-LP-1874377-Not-connect-to-WiFi-after-netplan-app.patch (+175/-0)
debian/patches/series (+1/-1)
dev/null (+0/-44)
- Łukasz Zemczak: Approve
-
Diff: 6693 lines (+3713/-544)44 files modifiedMakefile (+28/-6)
debian/changelog (+82/-0)
debian/control (+35/-0)
debian/copyright (+1/-1)
debian/libnetplan-dev.dirs (+1/-0)
debian/libnetplan-dev.install (+2/-0)
debian/libnetplan0.install (+1/-0)
debian/libnetplan0.symbols (+25/-0)
debian/netplan.io.install (+4/-6)
debian/patches/0001-Fix-LP-1874377-Not-connect-to-WiFi-after-netplan-app.patch (+175/-0)
debian/patches/series (+1/-0)
debian/rules (+4/-1)
debian/tests/control (+27/-0)
dev/null (+0/-11)
doc/netplan.md (+137/-5)
examples/dhcp_wired8021x.yaml (+11/-0)
examples/direct_connect_gateway_ipv6.yaml (+11/-0)
examples/modem.yaml (+15/-0)
netplan/cli/commands/apply.py (+24/-23)
netplan/cli/sriov.py (+320/-0)
netplan/cli/utils.py (+50/-1)
src/generate.c (+10/-9)
src/networkd.c (+240/-80)
src/networkd.h (+1/-1)
src/nm.c (+187/-62)
src/nm.h (+1/-1)
src/parse.c (+326/-156)
src/parse.h (+181/-106)
src/util.c (+62/-0)
src/util.h (+6/-0)
src/validation.c (+26/-25)
src/validation.h (+2/-2)
tests/cli.py (+30/-22)
tests/generator/base.py (+3/-0)
tests/generator/test_auth.py (+67/-6)
tests/generator/test_common.py (+56/-5)
tests/generator/test_errors.py (+58/-0)
tests/generator/test_ethernets.py (+124/-0)
tests/generator/test_modems.py (+374/-0)
tests/generator/test_vlans.py (+93/-0)
tests/generator/test_wifis.py (+283/-14)
tests/integration/base.py (+22/-1)
tests/integration/ethernets.py (+2/-0)
tests/test_sriov.py (+605/-0)
Changed in netplan.io (Ubuntu): | |
importance: | Undecided → Critical |
assignee: | nobody → Łukasz Zemczak (sil2100) |
description: | updated |
description: | updated |
Changed in netplan.io (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in netplan.io (Ubuntu): | |
status: | Triaged → In Progress |
Changed in netplan: | |
status: | New → In Progress |
Changed in netplan.io (Ubuntu Eoan): | |
importance: | Undecided → Medium |
Changed in netplan.io (Ubuntu Bionic): | |
importance: | Undecided → High |
description: | updated |
description: | updated |
description: | updated |
tags: | added: upgrade-software-version |
information type: | Public → Public Security |
information type: | Public Security → Public |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in netplan.io (Ubuntu Eoan): | |
assignee: | nobody → Lukas Märdian (slyon) |
Changed in netplan.io (Ubuntu Focal): | |
importance: | Undecided → Medium |
tags: |
added: verification-done removed: verification-needed |
Changed in netplan: | |
status: | In Progress → Fix Released |
"Even though regressions are impossible" - you mean possible I hope? :-)
This is a bit worryingly late, but I get the extenuating circumstances. Please go for it, but make sure to keep a close eye on incoming bugs. I would like it if someone could find the time to do manual testing *before* we get into final freeze, too. To avoid any last minute surprises in release week.