StyXman | hi 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/QDkzB | 10:31 |
---|---|---|
StyXman | a) should I report it? | 10:31 |
StyXman | b) 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 |
slyon | Hey 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 work | 10:36 |
slyon | in 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 |
slyon | if no configuration is needed for enp2s0, you should define an empty ethernets block as: "enp2s0: {}" | 10:38 |
StyXman | slyon: ack, what about reporting the issue? | 10:41 |
slyon | StyXman: let's first try to fix your YAML configuration and see if the issue presists | 10:42 |
schopin | It 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 :D | 10:44 |
StyXman | slyon: it worked :) | 10:45 |
StyXman | schopin: it might not be one, but it's still too verbose for a user | 10:45 |
StyXman | and beware of java-backtrace-bitten sysadmis :-P | 10:46 |
schopin | Agreed :) | 10:49 |
StyXman | :) | 10:49 |
schopin | Oh wait, that *is* an uncontrolled exception, my bad! | 10:51 |
schopin | The revert() call in the handler failed in the exact same way. Perhaps we could compare the two exceptions? | 10:54 |
slyon | ugh indeed I did not look close enough. feel free to report a bug about this uncontrolled exception at https://bugs.launchpad.net/netplan/+filebug | 10:58 |
StyXman | slyon: ack | 11:02 |
StyXman | slyon: 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 |
schopin | StyXman: 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!