netplan fails through to generic error handler when specifying bridge
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
Bionic |
New
|
Undecided
|
Unassigned | ||
Cosmic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 18.04.1 LTS, Release: 18.04
adding a specification for a bridge to /etc/netplan/
$ sudo netplan try -debug
Error while loading /etc/netplan/
the source file has contents:
"
# Let netplan manage all devices on this system
network:
version: 2
renderer: networkd
ethernets:
enp5s0:
dhcp4: yes
dhcp6: no
bridges:
lxdbr0:
dhcp4: yes
interfaces:
- enp5s0
"
It loads without error if the bridges section is removed. The file is a simple example from https:/
I have tried several other configurations, all fail when bridging is attempted.
I believe the netplan source is at: https:/
I'm guessing the handler should not be activated.
except (IOError, yaml.YAMLError): # pragma: nocover (filesystem failures/invalid YAML)
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: netplan.io 0.40.1~18.04.2
ProcVersionSign
Uname: Linux 4.15.0-42-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Nov 23 11:34:52 2018
InstallationDate: Installed on 2018-11-08 (14 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20181107)
ProcEnviron:
LANGUAGE=en_AU:en
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_AU.UTF-8
SHELL=/usr/bin/zsh
SourcePackage: netplan.io
UpgradeStatus: No upgrade log present (probably fresh install)
I'm not asserting that my .yaml source is correct, just that a more specific/ informative error handler should have been invoked.