[Bug 1962297] Re: [SRU] NetworkManager parser: ip-tunnel connections fail

Launchpad Bug Tracker 1962297 at bugs.launchpad.net
Mon Mar 14 11:50:22 UTC 2022


This bug was fixed in the package netplan.io - 0.103-0ubuntu5~20.04.6

---------------
netplan.io (0.103-0ubuntu5~20.04.6) focal; urgency=medium

  * Do not write unvalidated YAML, fixing NM ip-tunnel handling (LP: #1962297)
    d/p/0018-keyfile-do-not-try-to-write-out-unvalidated-YAML-LP-.patch

 -- Lukas Märdian <slyon at ubuntu.com>  Fri, 25 Feb 2022 10:03:12 +0100

** Changed in: netplan.io (Ubuntu Focal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1962297

Title:
  [SRU] NetworkManager parser: ip-tunnel connections fail

Status in netplan.io package in Ubuntu:
  Fix Released
Status in netplan.io source package in Focal:
  Fix Released
Status in netplan.io source package in Impish:
  Won't Fix
Status in netplan.io source package in Jammy:
  Fix Released

Bug description:
  
  [Impact] 

   * NetworkManager snap (using the netplan backend) fails to add "ip-
  tunnel" connections.

   * ip-tunnel connections are needed in UC20 via the NetworkManager
  netplan integration

   * This upload includes an upload commit that uses netplan's
  "passthrough" mode to handle ip-tunnel connections, so all settings
  can be stored correctly.

  [Test Plan]

  Using NetworkManager with the netplan backend integration (e.g. network-manager snap from the 20/stable channel) one can launch "nmtui" and then:
  - Proceed to edit -> add new connection
  - Select "IP tunnel"
  - enter a profile name e.g. "IP tunnel connection 1"
  - enter a device e.g. "gre10"
  - select mode "GRE"
  - enter local IP e.g. "10.20.20.1"
  - enter remote IP e.g. "10.20.20.2"
  - Press "OK" to save the connection

  This should NOT yield the following error message, but return
  successfully:

  "Unable to add new connection: failure adding connection: keyfile
  writer produces an invalid connection: cannot access file: No such
  file or directory"

  - run "netplan get nm-devices" to confirm the connection was created successfully, using passthrough configuration
  - run "nmcli c show" to confirm the new connection has been picked up by NM, too

  [Where problems could occur]

   * This upload touches netplan's NetworkManager keyfile parser code.
  So if something is broken this could impact the NetworkManager netplan
  backend integration.

  [Other Info]
   
   * Additionally we will run and verify the usual autopkgtests once the package got accepted into -proposed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1962297/+subscriptions




More information about the foundations-bugs mailing list