nautobot-app-netbox-importer
nautobot-app-netbox-importer copied to clipboard
Various errors when trying to import Netbox data from 3.2.2
Environment
- Python version:
- Nautobot version:
- nautobot-netbox-importer version:
Expected Behavior
Import data fine
Observed Behavior
Redis errors
Steps to Reproduce
- Export data from current netbox 3.2.2:
python netbox/manage.py dumpdata
--traceback --format=json
--exclude admin.logentry --exclude sessions.session
--exclude extras.ObjectChange --exclude extras.Script --exclude extras.Report
> /tmp/netbox_data.json
2. Setup nautobot on fresh server as per documentation (Install pre-requests + nautobox upto the nautobot-server migrate step
3. copy the netbox data to new server
4. nautobot-server import_netbox_json /tmp/netbox_data.json 2.10.3
5. Random redis error - full error attached
Looks like you're using Python 3.6 - latest versions of Nautobot do not support Python 3.6 any more, and various dependencies have also dropped Python 3.6 support as well. Can you retry with a more recent Python version? Also, can you confirm what Nautobot version you're trying to import into?
Recreated steps using Python 3.8 Same error edis.exceptions.ResponseError: Error running script (call to f_0605214935a9ffcd4b9e5779300302540ff08da4): @user_script:36: @user_script: 36: Unknown Redis command called from Lua script Installing onto nautobot v1.3.6
Some googling suggests that maybe this could indicate that your Redis server is running an older version than is required. I believe 4.0 is currently the minimum required version. Can you check that?
Looks like the Redis was 'an' issue. the default yum redis version was 3.6 something. Updated to latest but still getting some data validation/mismatch errors. This was while migrating some tokens across
That error looks like something's off about your database migration status - column "advanced_ui" of relation "extras_customfield" does not exist suggests to me that you haven't run migration 0025_add_advanced_ui_boolean_to_customfield_conputedfield_and_relationship before running the plugin.
Getting this trying to import an export from netbox 3.2.7 to nautobot 1.3.8
nautobot@fc59e4d682b3:~$ nautobot-server import_netbox_json /tmp/netbox_data.json 3.2.7 CommandError: Maximum NetBox version supported is 2.10.8
Getting this trying to import an export from netbox 3.2.7 to nautobot 1.3.8
fc59e4d682b3:~$ nautobot-server import_netbox_json /tmp/netbox_data.json 3.2.7 CommandError: Maximum NetBox version supported is 2.10.8
Hi @christiankratzer , Netbox 2.10.8 is the current maximum supported version, but we are actively working on extending support to newer versions.