-
Notifications
You must be signed in to change notification settings - Fork 12
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
Handle Foreign key contraints during import #155
Comments
Hi @harsh-kotak, thanks for reporting this, and sorry for the delayed response. The latest released version is not compatible with Nautobot https://github.com/nautobot/nautobot-app-netbox-importer/tree/u/snaselj-nautobot-v2.2 Regarding mapping from Nautobot to NetBox UIDs, it should be possible to find that in the detailed logs. If you find the first occurrence of the required Nautobot UUID (e.g.
Not the most straightforward way to find it, but it should work for now. We will consider adding a more user-friendly way to find this information in the future. Cheers, |
Hi @snaselj, I may be facing a quite similar issue here. My nautobot version, however, is 2.0.6 while my netbox version is 3.7.1. When importing, I get the following error also related to fk constraints and a cable_id not being present in the dcim_cable table:
When looking at the mappings.txt file, I find the following concerning this UUID:
Is there anything I can do to fix it? Or maybe should I create a separate issue? Thanks! |
Hi @helderbetiol, creating a separate issue would be helpful. Than you! |
Apologies for late response but the foreign key error is still present in new develop branch.
|
@harsh-kotak Could you provide sample data as well as retesting with the latest release of Netbox Importer? |
Hi, |
I'm also seeing this issue still. Is there any updates? |
Environment
Netbox data import
Foreign key contraints
I am trying to migrate to nautobot from netbox 3.6.7. The import fails with the below error. Is there a way to narrow down the issue to a particular Netbox cable ID rather than a nautobot UUID which does not help. We have hundreds of devices and associated cable info in netbox so not sure how to navigate this. Any inputs would be appreciated.
The text was updated successfully, but these errors were encountered: