-
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
Error when adding new connection to front port. #15016
Comments
Per the bug report template:
Please revise your report above to include complete instructions that someone else can follow to reproduce the reported behavior. Otherwise, it will be closed as invalid. |
Ok, It's a pity but the same bahaviour on all version and you even not need to do anything. To reproduce you should do:
|
Thank you for making the requested updates to your report. I was able to reproduce the behavior on a v3.7.4 system using the new steps provided. I also obtained the following traceback from v3.7.4, which may be helpful to the next person to work this issue:
|
@ivanovuri have you had a chance to re-test this workflow in NetBox 4.0.x? We think there's a chance it got fixed as a side effect of other work, so before I mount a new effort to reproduce it, I thought I'd check with you. |
Double checking the code on this, the problem is here: netbox/netbox/dcim/models/cables.py Line 548 in 67165a9
I don't thinkk this is really a bug (it is currently not supported to have different devices "mid-span" of a cable trace), but we should catch this assertion and report a proper error. |
Deployment Type
Self-hosted
NetBox Version
v3.7.1
Python Version
3.8
Steps to Reproduce
You can reproduce same behaviour in demo.netbox.dev. All devices was created in NewYork site.
Crosses connection looks like this:
Expected Behavior
I expect a new fancy connection to the patch panel.
Observed Behavior
Server Error
<class 'AssertionError'>
Python version: 3.8.10
NetBox version: 3.7.1
Plugins:
netbox_demo: 0.3.1
The text was updated successfully, but these errors were encountered: