Comments (10)
I see that you opened this against nautobot-netbox-importer 1.0.0. Would you mind retesting this against version 1.0.1? I'm unable to reproduce this issue with 1.0.1 and the JSON files you provided.
from nautobot-app-netbox-importer.
Oh sorry Glenn. Thanks a typo. Issue updated.
nautobot-netbox-importer version: 1.0.1
I've added an edited version of the dump. Can you try import this file db_dump_minimal_indented_edited.json
and see if it reproduces the error please? I used this file to manually remove the custom field requirements and also avoid the invalid default value error.
from nautobot-app-netbox-importer.
Thanks for the update! With the edited JSON file you provided, I still don't see any duplicate-object warnings on VLAN Groups, though I do see some for Racks and for VLANs, as well as a single potential duplicate IP address; I'll investigate these more closely as time permits.
from nautobot-app-netbox-importer.
OK, I've added another data dump db_dump_minimal_indented_edited_2.json
to see if that makes a difference.
For ref, I'm getting duplicates for the following models with the db_dump_minimal_indented_edited_2.json
dataset:
- rack
- vlan
- ipaddress
- vlangroup
from nautobot-app-netbox-importer.
Sorry for the delay! I can confirm that with the latest dump you provided that I can see the same duplicate warnings. This looks to be another instance of the more general issue I'm tracking in #21 - basically the problem is that the database considers two records with a NULL
value in one of their unique identifier fields (in your data, in the case of Racks, the group
field; in the case of VLANs, the group
field as well, etc.) to be distinct (because NULL != NULL
in database terms), but Python considers them to be non-unique (because it is representing NULL
as None
, and None == None
in Python). Some design work will be required to figure out how to address this, which I'm working on now.
from nautobot-app-netbox-importer.
from nautobot-app-netbox-importer.
Nautobot 1.0.0b3 has been released, and correspondingly, so has version 1.1.0 of this importer plugin, which includes fix #28. I expect that that fix should resolve this issue as well. If you have the chance to re-test with Nautobot 1.0.0b3 + nautobot-netbox-importer 1.1.0 and let me know how it goes, I'd appreciate it!
from nautobot-app-netbox-importer.
from nautobot-app-netbox-importer.
@pke11y did you try it?
from nautobot-app-netbox-importer.
Difficult to recall, but I think it's say to assume the issue was fixed. We did a lot of testing around that time.
from nautobot-app-netbox-importer.
Related Issues (20)
- Translate non-mapped NetBox fields to Nautobot custom fields
- Add support for importing NetBox 3.5.x data HOT 1
- Add support for importing NetBox 3.6.x data HOT 1
- getting error of version HOT 5
- import_netbox_json instead of import_netbox HOT 5
- Traceback during sync phase when trying to import from Netbox 2.10.8 to Nautobot 1.2.3 HOT 2
- Import of objectpermissions that have constraints consisting of a list of ORed conditions fails
- Various errors when trying to import Netbox data from 3.2.2 HOT 7
- Pylint test fails, due poetry lock dependency issue HOT 1
- Nautobot 1.5.3 makes test fail HOT 1
- Document Seed or Root Key for pk deterministic
- VirtualMachine Model Field VCPU is Decimal in Netbox, but int in Nautobot
- Make --bypass-data-validation able to select models for which data validation should be disabled
- Development Setup - invoke does not start the docs service. HOT 2
- Add support for importing NetBox 3.0.x data
- Add support for importing NetBox 3.1.x data
- Add support for importing NetBox 3.2.x data HOT 3
- Add support for importing NetBox 3.3.x data
- Add support for importing NetBox 3.4.x data
- Update CI testing (including Upstream Testing)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nautobot-app-netbox-importer.