Toggling cable from installed, to planned back to installed breaks cable tracing.
See original GitHub issueEnvironment
- Python version: 3.9.1
- NetBox version: 2.10.1
After I connect an interface to another interface or rear port (have only tested these two), then toggle the cable from installed, to planned and back to installed, cable tracing breaks with the following error.
<class 'dcim.models.cables.CablePath.DoesNotExist'>
CablePath matching query does not exist.
Python version: 3.9.1
NetBox version: 2.10.1
Steps to Reproduce
- Connect cable to another interface or rear port. Cable tracking works.
- Mark cable as planned. Cable tracking works and shows cable as planned.
- Mark cable as installed. Cable tracing breaks with the error shown above.
Expected Behavior
Expect that toggling the cable between planned and installed doesn’t break tracing.
Observed Behavior
Toggling the cable from installed, to planned back to installed breaks cable tracing.
A side note, I think the icon for a connected and planned cable should be swapped.
Connected cable icon.
Planned cable icon.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Cable Tracing – Up to 600 V? - Fluke Networks
Connecting the Transmitter, technicians using the Receiver can easily trace an individual cable, find shorts and breaks, or locate connections ...
Read more >for use with 3M™ Dynatel™ Cable and Pipe Locators
permanently installed transmitters at strategic locations for use in tracing the cable. If they can transmit 577 Hz, 512 Hz or 560 Hz,...
Read more >CABLE TRACKER - Harbor Freight Tools
The Cable Tracker is designed to safely identify and trace ires or cable. ithout damaging the insulation, and to check cable circuits...
Read more >Power Cable Splicing and Terminating Guide
If a cold shrink or premolded splice is being installed, the appropriate splice components must be slid onto the cable(s) before the connection...
Read more >Tracing out Live Network Cables - YouTube
This clever trick helps you identify un-marked network outlets. A Toner and Tone-probel will not work when a network jack is connected to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I cannot reproduce the problem after setting
CACHE_TIMEOUT = 0
.Ah, I see. This seems to be a caching bug. Just to confirm, if you disable caching by setting
CACHE_TIMEOUT = 0
inconfiguration.py
, can you still reproduce the problem?