Page MenuHomePhabricator

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

Difficulty level
Unknown (require assessment)
Version
VyOS 1.2.0-rc4
Why the issue appeared?
Will be filled on close

Related Objects

Event Timeline

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

bug verified.

hagbard closed this task as Resolved.Nov 3 2018, 9:14 PM