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

resync falsely detects changes in Status fields #32

Closed
glennmatthews opened this issue Apr 12, 2021 · 0 comments · Fixed by #34
Closed

resync falsely detects changes in Status fields #32

glennmatthews opened this issue Apr 12, 2021 · 0 comments · Fixed by #34
Assignees
Labels
bug Something isn't working

Comments

@glennmatthews
Copy link
Contributor

Environment

  • Python version:
  • Nautobot version: 1.0.0b3
  • nautobot-netbox-importer version: 1.1.0

Expected Behavior

After successfully importing a NetBox data dump, a second re-run of the import process with the same data should report no changes detected.

Observed Behavior

Objects with "status" fields are seen as having changes, e.g.:

  src: NetBox210DiffSync
  dst: NautobotDiffSync
  flags: DiffSyncFlags.SKIP_UNMATCHED_DST
  action: update
  model: site
  unique_id: d25b6c47-2eb1-570e-aee0-8de6b100273d
  diffs: 
    {'+': {'status': {'slug': 'active'}},
     '-': {'status': TaggedForeignKeyField('d29cd273-9e32-4b20-8d65-8f39abac73ad')}}

Steps to Reproduce

  1. nautobot-server import_netbox_json dumps/netbox_dump.json 2.10.5
  2. nautobot-server import_netbox_json dumps/netbox_dump.json 2.10.5 - again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant