Missing info on circuits terminations points #3747

Closed
opened 2025-12-29 18:30:53 +01:00 by adam · 6 comments
Owner

Originally created by @zacho112 on GitHub (Jun 4, 2020).

  • Python version: 3.6
  • NetBox version: 2.8.4

Steps to Reproduce

  1. Add a new circuit
  2. Add a termination point A (Add site + speed)
  3. Add a termination point Z (Add site + speed)
  4. Add a connection on termination point Z, select destination device + interface

Expected Behavior

The interface on the device shows connection to the Circuit and vise versa.

Observed Behavior

Both the interface and the termination point only shows connection to the cable, not the device/interface

This happened after a recent update from 2.7.7.

If I delete the termination point A, and edit the cable the missing info shows up.

Circuit:
{ "id": 12, "cid": "CID", "provider": { "id": 5, "url": "https://<netboxurl>/api/circuits/providers/5/", "name": "ISP", "slug": "isp" }, "type": { "id": 4, "url": "https://<netboxurl>/api/circuits/circuit-types/4/", "name": "Point2Point", "slug": "point2point" }, "status": { "value": "active", "label": "Active", "id": 1 }, "tenant": { "id": 8, "url": "https://<netboxurl>/api/tenancy/tenants/8/", "name": "ISP", "slug": "ISP" }, "install_date": null, "commit_rate": null, "description": "", "termination_a": { "id": 14, "url": "https://<netboxurl>/api/circuits/circuit-terminations/14/", "site": { "id": 1332, "url": "https://<netboxurl>/api/dcim/sites/1332/", "name": "SiteA", "slug": "sitea" }, "connected_endpoint": { "id": 18983, "url": "https://<netboxurl>/api/dcim/interfaces/18983/", "device": { "id": 872, "url": "https://<netboxurl>/api/dcim/devices/872/", "name": "sw_1", "display_name": "sw_1" }, "name": "TenGigabitEthernet8/8", "cable": null, "connection_status": null }, "port_speed": 10000000, "upstream_speed": null, "xconnect_id": "" }, "termination_z": { "id": 38, "url": "https://<netboxurl>/api/circuits/circuit-terminations/38/", "site": { "id": 1318, "url": "https://<netboxurl>/api/dcim/sites/1318/", "name": "SiteB", "slug": "siteb" }, "connected_endpoint": null, "port_speed": 10000000, "upstream_speed": null, "xconnect_id": "" }, "comments": "", "tags": [], "custom_fields": {}, "created": "2020-03-18", "last_updated": "2020-06-04T12:12:08.179384+02:00" }

Circuit termination:
{ "id": 38, "circuit": { "id": 12, "url": "https://<netboxurl>/api/circuits/circuits/12/", "cid": "CID" }, "term_side": "Z", "site": { "id": 1318, "url": "https://<netboxurl>/api/dcim/sites/1318/", "name": "SiteB", "slug": "siteb" }, "port_speed": 10000000, "upstream_speed": null, "xconnect_id": "", "pp_info": "", "description": "", "connected_endpoint_type": null, "connected_endpoint": null, "connection_status": null, "cable": { "id": 857, "url": "https://<netboxurl>/api/dcim/cables/857/", "label": "" } }

Cable:
{ "id": 857, "termination_a_type": "circuits.circuittermination", "termination_a_id": 38, "termination_a": { "id": 38, "url": "https://<netboxurl>/api/circuits/circuit-terminations/38/", "circuit": { "id": 12, "url": "https://<netboxurl>/api/circuits/circuits/12/", "cid": "CID" }, "term_side": "Z" }, "termination_b_type": "dcim.interface", "termination_b_id": 17127, "termination_b": { "id": 17127, "url": "https://<netboxurl>/api/dcim/interfaces/17127/", "device": { "id": 1094, "url": "https://<netboxurl>/api/dcim/devices/1094/", "name": "sw_2", "display_name": "sw_2" }, "name": "Ethernet48", "cable": 857, "connection_status": null }, "type": "", "status": { "value": "connected", "label": "Connected", "id": true }, "label": "", "color": "", "length": null, "length_unit": null }

