To reproduce:
set interfaces macsec macsec10 address '192.168.2.1/30' set interfaces macsec macsec10 security cipher 'gcm-aes-256' set interfaces macsec macsec10 security encrypt set interfaces macsec macsec10 security mka cak '232e44b7fda6f8e2d88a07bf78a7aff4232e44b7fda6f8e2d88a07bf78a7aff4' set interfaces macsec macsec10 security mka ckn '09924585a6f3010208cf5222ef24c821405b0e34f4b4f63b1f0ced474b9bb6e6' set interfaces macsec macsec10 source-interface 'eth1' commit
set interfaces pseudo-ethernet peth0 source-interface eth1 commit
[ interfaces pseudo-ethernet peth0 ]
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/interfaces-pseudo-ethernet.py", line 97, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/interfaces-pseudo-ethernet.py", line 88, in apply
p = MACVLANIf(**peth)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py", line 327, in __init__
self._create()
File "/usr/lib/python3/dist-packages/vyos/ifconfig/macvlan.py", line 35, 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 peth0 link eth1 type macvlan mode private
returned:
exit code: 2
noteworthy:
cmd 'ip link add peth0 link eth1 type macvlan mode private'
returned (out):
returned (err):
RTNETLINK answers: Device or resource busy
[[interfaces pseudo-ethernet peth0]] failed
Commit failed