-
Notifications
You must be signed in to change notification settings - Fork 2.7k
IPAddress DHCP status is not migrated #4027
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
Comments
Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using one of the templates provided here. For general discussion, questions, or assistance with installation issues, please post to our mailing list instead. |
To be clear, I have attempted to reproduce this at https://master.netbox.dansheps.com and I am unable to. Please provide exact steps to reproduce if you wish for us to revisit this, however this seems like it may be a missing step in a upgrade rather then a bug at first glance. |
ba8f324 does not migrate the status "DHCP" to slug.
Alright, this helps now, I will have to go back to 2.6.x and test this out |
Just as a quick update, the migration code is in there, so unless something else is happening it should migrate. Are you fully migrated (can you try running the migrations again?) |
Yes. By running
|
It is hard to rerun the migration. I have already created a new migration patch and applied it. |
FYI: I see the same problem. In a system migrated from 2.6 to 2.7:
I hadn't noticed until now - thanks for detecting this. In the GUI, status displays as a white 5 on a white background, which is invisible. When you hover over it, the background changes to grey so it is visible (just). |
The PR above will fix this, but if you'd rather not wait for the next release, you can do this to apply the fix immediately:
(The number returned at the end indicates the number of IP addresses updated.) |
Fixes #4027: Repair schema migration for IP addresses with DHCP status
Uh oh!
There was an error while loading. Please reload this page.
Environment
Steps to Reproduce
Expected Behavior
Show the IP correctly
Observed Behavior
Key Not Found: '5'
The text was updated successfully, but these errors were encountered: