PR submitted
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
All Stories
Feb 2 2025
I've got a patch nearly ready
Feb 1 2025
Tested as working in: VyOS 1.5-rolling-202502011110
Fixed by adding required permission
Jan 31 2025
should be fixed by https://github.com/vyos/vyos.vyos/pull/382
Jan 30 2025
@Apachez could you please assign this task to me?
Note that if you have configured a Git commit archive backend with a password protected SSH key, it will probably hang if you use the REST API to make and commit changes. This is not a problem if you don’t use the API, but it’s something to be aware of.
Been testing, driver module loading is not always automatic. It is likely best to allow an option to specify the module to load. The vyos config syntax could likely be based this https://github.com/vyos-legacy/vyatta-watchdog/blob/current/README.md
Fixed without sleep used 04-patch
fixed
vyos@r16# set vpp interfaces gre gre0 remote '192.0.2.2' [edit] vyos@r16# set vpp interfaces gre gre0 source-address '192.0.2.1' [edit] vyos@r16# commit run show vpp in [ vpp ] WARNING: offload option in eth1 settings is not supported by VPP interfaces. It will be ignored.
Additional related logs:
Jan 30 12:35:46 r16 netplugd[1022]: eth1: state INNING flags 0x00011043 UP,BROADCAST,RUNNING,MULTICAST,10000 -> 0x00001002 BROADCAST,MULTICAST
Jan 30 12:35:46 r16 vpp[2756]: interface/rx-queue: setting rx mode on the interface eth1 queue-id 0 failed.
dpdk_interface_rx_mode_change: unsupported op (is the interface up?)
Jan 30 12:35:46 r16 vyos-configd[751]: Traceback (most recent call last):
Jan 30 12:35:46 r16 vyos-configd[751]: File "/usr/libexec/vyos/services/vyos-configd", line 139, in run_script
Jan 30 12:35:46 r16 vyos-configd[751]: script.apply(c)
Jan 30 12:35:46 r16 vyos-configd[751]: File "/usr/libexec/vyos//conf_mode/vpp.py", line 560, in apply
Jan 30 12:35:46 r16 vyos-configd[751]: vpp_control.iface_rxmode(iface, rx_mode)
Jan 30 12:35:46 r16 vyos-configd[751]: File "/usr/lib/python3/dist-packages/vyos/vpp/control_vpp.py", line 81, in check_retval_wrapper
Jan 30 12:35:46 r16 vyos-configd[751]: raise VPPValueError(f'VPP API call failed: {return_value.retval}')
Jan 30 12:35:46 r16 vyos-configd[751]: vpp_papi.vpp_papi.VPPValueError: VPP API call failed: -9
Jan 30 12:35:46 r16 vpp[2756]: set_hw_interface_change_rx_mode: unable to set rx-mode on interface eth1 queue-id 0.
Jan 30 12:35:46 r16 vyos-configd[751]: Sending reply: error_code 2 with output
Jan 30 12:35:46 r16 vyos-configd[751]: scripts_called: ['vpp']
Jan 30 12:35:47 r16 systemd[1]: opt-vyatta-config-tmp-new_config_2587.mount: Deactivated successfully.
Jan 30 12:35:47 r16 netplugd[1022]: eth1: state INNING flags 0x00001043 UP,BROADCAST,RUNNING,MULTICAST -> 0x00001002 BROADCAST,MULTICAST
Jan 30 12:35:47 r16 netplugd[2825]: /etc/netplug/netplug eth1 probe -> pid 2825
Jan 30 12:35:48 r16 netplugd[2826]: /etc/netplug/netplug eth1 probe -> pid 2826
Jan 30 12:35:48 r16 netplugd[1022]: eth1: state PROBING pid 2826 exited status 256
Jan 30 12:35:48 r16 netplugd[1022]: Could not bring eth1 back up
Jan 30 12:37:04 r16 systemd[1]: opt-vyatta-config-tmp-new_config_2587.mount: Deactivated successfully.
Jan 30 12:38:55 r16 vyos-configd[751]: Received message: {"type": "init"}
Jan 30 12:38:55 r16 vyos-configd[751]: config session pid is 2587
Jan 30 12:38:55 r16 vyos-configd[751]: config session sudo_user is vyos
Jan 30 12:38:55 r16 vyos-configd[751]: commit_scripts: ['vpp']
Jan 30 12:38:55 r16 vyos-configd[751]: Received message: {"type": "node", "last": true, "data": "/usr/libexec/vyos/conf_mode/vpp.py"}
Jan 30 12:38:55 r16 vyos-configd[751]: Traceback (most recent call last):
Jan 30 12:38:55 r16 vyos-configd[751]: File "/usr/libexec/vyos/services/vyos-configd", line 137, in run_script
Jan 30 12:38:55 r16 vyos-configd[751]: script.verify(c)
Jan 30 12:38:55 r16 vyos-configd[751]: File "/usr/libexec/vyos//conf_mode/vpp.py", line 330, in verify
Jan 30 12:38:55 r16 vyos-configd[751]: if not verify_dev_driver(iface, iface_config['driver']):
Jan 30 12:38:55 r16 vyos-configd[751]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 30 12:38:55 r16 vyos-configd[751]: File "/usr/lib/python3/dist-packages/vyos/vpp/config_verify.py", line 149, in verify_dev_driver
Jan 30 12:38:55 r16 vyos-configd[751]: driver: str = get_eth_driver(iface_name)
Jan 30 12:38:55 r16 vyos-configd[751]: ^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 30 12:38:55 r16 vyos-configd[751]: File "/usr/lib/python3/dist-packages/vyos/vpp/control_host.py", line 271, in get_eth_driver
Jan 30 12:38:55 r16 vyos-configd[751]: raise FileNotFoundError(f'PCI device {iface} not found in ethernet interfaces')
Jan 30 12:38:55 r16 vyos-configd[751]: FileNotFoundError: PCI device eth1 not found in ethernet interfaces
Jan 30 12:38:55 r16 vyos-configd[751]: Sending reply: error_code 2 with output
Jan 30 12:38:55 r16 vyos-configd[751]: scripts_called: ['vpp']
Jan 30 12:38:55 r16 systemd[1]: opt-vyatta-config-tmp-new_config_2587.mount: Deactivated successfully.
Jan 30 12:45:07 r16 systemd[1]: Starting systemd-tmpfiles-clean.service - Cleanup of Temporary Directories...
Jan 30 12:45:07 r16 systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
Jan 30 12:45:07 r16 systemd[1]: Finished systemd-tmpfiles-clean.service - Cleanup of Temporary Directories.
Jan 30 12:45:07 r16 systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dclean.service.mount: Deactivated successfully.