ciscodnacnetbox
ciscodnacnetbox copied to clipboard
Unable to sync
This plugin has been installed but i'm unable to get any details to sync between the two enviroments. I could be missing something simple but I'm struggling to find any clear output on what is broken here.
I get this error:
The same shows if I hover over both the site and device sync buttons.
Python version: 3.8.12
NetBox version: 3.2.6
DNA Center version: 2.2.3.5
To add to this i have done some more testing and i can successfully sync with the sandbox dna center. but looking that seems to be running on an older version of DNA.
Could you share the console logs from NetBox as you go to the Status page?
What version of this plugin are you running?
Hi Rob, Apologies for the delay I have been OOO.
I am using version 3.2.3: [root@vmt3unetbox1 bin]# ./pip3 list | grep cisco ciscodnacnetbox 3.2.3
Here are the console logs:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/netbox-3.2.6/venv/lib64/python3.8/site-packages/django/template/base.py", line 898, in _resolve_lookup
raise VariableDoesNotExist(
django.template.base.VariableDoesNotExist: Failed lookup for key [form] in [{'True': True, 'False': False, 'None': None}, {'csrf_token': <SimpleLazyObject: <function csrf.
thanks, i'll try to reproduce this.
I haven't been able to reproduce this problem. The plugin was also tested with Cisco DNA Center version 2.3.4.0
Hi rob, No problem I have done some more digging just and have narrowed the issue down to the domain leading to the proxy rather than the DNA server (a fact I wasn't aware of until just) I can now get them to sync.
However, the sync is missing in about 50% of the devices. We have nearly 1000 devices including access points. But of that net box only syncs 487. I'm still trying to work out if there are any connections between the missing devices but there are no logs to indicate anything crashed/failed.
I'll try to look if there's any pagination needed for 1000 devices
Thanks for that! There doesn't look to be any specific link between the missing devices, i.e. no specific model or location. Just seems to get so far and then stop.