Skip to content

Specify 2.8.1 as the minimum version #48

Closed
@lampwins

Description

@lampwins

Environment

  • Python version: 3.7
  • NetBox version: 2.8.0
  • ntc-netbox-plugin-onboarding version: 1.0.0

Steps to Reproduce

  1. Install NetBox v2.8.0
  2. Install plugin
  3. Attempt to run migrations

Expected Behavior

Migrations to successfully apply.

Observed Behavior

django.db.migrations.exceptions.NodeNotFoundError: Migration netbox_onboarding.0001_initial dependencies reference nonexistent parent node ('dcim', '0105_interface_name_collation')

The issue here is the plugin specifies 0105_interface_name_collation as a dependency in its initial migration. This is likely due to the plugin being initially developed against 2.8.1, as that is the NetBox version where that dependant migration first appeared.

Because people have already installed this plugin in environments, the correct solution here is to specify the plugin's minimum NetBox version to be 2.8.1.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions