/srv/irclogs.ubuntu.com/2022/04/20/#netplan.txt

StyXmanhi people. first time user. I'm just trying to declare a bridge on top of the single eth, got a nasty backtrace instead of an error: https://dpaste.org/QDkzB10:31
StyXmana) should I report it?10:31
StyXmanb) why do the examples https://netplan.io/reference/#properties-for-device-type-bridges%3A reference eth blocks by name and not by interface? is there anything wrong with the way I do it?10:34
slyonHey StyXman! an ethernet interface/block can be referenced by the interface name itself (as you did it), or by an unique identifier, if combined with a "match" stanza, as shown in the example. both will work10:36
slyonin your case the eth definition is commented out, so netplan does not know what the slave interface is supposed to be, as can be seen form the error message: "/etc/netplan/00-static.yaml:8:21: Error in network definition: lan0: interface 'enp2s0' is not defined"10:37
slyonif no configuration is needed for enp2s0, you should define an empty ethernets block as: "enp2s0: {}"10:38
StyXmanslyon: ack, what about reporting the issue?10:41
slyonStyXman: let's first try to fix your YAML configuration and see if the issue presists10:42
schopinIt might not look like it, but this is actually *not* an uncontrolled exception, we just have a somewhat verbose catchall except case in the netplan try code :D10:44
StyXmanslyon: it worked :)10:45
StyXmanschopin: it might not be one, but it's still too verbose for a user10:45
StyXmanand beware of java-backtrace-bitten sysadmis :-P10:46
schopinAgreed :)10:49
StyXman:)10:49
schopinOh wait, that *is* an uncontrolled exception, my bad!10:51
schopinThe revert() call in the handler failed in the exact same way. Perhaps we could compare the two exceptions?10:54
slyonugh indeed I did not look close enough. feel free to report a bug about this uncontrolled exception at https://bugs.launchpad.net/netplan/+filebug10:58
StyXmanslyon: ack11:02
StyXmanslyon: sorry, but for some reason ubuntu one does not like me and I can't get in. I hope you have enought info to file it yourself :(15:18
schopinStyXman: you might want to ask on #launchpad if you're having login trouble :)15:20

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!