vyos@VyOS-for-Smoke-Tests# delete vpp
[edit]
vyos@VyOS-for-Smoke-Tests# commit
[ vpp ]
Traceback (most recent call last):
File "/usr/libexec/vyos/services/vyos-configd", line 156, in run_script
script.apply(c)
File "/usr/libexec/vyos/conf_mode/vpp.py", line 600, in apply
initialize_interface(
File "/usr/libexec/vyos/conf_mode/vpp.py", line 534, in initialize_interface
iface_new_name: str = control_host.get_eth_name(iface_config['dev_id'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/vyos/vpp/control_host.py", line 227, in get_eth_name
raise FileNotFoundError(
FileNotFoundError: A device with ID 0000:00:05.0 not found in ethernet interfaces
delete [ vpp ] failed
Commit failed
Traceback (most recent call last):
File "/usr/libexec/vyos/reset_section.py", line 116, in <module>
session.commit()
File "/usr/lib/python3/dist-packages/vyos/configsession.py", line 315, in commit
out = self.__run_command([COMMIT])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/vyos/configsession.py", line 242, in __run_command
raise ConfigSessionError(output)
vyos.configsession.ConfigSessionError: [ vpp ]
Traceback (most recent call last):
File "/usr/libexec/vyos/services/vyos-configd", line 156, in run_script
script.apply(c)
File "/usr/libexec/vyos/conf_mode/vpp.py", line 603, in apply
config['persist_config'][iface['iface_name']],
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
KeyError: 'eth1'
delete [ vpp ] failed
Commit failedSteps to reproduce:
set vpp settings interface eth1 driver 'dpdk' commit delete vpp commit
dmesg;
[ 2009.053781] vfio-pci 0000:00:05.0: Removing from iommu group 0 [ 2009.096008] pci 0000:00:05.0: [1ae0:0042] type 00 class 0x020000 [ 2009.149875] pci 0000:00:05.0: reg 0x10: [mem 0xc0202000-0xc0202fff] [ 2009.185028] pci 0000:00:05.0: reg 0x14: [mem 0xc0200000-0xc020007f] [ 2009.221398] pci 0000:00:05.0: reg 0x18: [mem 0xc0000000-0xc00fffff] [ 2009.306565] pci 0000:00:05.0: BAR 2: assigned [mem 0xc0000000-0xc00fffff] [ 2009.317633] pci 0000:00:05.0: BAR 0: assigned [mem 0xc0200000-0xc0200fff] [ 2009.326209] pci 0000:00:05.0: BAR 1: assigned [mem 0xc0201080-0xc02010ff] [ 2009.345802] gve 0000:00:05.0: could not allocate netdev [ 2009.361227] gve: probe of 0000:00:05.0 failed with error -12
vyos@VyOS-for-Smoke-Tests# run sh in
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address MAC VRF MTU S/L Description
----------- ------------ ----------------- ------- ----- ----- -------------
eth0 10.1.1.2/24 42:01:0a:01:01:02 default 1460 u/u WAN
lo 127.0.0.1/8 00:00:00:00:00:00 default 65536 u/u
::1/128
vyos@VyOS-for-Smoke-Tests# run sh vpp in
VPP interfaces not configured
vyos@VyOS-for-Smoke-Tests# run sh hardware pci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 03)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:03.0 Non-VGA unclassified device: Red Hat, Inc. Virtio SCSI
00:04.0 Ethernet controller: Google, Inc. Compute Engine Virtual Ethernet [gVNIC]
00:05.0 Ethernet controller: Google, Inc. Compute Engine Virtual Ethernet [gVNIC]
00:06.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon
00:07.0 Unclassified device [00ff]: Red Hat, Inc. Virtio RNG