Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Drift churn with extensible attributes #108

Closed
shadtimm opened this issue Oct 18, 2022 · 2 comments
Closed

Drift churn with extensible attributes #108

shadtimm opened this issue Oct 18, 2022 · 2 comments
Assignees
Labels
status: accepted This issue has been accepted by the maintainers team for implementation type: bug

Comments

@shadtimm
Copy link

Environment

  • Python version: 3.9.13
  • Nautobot version: 1.41
  • nautobot-ssot-infoblox version: 0.7.2
  • Infoblox WAPI 2.11

Expected Behavior

After initial Infoblox sync, a subsequent run comes back clean with no additional changes.

Observed Behavior

Consistent drift churn is seen for all records with extensible attributes as seen below:

- prefix
     ! 10.0.0.0/24
          + ext_attrs: {}
          - ext_attrs: {'vrf': '', 'role': '', 'site': '', 'tenant': ''}

...


- vlangroup
     ! default
          + ext_attrs: {}
          - ext_attrs: {'site': ''}

Steps to Reproduce

  1. Run the job to sync initial data
  2. Run the job again and see the drift churn
@shadtimm
Copy link
Author

@jdrew82

@jdrew82
Copy link
Contributor

jdrew82 commented Oct 18, 2022

Thanks for filing this @shadtimm. I have an idea of what's causing this. Will work on addressing it.

@jdrew82 jdrew82 self-assigned this Oct 18, 2022
@jdrew82 jdrew82 added status: accepted This issue has been accepted by the maintainers team for implementation type: bug labels Oct 18, 2022
jdrew82 added a commit that referenced this issue Nov 3, 2022
I've updated both adapters to ensure that the default CustomFields/Extensibility Attributes are loaded for all models. This ensures that he diff now lines up and reduces unnecessary changes from being attempted.
@jdrew82 jdrew82 closed this as completed in 0ca1709 Nov 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted by the maintainers team for implementation type: bug
Projects
None yet
Development

No branches or pull requests

2 participants