Page MenuHomeVyOS Platform

VPP check ethernet interface exist before adding to vpp
In progress, HighPublicBUG

Description

VPP check ethernet interface exist before adding to vpp

set vpp settings interface eth99 driver dpdk
commit

commit:

vyos@r14# commit
[ vpp ]
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/vyos/vpp/utils.py", line 251, in __init__
    ioctl(sockfd, SIOCETHTOOL, ifreq)
OSError: [Errno 19] No such device

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/libexec/vyos/services/vyos-configd", line 136, in run_script
    c = script.get_config(config)
        ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/libexec/vyos//conf_mode/vpp.py", line 152, in get_config
    EthtoolGDrvinfo(iface).driver
    ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/vyos/vpp/utils.py", line 253, in __init__
    raise FileNotFoundError(f'There is no Ethernet device: {iface}')
FileNotFoundError: There is no Ethernet device: eth99

[[vpp]] failed
Commit failed
[edit]
vyos@r14#

Details

Version
VyOS 1.5-current-vpp-202501211103
Is it a breaking change?
Stricter validation
Issue type
Bug (incorrect behavior)

Revisions and Commits

rVYOSONEX vyos-1x

Event Timeline

dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Stricter validation.
natali-rs1985 changed the task status from Open to In progress.Tue, Jan 28, 11:21 AM
natali-rs1985 claimed this task.
Restricted Repository Identity closed this task as Resolved by committing Restricted Diffusion Commit.Wed, Feb 12, 10:46 PM
Restricted Repository Identity added a commit: Restricted Diffusion Commit.