Page MenuHomeVyOS Platform

LLDP op-mode error
Closed, ResolvedPublicBUG

Description

If you didn't configure LLDP and try to show neighbors, this will result in an error.

[email protected]:~$ show lldp neighbors 
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/lldp_op.py", line 145, in <module>
    neighbors = minidom.parseString(_get_neighbors())
  File "/usr/lib/python3.7/xml/dom/minidom.py", line 1968, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python3.7/xml/dom/expatbuilder.py", line 925, in parseString
    return builder.parseString(string)
  File "/usr/lib/python3.7/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: syntax error: line 1, column 0

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.3-rolling-202004070927
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

c-po triaged this task as Normal priority.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 7:24 AM
erkin removed a subscriber: Active contributors.