[Bug 1962297] [NEW] [SRU] NetworkManager parser: ip-tunnel connections fail
Lukas Märdian
1962297 at bugs.launchpad.net
Fri Feb 25 09:50:44 UTC 2022
Public bug reported:
[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
** Affects: netplan.io (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: netplan.io (Ubuntu Focal)
Importance: Undecided
Status: New
** Affects: netplan.io (Ubuntu Impish)
Importance: Undecided
Status: New
** Affects: netplan.io (Ubuntu Jammy)
Importance: Undecided
Status: Fix Released
** Also affects: netplan.io (Ubuntu Impish)
Importance: Undecided
Status: New
** Also affects: netplan.io (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: netplan.io (Ubuntu Focal)
Importance: Undecided
Status: New
** Changed in: netplan.io (Ubuntu Jammy)
Status: New => 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:
New
Status in netplan.io source package in Impish:
New
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