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

NetBox DNS is incompatible with NetBox < 3.5.8 #94

Closed
peteeckel opened this issue Nov 10, 2023 · 0 comments · Fixed by #95
Closed

NetBox DNS is incompatible with NetBox < 3.5.8 #94

peteeckel opened this issue Nov 10, 2023 · 0 comments · Fixed by #95
Labels
bug Something isn't working

Comments

@peteeckel
Copy link
Owner

Versions
NetBox Version: 3.5.0 - 3.5.7
NetBox DNS Version: 0.20.2
Python Version: 3.8+

Describe the bug
NetBox DNS is incompatible with NetBox 3.5.0-3.5.7. When the plugin is loaded, these NetBox versions fail to start up, raising an ImportError exception.

To Reproduce
Steps to reproduce the behavior:

  1. Install one of the older NetBox 3.5 releases
  2. Install and configure NetBox DNS 0.20.2

Expected result
NetBox can be started and NetBox DNS is active

Actual result
NetBox fails to start and an ImportError exception is raised. See #90.

The issue is caused by a code change in NetBox 3.5.8 that broke the import for the get_plugin_config method. This was fixed by the core team in NetBox 3.5.9, but now there are two different import statements depending on whether NetBox 3.5.8 or any other supported release is used. This makes NetBox DNS require at least NetBox version 3.5.8, which is an unnecessary restriction.

@peteeckel peteeckel added the bug Something isn't working label Jan 3, 2024
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