[FFE] netplan 0.34: new features

Bug #1754019 reported by Mathieu Trudel-Lapierre
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nplan (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

netplan 0.34 introduces new features:

 - optional: true on an interface to allow it to be "ignored" by networkd-wait-online at boot, and avoid 5 minute delays.
 - added 'help' subcommands everywhere.
 - added bash completion
 - 'netplan ip leases' now allows retrieving the lease file for the "private" DHCP settings contained in a lease for the backend in use. The lease file is displayed in full and allows retrieving settings not normally exposed by the backends.
 - implement better routing support: policy-based routing is now supported for the networkd backend, and better control over the "standard" routes to be installed. A new 'on-link: true' option allows for defining a route that is directly attached.

These stem from various requests we've had concerning the usability of netplan for various projects; for instance:

 - 'optional: true' is useful for the ubuntu-server daily image to avoid blocking in networkd while the network interface are coming up (which would block for 5 minutes waiting for timeout if no interface is connected).

 - policy routing, on-link: true and general routing improvements are common user requests from people migrating early to bionic.

 - help and bash completion are common requested features, and generally greatly improve usability.

This new release also has many long-term maintenance code cleanliness changes and fixes the following bugs:

    * Reinstate snap support for dealing with the NetworkManager snap.
       (LP: #1747714)
    * Don't silently break bridge-priority; fix it instead. (LP: #1752162)
    * Disable "ifupdown-migrate"; which is incomplete and thus risks breaking systems. Better iterate over it without showing it as a viable option.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

build logs:

[amd64] https://launchpadlibrarian.net/359874933/buildlog_ubuntu-bionic-amd64.netplan.io_0.34_BUILDING.txt.gz
[i386] https://launchpadlibrarian.net/359874911/buildlog_ubuntu-bionic-i386.netplan.io_0.34_BUILDING.txt.gz

install log:
root@giving-ghost:~# apt install nplan
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  netplan.io
Suggested packages:
  network-manager | wpasupplicant
The following NEW packages will be installed:
  netplan.io
The following packages will be upgraded:
  nplan
1 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 62.1 kB of archives.
After this operation, 70.7 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ppa.launchpad.net/cyphermox/netplan.io/ubuntu bionic/main amd64 nplan all 0.34 [7796 B]
Get:2 http://ppa.launchpad.net/cyphermox/netplan.io/ubuntu bionic/main amd64 netplan.io amd64 0.34 [54.3 kB]
Fetched 62.1 kB in 0s (146 kB/s)
(Reading database ... 27345 files and directories currently installed.)
Preparing to unpack .../archives/nplan_0.34_all.deb ...
Unpacking nplan (0.34) over (0.33) ...
dpkg: warning: unable to delete old directory '/etc/netplan': Directory not empty
Selecting previously unselected package netplan.io.
Preparing to unpack .../netplan.io_0.34_amd64.deb ...
Unpacking netplan.io (0.34) ...
Setting up netplan.io (0.34) ...
Setting up nplan (0.34) ...
Processing triggers for man-db (2.8.2-1) ...
root@giving-ghost:~#

description: updated
tags: added: upgrade-software-version
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Those make sense, especially for such a flag product like netplan. Feature Freeze exception approved.

Changed in nplan (Ubuntu):
status: New → Triaged
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

I'll also use this bug to document the removal of the old nplan source package (since all of its binaries are now provided through netplan.io).

$ ./remove-package -m "Renamed to netplan.io" -s bionic nplan
Removing packages from bionic:
 nplan 0.33 in bionic
Comment: Renamed to netplan.io
Remove [y|N]? y
1 package successfully removed.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

This got landed, but the rename means the bug wasn't closed automatically. Closing:

netplan.io (0.34) bionic; urgency=medium

  * New release 0.34 (LP: #1754019):
    * Implement "optional: true" to correctly write systemd network definitions
      with "RequiredForOnline=false", so that these networks do not block boot.
      (LP: #1664844)
    * Implement 'help' as a subcommand of any netplan command, so that running
      'netplan * help' always returns some helpful information. (LP: #1748629)
    * Reinstate snap support for dealing with the NetworkManager snap.
      (LP: #1747714)
    * Added bash completion. (LP: #1749869)
    * Implement 'netplan ip leases': allows users to retrieve lease information
      for the backend in use; to query for custom DHCP options.
    * Don't silently break bridge-priority; fix it instead. (LP: #1752162)
    * Miscellaneous coverage, linting, and fuzzing fixes.
    * Refactor subcommands into separate source files, automate command loading
      and various code cleanups.
    * Disable "ifupdown-migrate"; which is incomplete and thus risks breaking
      systems. Better iterate over it without showing it as a viable option.
    * Add better routing support, implement initial routing policy support.
      - Add 'on-link' support. (LP: #1735193)
  * debian/control:
    - Renamed source and "real" binary to netplan.io.
    - Added a transitional package for nplan.
    - Updated Vcs-* fields to point to the Github project we now use.
    - Updated Standards-Version, debhelper.
  * debian/compat: bump to debhelper compat level 11.
  * debian/copyright: Update Format: field for https.
  * debian/netplan.io.install: obligatory file to install files.
  * debian/source/format: now we're 3.0 native, for reals.

Changed in nplan (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.