Napalm LLDP neighbors works through the REST API, but fails intermittently in the UI #7989
Unanswered
danielc839
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to figure out an issue with Napalm in our Netbox 3.0.2 deployment (netbox-docker 1.3.1). When I try to get LLDP neighbors via the API (e.g.
https://acme.com/api/dcim/devices/2345/napalm/?method=get_lldp_neighbors
), the data is returned successfully. However, if I try to get this data through the Netbox UI (e.g.https://acme.com/dcim/devices/2345/lldp-neighbors/
), then the LLDP columns ("LLDP device" and "LLDP interface") are blank.Looking at the logs, nothing seems wrong. These are the logs that show up when I reload the Netbox UI for LLDP neighbors:
And here is the request to the same device via the API:
I tried this with several NCS5508s (Cisco IOS XR),
the issue seems to occur randomly. The same device works and then later does not work.EDIT: it actually seems like the issue happens fairly consistently on the same devices, though I believe I have seen devices not work, and then work. The response to the requests takes roughly 10 seconds.Thinking this might be a timeout issue, I tried bumping up the Napalm timeout variable, and also setting a timeout of 60 seconds in nginx-unit.json. Neither worked.
Are there any other logs I could look at, or any other setting I could change for this?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions