Device deletion fails for devices with connected objects #4996

Closed
opened 2025-12-29 19:23:01 +01:00 by adam · 0 comments
Owner

Originally created by @exokernel on GitHub (Jun 14, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v2.11.6

Python version

3.7

Steps to Reproduce

  1. Create a new device (I created a Dell Application Server in the demo site)
  2. Create a network interface
  3. Connect the network interface to a switch interface
  4. Delete the device via the UI

Expected Behavior

The device is deleted and no longer shows up in search results

Observed Behavior

The device remains even after deletion apparently succeeded with no errors. It will show up in search results still and is still connected to switchport.

Originally created by @exokernel on GitHub (Jun 14, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v2.11.6 ### Python version 3.7 ### Steps to Reproduce 1. Create a new device (I created a Dell Application Server in the demo site) 2. Create a network interface 3. Connect the network interface to a switch interface 4. Delete the device via the UI ### Expected Behavior The device is deleted and no longer shows up in search results ### Observed Behavior The device remains even after deletion apparently succeeded with no errors. It will show up in search results still and is still connected to switchport.
adam added the type: bugstatus: accepted labels 2025-12-29 19:23:01 +01:00
adam closed this issue 2025-12-29 19:23:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4996