Page MenuHomePhabricator

Traceback when deleting wireguard interface
Closed, ResolvedPublicBUG

Description

If you have more than one Wireguard interface and try to delete one of them you get a Traceback, it works if I delete all Wireguard interfaces.

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/wireguard.py", line 311, 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-rolling+201811040337
Why the issue appeared?
Will be filled on close