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 doesn't handle custom field data safely #31

Closed
glennmatthews opened this issue Apr 12, 2021 · 1 comment · Fixed by #35
Closed

resync doesn't handle custom field data safely #31

glennmatthews opened this issue Apr 12, 2021 · 1 comment · Fixed by #35
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

When a NetBox dump contains custom field data, re-running the import process after an initial import should succeed with minimal (ideally none) reported changes.

Observed Behavior

Similar to #13 and #14, the re-import may complain about Nautobot failing data validation for records containing custom fields that do not match the latest custom field definitions.

Steps to Reproduce

@glennmatthews glennmatthews added the bug Something isn't working label Apr 12, 2021
@glennmatthews glennmatthews self-assigned this Apr 12, 2021
@glennmatthews
Copy link
Contributor Author

This is also an issue with any record updates on the second pass of an initial data import, for example when setting a device's primary_ip4 value (which cannot be set on the first pass due to data loading order), if the device is lacking a required custom field, the device update will fail.

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
Development

Successfully merging a pull request may close this issue.

1 participant