Page MenuHomeVyOS Platform

VPP: 'show vpp ipfix' unhandled exception when vpp is not enabled
Closed, ResolvedPublicBUG

Description

Executing show command with no vpp enabled:

vyos@vyos:~$ sh vpp ipfix 
Possible completions:
  collectors            Show IPFIX collectors
  interfaces            Show IPFIX interfaces
  table                 Show IPFIX table

      
vyos@vyos:~$ sh vpp ipfix interfaces 
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/vpp.py", line 414, in <module>
    res = vyos.opmode.run(sys.modules[__name__])
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/vyos/opmode.py", line 312, in run
    res = func(**args)
          ^^^^^^^^^^^^
  File "/usr/libexec/vyos/op_mode/vpp.py", line 375, in show_ipfix_interfaces
    return VPPShow().ipfix_interfaces(raw)
           ^^^^^^^^^
  File "/usr/libexec/vyos/op_mode/vpp.py", line 72, in __init__
    self.vpp = VPPControl()
               ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/vyos/vpp/control_vpp.py", line 109, in __init__
    raise VPPIOError(2, 'Cannot connect to VPP API')
vpp_papi.vpp_papi.VPPIOError: [Errno 2] Cannot connect to VPP API

Details

Version
2026.01.05-0023-rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav changed the task status from Open to In progress.Jan 12 2026, 1:51 PM
Viacheslav claimed this task.

PR https://github.com/vyos/vyos-1x/pull/4941

vyos@r14:~$ show vpp ipfix interfaces 
"vpp ipfix interface" is not configured
vyos@r14:~$ 
vyos@r14:~$ show vpp ipfix collectors 
"vpp ipfix collector" is not configured
vyos@r14:~$ 
vyos@r14:~$ show vpp ipfix table 
"vpp ipfix" is not configured
vyos@r14:~$
Viacheslav moved this task from Need Triage to Completed on the VyOS Rolling board.