netplan does not support globs for interface names with the NetworkManager renderer

Bug #1631018 reported by Simon Fels on 2016-10-06
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nplan (Ubuntu)
Low
Martin Pitt
Xenial
Undecided
Unassigned

Bug Description

[Impact]
Documentation for netplan is misleading and may suggest that globbing is always possible in netplan config.

[Test case]
- Validate that documentation shipped with netplan points out that globbing is not supported in the NetworkManager renderer (see /usr/share/doc/netplan/netplan.html)

[Regression potential]
Any failure to work with existing configuration should be considered a regression. Any new failure of the test suite would be a regression.

---

snapd creates a netplan configuration file which uses globs for ethernet interface names. Netplan currently does not support these as NetworkManager does not offer any possibility to specify globs in its connection files.

Martin Pitt (pitti) wrote :

Right, this should at least be documented in the manpage. The NM renderer already produces an appropriate error message.

Changed in netplan:
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Low
status: New → In Progress
affects: netplan → nplan (Ubuntu)
Changed in nplan (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nplan - 0.16

---------------
nplan (0.16) zesty; urgency=medium

  [ Martin Pitt ]
  * doc/example-config: Adjust "routes:" example.
    It does not make sense to make "routes:" a global thing, they should be
    tied to an interface so that the route is only set when the corresponding
    interface exists and is up, and the config is not split in two parts.
  * doc/netplan.md: Point out that NM does not support globbing (LP: #1631018)

  [ Mathieu Trudel-Lapierre ]
  * Fix coverage for src/netplan to be 100%, and fail if coverage falls below
    that mark again.
  * Add support for specifying routes.

 -- Mathieu Trudel-Lapierre <email address hidden> Fri, 23 Dec 2016 12:33:34 -0500

Changed in nplan (Ubuntu):
status: Fix Committed → Fix Released
description: updated

Hello Simon, or anyone else affected,

Accepted nplan into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nplan/0.21~16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in nplan (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers