@stasonuu Feel free to create a PR
maintainers will take a look. thanks
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Feb 18 2025
Small note, to reproduce it, you have to have at least one route not related to vpp interface, like the default route via eth0, but vpp interface eth1
delete vpp commit
Feb 17 2025
@neilmckee it can wait as long as necessary, thanks!
The prefixes are announced by radvd.service daemon, and keepalived knows nothing about this service.
You have to use scripts with your own logic to skip/stop prefixes or radvd service.
If you need it as a feature request, create a new task/feature.
Bump keepalived version to 2.3.2 https://github.com/vyos/vyos-build/pull/911
Feb 14 2025
At least example is incorrect but the bug with interface still exists if if will fail for some another reason
Probably should use common `interface.py` https://github.com/vyos/vyos-1x/blob/c2238596f7994e51974e9a517fb7ab7e948e955f/src/op_mode/interfaces.py#L468C1-L474C38
Feb 13 2025
Test with gdb
Feb 11 2025
Feb 10 2025
Priorities seems correct
vyos@r14# /usr/libexec/vyos/priority.py | match "container|firew"
450 container.py ['container']
489 firewall.py ['firewall']
[edit]
vyos@r14#Feb 6 2025
Feb 5 2025
Feb 4 2025
The bug is not reproduced via API
Feb 3 2025
Probably simial issue https://vyos.dev/T7129
Feb 2 2025
Feb 1 2025
Jan 31 2025
Jan 30 2025
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.