Page MenuHomeVyOS Platform

Operational mode command "show bridge vni" is broken
Closed, ResolvedPublicBUG

Description

without any specific bridge config

vyos@vyos# run show bridge vni
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/bridge.py", line 288, in <module>
    res = vyos.opmode.run(sys.modules[__name__])
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/vyos/opmode.py", line 263, in run
    res = func(**args)
          ^^^^^^^^^^^^
  File "/usr/libexec/vyos/op_mode/bridge.py", line 253, in show_vni
    bridge_vni = _get_raw_data_vni()
                 ^^^^^^^^^^^^^^^^^^^
  File "/usr/libexec/vyos/op_mode/bridge.py", line 61, in _get_raw_data_vni
    json_data = cmd(f'bridge --json vni show')
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/vyos/utils/process.py", line 155, in cmd
    raise OSError(code, feedback)
PermissionError: [Errno 1] failed to run command: bridge --json vni show
returned: [
exit code: 1

reproduced on:

VyOS 1.5-rolling-202409160007
VyOS 1.4-stable-202409170309

Details

Version
VyOS 1.4-stable-202409170309
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

HollyGurza created this object in space S1 VyOS Public.
HollyGurza updated the task description. (Show Details)
Viacheslav changed the subtype of this task from "Task" to "Bug".Oct 23 2024, 5:17 PM
natali-rs1985 changed the task status from Open to In progress.Nov 26 2024, 2:37 PM
natali-rs1985 claimed this task.
dmbaturin renamed this task from op command run show bridge vni is broken to Operational mode command "show bridge vni" is broken.Thu, Nov 13, 12:47 AM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.