Page MenuHomeVyOS Platform

show interface errors with vrrp configuration
Closed, DuplicatePublicBUG

Description

Configuration:

set high-availability vrrp group FOO interface 'eth1'
set high-availability vrrp group FOO rfc3768-compatibility
set high-availability vrrp group FOO virtual-address '192.0.2.250/24'
set high-availability vrrp group FOO vrid '23'

Show interface:

vyos@r1-roll:~$ show int
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/show_interfaces.py", line 309, in <module>
    actions.get(args.action, missing)(
  File "/usr/libexec/vyos/op_mode/show_interfaces.py", line 48, in handled_function
    function(*args, **kwargs)
  File "/usr/libexec/vyos/op_mode/show_interfaces.py", line 222, in run_show_intf_brief
    for interface in filtered_interfaces(ifnames, iftypes, vif, vrrp):
  File "/usr/libexec/vyos/op_mode/show_interfaces.py", line 77, in filtered_interfaces
    interface = klass(ifname, create=False, debug=False)
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/ethernet.py", line 81, in __init__
    self.ethtool = Ethtool(ifname)
  File "/usr/lib/python3/dist-packages/vyos/ethtool.py", line 60, in __init__
    raise ValueError(f'Could not determine driver for interface {ifname}!')
ValueError: Could not determine driver for interface eth1v23!
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0             192.168.122.11/24                 u/u  
eth1             192.0.2.1/24                      u/u  
vyos@r1-roll:~$

Details

Difficulty level
Normal (likely a few hours)
Version
1.4-rolling-202109020430
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)