As below - I am unable to define and add ethernet interfaces to my configuration. This same hardware previously worked fine on 1.2.x.
Please let me know if a bug submission is required.
vyos@vyos# ip a show eth0
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:0d:b9:xx:xx:xx brd ff:ff:ff:ff:ff:ff
[edit]
vyos@vyos# set interfaces ethernet eth0 hw-id 00:0d:b9:xx:xx:xx
[edit]
vyos@vyos# commit
[ interfaces ethernet eth0 ]
VyOS had an issue completing a command.
We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Contact us using the online help desk if you have a subscription:
https://support.vyos.io/
- Make sure you are running the latest version of VyOS available at:
https://vyos.net/get/
- Consult the community forum to see how to handle this issue:
https://forum.vyos.io
- Join us on Slack where our users exchange help and advice:
https://vyos.slack.com
When reporting problems, please include as much information as possible:
- do not obfuscate any data (feel free to contact us privately if your
business policy requires it)
- and include all the information presented below
Report time: 2021-10-01 22:52:36
Image version: VyOS 1.3.0-epa1
Release train: equuleus
Built by: Sentrium S.L.
Built on: Tue 28 Sep 2021 14:11 UTC
Build UUID: e67d1006-5116-444a-b984-e3c21de20f5d
Build commit ID: 701f08deb2cd8f
Architecture: x86_64
Boot via: installed image
System type: bare metal
Hardware vendor: PC Engines
Hardware model: apu1
Hardware S/N: <redacted>
Hardware UUID: Unknown
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/interfaces-ethernet.py", line 161, in <module>
verify(c)
File "/usr/libexec/vyos/conf_mode/interfaces-ethernet.py", line 73, in verify
ethtool = Ethtool(ifname)
File "/usr/lib/python3/dist-packages/vyos/ethtool.py", line 88, in __init__
raise ValueError(f'Could not determine auto-negotiation settings '\
ValueError: Could not determine auto-negotiation settings for interface eth0!
noteworthy:
cmd 'ethtool eth0'
returned (out):
Settings for eth0:
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: no
returned (err):
Cannot get device settings: No such device
[[interfaces ethernet eth0]] failed
Commit failed
[edit]
vyos@vyos#