Originally created by @zacho112 on GitHub (Jun 4, 2020). * Python version: 3.6 * NetBox version: 2.8.4 ### Steps to Reproduce 1. Add a new circuit 2. Add a termination point A (Add site + speed) 3. Add a termination point Z (Add site + speed) 4. Add a connection on termination point Z, select destination device + interface ### Expected Behavior The interface on the device shows connection to the Circuit and vise versa. ### Observed Behavior Both the interface and the termination point only shows connection to the cable, not the device/interface This happened after a recent update from 2.7.7. If I delete the termination point A, and edit the cable the missing info shows up. Circuit: `{ "id": 12, "cid": "CID", "provider": { "id": 5, "url": "https://<netboxurl>/api/circuits/providers/5/", "name": "ISP", "slug": "isp" }, "type": { "id": 4, "url": "https://<netboxurl>/api/circuits/circuit-types/4/", "name": "Point2Point", "slug": "point2point" }, "status": { "value": "active", "label": "Active", "id": 1 }, "tenant": { "id": 8, "url": "https://<netboxurl>/api/tenancy/tenants/8/", "name": "ISP", "slug": "ISP" }, "install_date": null, "commit_rate": null, "description": "", "termination_a": { "id": 14, "url": "https://<netboxurl>/api/circuits/circuit-terminations/14/", "site": { "id": 1332, "url": "https://<netboxurl>/api/dcim/sites/1332/", "name": "SiteA", "slug": "sitea" }, "connected_endpoint": { "id": 18983, "url": "https://<netboxurl>/api/dcim/interfaces/18983/", "device": { "id": 872, "url": "https://<netboxurl>/api/dcim/devices/872/", "name": "sw_1", "display_name": "sw_1" }, "name": "TenGigabitEthernet8/8", "cable": null, "connection_status": null }, "port_speed": 10000000, "upstream_speed": null, "xconnect_id": "" }, "termination_z": { "id": 38, "url": "https://<netboxurl>/api/circuits/circuit-terminations/38/", "site": { "id": 1318, "url": "https://<netboxurl>/api/dcim/sites/1318/", "name": "SiteB", "slug": "siteb" }, "connected_endpoint": null, "port_speed": 10000000, "upstream_speed": null, "xconnect_id": "" }, "comments": "", "tags": [], "custom_fields": {}, "created": "2020-03-18", "last_updated": "2020-06-04T12:12:08.179384+02:00" }` Circuit termination: `{ "id": 38, "circuit": { "id": 12, "url": "https://<netboxurl>/api/circuits/circuits/12/", "cid": "CID" }, "term_side": "Z", "site": { "id": 1318, "url": "https://<netboxurl>/api/dcim/sites/1318/", "name": "SiteB", "slug": "siteb" }, "port_speed": 10000000, "upstream_speed": null, "xconnect_id": "", "pp_info": "", "description": "", "connected_endpoint_type": null, "connected_endpoint": null, "connection_status": null, "cable": { "id": 857, "url": "https://<netboxurl>/api/dcim/cables/857/", "label": "" } }` Cable: `{ "id": 857, "termination_a_type": "circuits.circuittermination", "termination_a_id": 38, "termination_a": { "id": 38, "url": "https://<netboxurl>/api/circuits/circuit-terminations/38/", "circuit": { "id": 12, "url": "https://<netboxurl>/api/circuits/circuits/12/", "cid": "CID" }, "term_side": "Z" }, "termination_b_type": "dcim.interface", "termination_b_id": 17127, "termination_b": { "id": 17127, "url": "https://<netboxurl>/api/dcim/interfaces/17127/", "device": { "id": 1094, "url": "https://<netboxurl>/api/dcim/devices/1094/", "name": "sw_2", "display_name": "sw_2" }, "name": "Ethernet48", "cable": 857, "connection_status": null }, "type": "", "status": { "value": "connected", "label": "Connected", "id": true }, "label": "", "color": "", "length": null, "length_unit": null }`
adam added the status: duplicate label 2025-12-29 18:30:53 +01:00
adam closed this issue 2025-12-29 18:30:53 +01:00
Author
Owner

@fullgore commented on GitHub (Jun 11, 2020):

Exact same issue on upgrade from 2.7.10 => 2.8.5.

@fullgore commented on GitHub (Jun 11, 2020): Exact same issue on upgrade from 2.7.10 => 2.8.5.
Author
Owner

@keepworld commented on GitHub (Jun 11, 2020):

We observed a similar behavior when creating new circuits with both A/Z side connected to a device interface. (Existing circuits are fine)

Creating a new circuit with only A side connected to a device interface works okay.

As soon as Z side is connected infos are missing in the circuit view for Z side.
Also circuit termination isn't displayed on the device view (both sides), it's show that devices are directly connected (which is not the case).

@keepworld commented on GitHub (Jun 11, 2020): We observed a similar behavior when creating new circuits with both A/Z side connected to a device interface. (Existing circuits are fine) Creating a new circuit with only A side connected to a device interface works okay. As soon as Z side is connected infos are missing in the circuit view for Z side. Also circuit termination isn't displayed on the device view (both sides), it's show that devices are directly connected (which is not the case).
Author
Owner

@keepworld commented on GitHub (Jun 11, 2020):

Circuit A/Z Side :
Screenshot 2020-06-11 at 09 51 17

Device view (physical interface):
Screenshot 2020-06-11 at 09 51 39

@keepworld commented on GitHub (Jun 11, 2020): Circuit A/Z Side : ![Screenshot 2020-06-11 at 09 51 17](https://user-images.githubusercontent.com/4347576/84359817-7486f800-abc9-11ea-97fa-1c8f6885c0ab.png) Device view (physical interface): ![Screenshot 2020-06-11 at 09 51 39](https://user-images.githubusercontent.com/4347576/84359863-89fc2200-abc9-11ea-85b2-9d1a8cfbeb99.png)
Author
Owner

@shdxiang commented on GitHub (Jun 15, 2020):

The same issue when 2.7.12 => 2.8.5.

@shdxiang commented on GitHub (Jun 15, 2020): The same issue when 2.7.12 => 2.8.5.
Author
Owner

@zacho112 commented on GitHub (Jun 15, 2020):

I guess its the same issue as in https://github.com/netbox-community/netbox/issues/4619

@zacho112 commented on GitHub (Jun 15, 2020): I guess its the same issue as in https://github.com/netbox-community/netbox/issues/4619
Author
Owner

@DanSheps commented on GitHub (Jun 15, 2020):

Duplicate of #4619

@DanSheps commented on GitHub (Jun 15, 2020): Duplicate of #4619
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3747