Error when deleting a device connected with connected a power port #2318

Closed
opened 2025-12-29 17:24:46 +01:00 by adam · 1 comment
Owner

Originally created by @coloHsq on GitHub (Jan 28, 2019).

Environment

  • Python version: 3.6.7
  • NetBox version: 2.5.3

Steps to Reproduce

  1. Just try to delete a device with at least one connected power port.

Expected Behavior

As in older versions the device should be deleted without errors

Observed Behavior

The device and its connections are actually deleted, but immediately after confirming the deletion, it returns an error: "Device matching query does not exist"

Originally created by @coloHsq on GitHub (Jan 28, 2019). ### Environment * Python version: 3.6.7 * NetBox version: 2.5.3 ### Steps to Reproduce 1. Just try to delete a device with at least one connected power port. ### Expected Behavior As in older versions the device should be deleted without errors ### Observed Behavior The device and its connections are actually deleted, but immediately after confirming the deletion, it returns an error: "Device matching query does not exist"
adam added the type: bugstatus: accepted labels 2025-12-29 17:24:46 +01:00
adam closed this issue 2025-12-29 17:24:46 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 29, 2019):

Note: This can be triggered by any type of DeviceComponent, not just power ports.

@jeremystretch commented on GitHub (Jan 29, 2019): Note: This can be triggered by any type of DeviceComponent, not just power ports.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2318