Page MenuHomeVyOS Platform

Problems with wireguard description
Closed, ResolvedPublicBUG

Description

I seem to have hit a strange bug in the Wireguard implementation.

When I try to set the description I this message "interface description is too long (limit 100 characters)".

set wireguard wg0 description "A"

When I then try to remove the wg0 interface I get this Traceback.

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/wireguard.py", line 316, in <module>
    apply(c)
  File "/usr/libexec/vyos/conf_mode/wireguard.py", line 225, in apply
    cnf_descr = c['interfaces'][intf]['descr']
KeyError: 'descr'

Details

Version
VyOS 1.2.0-rc4

Event Timeline

Raeven renamed this task from Problems with wireguard to Problems with wireguard description.Nov 3 2018, 8:48 PM
hagbard changed the task status from Open to In progress.Nov 3 2018, 9:02 PM

bug verified.