group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #28180
[Bug 1804721] Re: netplan fails through to generic error handler when specifying bridge
Yes, absolutely. In fact, I fixed this already:
$ ~/bin/netplan --root-dir=scratch/ --debug generate
DEBUG:command generate: running ['/lib/netplan/generate', '--root-dir', 'scratch/']
** (generate:18683): DEBUG: 16:41:58.422: Processing input file scratch//etc/netplan/01-my_network.yaml..
scratch//etc/netplan/01-my_network.yaml:9:4: Invalid YAML: inconsistent indentation:
bridges:
^
The changes are available in Ubuntu 19.04 already; will be made available to other releases soon as stable updates.
FWIW, the issue is one space too much before "bridges:". Sorry I
couldn't get to respond to this sooner!
** Changed in: netplan.io (Ubuntu)
Status: New => Fix Released
** Also affects: netplan.io (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: netplan.io (Ubuntu Cosmic)
Importance: Undecided
Status: New
** Also affects: netplan.io (Ubuntu Bionic)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1804721
Title:
netplan fails through to generic error handler when specifying bridge
Status in netplan.io package in Ubuntu:
Fix Released
Status in netplan.io source package in Xenial:
New
Status in netplan.io source package in Bionic:
New
Status in netplan.io source package in Cosmic:
New
Bug description:
Ubuntu 18.04.1 LTS, Release: 18.04
adding a specification for a bridge to /etc/netplan/01-my_network.yaml
causes a fail-over to a catch-all exception handler. No useful
debugging information is given. ( i wish you had markdown )
$ sudo netplan try -debug
Error while loading /etc/netplan/01-my_network.yaml, aborting.
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://netplan.io/examples#bridging
I have tried several other configurations, all fail when bridging is attempted.
I believe the netplan source is at:
https://github.com/CanonicalLtd/netplan/blob/master/netplan/configmanager.py
I'm guessing the handler should not be activated.
except (IOError, yaml.YAMLError): # pragma: nocover (filesystem failures/invalid YAML)
logging.error('Error while loading {}, aborting.'.format(yaml_file))
sys.exit(1)
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: netplan.io 0.40.1~18.04.2
ProcVersionSignature: Ubuntu 4.15.0-42.45-generic 4.15.18
Uname: Linux 4.15.0-42-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
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_DIR=<set>
LANG=en_AU.UTF-8
SHELL=/usr/bin/zsh
SourcePackage: netplan.io
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1804721/+subscriptions