-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible gRPC issue with Arista SSoT #467
Comments
Traceback:
This was an error brought to me by @chambersh1129 while at Cisco Live. I need dig into it more but I wanted to get the issue open. @chambersh1129 can you provide the python version you are using? |
Python Version: 3.11.9 PLUGINS_CONFIG Arista SSoT Snippet: PLUGINS_CONFIG = {
"nautobot_ssot": {
"enable_aristacv": True,
"aristacv_cvp_token": os.getenv("NAUTOBOT_ARISTACV_TOKEN", ""),
"aristacv_cvaas_url": "www.arista.io:443",
"aristacv_verify": is_truthy(os.getenv("NAUTOBOT_ARISTACV_VERIFY", True)),
"aristacv_from_cloudvision_default_site": "cloudvision_imported",
"aristacv_from_cloudvision_default_device_role": "network",
"aristacv_from_cloudvision_default_device_role_color": "ff0000",
"aristacv_delete_devices_on_sync": is_truthy(os.getenv("NAUTOBOT_ARISTACV_DELETE_ON_SYNC", False)),
"aristacv_apply_import_tag": is_truthy(os.getenv("NAUTOBOT_ARISTACV_IMPORT_TAG", True)),
"aristacv_import_active": is_truthy(os.getenv("NAUTOBOT_ARISTACV_IMPORT_ACTIVE", False)),
"aristacv_create_controller": is_truthy(os.getenv("NAUTOBOT_ARISTACV_CREATE_CONTROLLER", False)),
"aristacv_controller_site": os.getenv("NAUTOBOT_ARISTACV_CONTROLLER_SITE", ""),
"aristacv_hostname_patterns": [], # scrubbed
"aristacv_site_mappings": {}, # scrubbed
"aristacv_role_mappings": {}, # scrubbed
},
} |
edit: was building from an older nautobot docker image (2.2.4). versions and logs updated to reflect latest 2.2.9 build. Following up on this, today I upgraded Nautobot and SSOT plugin:
I am getting the same exception. Traceback:
|
@chambersh1129 Is this still an issue? Unfortunately, we don't have a CVP instance to test against at this time so we can't validate if this is still occurring or how to fix it. |
@chambersh1129 Can you see if the PR #580 solves the issue you're experiencing? It should at least allow the code to bypass the RpcError that's being thrown. |
Hi @jdrew82, we shifted course and started using the IPFabric integration which is working for us. I currently don't have the cycles nor a DEV environment to test the Arista CV integration and the IPFabric integration is vendor agnostic and all inclusive. This can be kept open if you want to use it for tracking/reminder to test in the future. If I'm the only person who has brought up the issue then it can be closed/resolved. |
@chambersh1129 Appreciate the response. The Arista team has reached out to provide a test instance for us to use. I believe they stated they were able to reproduce the issue so we should hopefully have a fix available in the near future. I'll leave this open for the time being while we work to resolve the bug. |
Environment
Expected Behavior
Running the Arista SSoT successfully populates data into Nautobot.
Observed Behavior
A gRPC error is raised during the sync.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: