Skip to content
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

ACI loading requires tag on ACI agnostic objects resulting in duplication exceptions #669

Open
kingfetty opened this issue Jan 17, 2025 · 0 comments · May be fixed by #671
Open

ACI loading requires tag on ACI agnostic objects resulting in duplication exceptions #669

kingfetty opened this issue Jan 17, 2025 · 0 comments · May be fixed by #671

Comments

@kingfetty
Copy link
Contributor

kingfetty commented Jan 17, 2025

Environment

  • Python version: 3.11
  • Nautobot version: 2.3.15
  • nautobot-ssot version: 3.4.0

Expected Behavior

ACI SSoT will be able to sync with an ACI fabric even if objects such as DeviceType, InterfaceTemplate, and Prefix already exist within Nautobot.

Observed Behavior

If DeviceType or InterfaceTemplate already exist within the Nautobot system prior to ACI sync and do not have the proper tags applied the sync will fail because the sync tries to create an object that already exists with the same primary key.

Steps to Reproduce

  1. Configure a Nautobot instance to sync to an ACI fabric
  2. Create a DeviceType for some of the switch models that will exist inside the ACI fabric
  3. Attempt to sync with the ACI fabric
  4. Note the sync fails because it tries to create a DeviceType that already exists. This is because the query against DeviceType excludes objects that do not have the proper tag applied. Device Types will likely exist inside and outside the ACI fabric so the tag filter should not be applied to the query.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant