Page MenuHomeVyOS Platform

show interfaces wireless info
Closed, ResolvedPublicBUG

Description

I do not actually have any wireless interfaces configured, or any wireless capable devices, but still:

shell
vyos@vyos:~$ show version 
Version:          VyOS 1.5-rolling-202312010026
Release train:    current

Built by:         [email protected]
Built on:         Fri 01 Dec 2023 01:45 UTC
Build UUID:       fc11f2ef-580c-459c-bc97-ffaf9151f046
Build commit ID:  e4e3701775b91d

Architecture:     x86_64
Boot via:         livecd
System type:      bare metal

Hardware vendor:  To Be Filled By O.E.M.
Hardware model:   To Be Filled By O.E.M.
Hardware S/N:     To Be Filled By O.E.M.
Hardware UUID:    03000200-0400-0500-0006-000700080009

Copyright:        VyOS maintainers and contributors
vyos@vyos:~$ 

vyos@vyos:~$ show interfaces wireless info 
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/interfaces_wireless.py", line 181, 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/interfaces_wireless.py", line 35, in _wrapper
    raise vyos.opmode.UnconfiguredSubsystem(unconf_message)
                                            ^^^^^^^^^^^^^^
NameError: name 'unconf_message' is not defined
vyos@vyos:~$

Details

Difficulty level
Easy (less than an hour)
Version
1.5-rolling-202312010026
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

dmbaturin added a project: VyOS 1.4 Sagitta.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.

Fixed:

vyos@r4:~$ show interfaces wireless info 
No Wireless interfaces configured
vyos@r4:~$ 
vyos@r4:~$ 
vyos@r4:~$ show version 
Version:          VyOS 1.5-rolling-202401190024
Release train:    current
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.5 Circinus board.
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.