-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Can't assign primary IP when creating new IP address #12953
Comments
Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports. |
I can replicate this fine. The fix here is broken: b64b19a#diff-04bd663083dc2a523d431cef07afcaba54ea042bd1113aabcf88afd3d92de1d3R350 For new objects Replication steps if the original were not enough:
|
Hello, I've come across this issue in previous versions and then found a related issue from 2018 (#2342), then someone pointed to me that the issue has been solved in a following release, unfortunately this isn't the case. The way I'm testing it is this: I'm making the changes through the API (pynetbox).
92 is the id of the ceph-mon-002's network interface.
However the primary IP of ceph-mon-002 doesn't change:
This is confirmed on the GUI, in that, in the VM section, I can see the primary ip: But when I try to edit the VM, I'm not seeing it set as primary ip: The only way I can remove it as a primary IP is through pynetbox:
I'm using version 3.5.5 on Ubuntu 22.04 |
NetBox version
v3.5.4
Python version
3.8
Steps to Reproduce
This is not possible anymore, getting below error message
Expected Behavior
Observed Behavior
The text was updated successfully, but these errors were encountered: