Page MenuHomeVyOS Platform

[wireguard] config changes cause an error
Closed, ResolvedPublicBUG


When changing a wireguard config, it causes an error when the config items are being compared.

Traceback (most recent call last):

File "/usr/libexec/vyos/conf_mode/", line 370, in <module>
File "/usr/libexec/vyos/conf_mode/", line 228, in apply
  addr_eff = re.sub("\'", "", c_eff.return_effective_values(intf + ' address')).split()
File "/usr/lib/python3.4/", line 175, in sub
  return _compile(pattern, flags).sub(repl, string, count)

TypeError: expected string or buffer

interfaces wireguard wg01 failed
Commit failed


Difficulty level
Easy (less than an hour)
1.2, 1.3
Why the issue appeared?
Will be filled on close