To reproduce - add pseudo-ethernet interface
set interfaces pseudo-ethernet peth1 source-interface eth1 set interfaces pseudo-ethernet peth1 address dhcp
Commit:
vyos@r1# commit
[ interfaces pseudo-ethernet peth1 ]
VyOS had an issue completing a command.
Report time: 2022-07-06 17:57:48
Image version: VyOS 1.3-stable-202207060425
Release train: equuleus
Built by: autobuild@vyos.net
Built on: Wed 06 Jul 2022 04:25 UTC
Build UUID: fef530a2-6e8e-4c39-9bb5-c233fe0bbd9f
Build commit ID: fa81861cfd390a
Architecture: x86_64
Boot via: installed image
System type: KVM guest
Hardware vendor: QEMU
Hardware model: Standard PC (Q35 + ICH9, 2009)
Hardware S/N:
Hardware UUID: 504a981d-6fb3-49ca-8a43-c28326992bd4
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/interfaces-pseudo-ethernet.py", line 104, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/interfaces-pseudo-ethernet.py", line 95, in apply
p = MACVLANIf(peth['ifname'], **conf)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py", line 318, in __init__
self._create()
File "/usr/lib/python3/dist-packages/vyos/ifconfig/macvlan.py", line 43, in _create
self._cmd(cmd.format(**self.config))
File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 52, in _cmd
return cmd(command, self.debug)
File "/usr/lib/python3/dist-packages/vyos/util.py", line 161, in cmd
raise OSError(code, feedback)
FileNotFoundError: [Errno 2] failed to run command: ip link add peth1 link eth1 type macvlan mode private
returned:
exit code: 2
noteworthy:
cmd 'ip link add peth1 link eth1 type macvlan mode private'
returned (out):
returned (err):
RTNETLINK answers: Device or resource busy
[[interfaces pseudo-ethernet peth1]] failed
Commit failed
[edit]
vyos@r1#