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

Event Timeline

hagbard triaged this task as Normal priority.Jul 9 2019, 5:00 PM
hagbard changed Difficulty level from Normal (likely a few hours) to Easy (less than an hour).

Issue present in the 1.2.2 ISO, too

hagbard moved this task from Need Triage to Finished on the VyOS 1.2 Crux board.