Device and VM count not accurate in delete device role screen #4773

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

Originally created by @rodvand on GitHub (Apr 15, 2021).

NetBox version

v2.11-beta1

Python version

3.8

Steps to Reproduce

  1. Create a Device "Device A"
  2. Create a Device role "Device Role A"
  3. Assign Device Role to "Device A"
  4. Go to Devices -> Device Roles and see the Device count being 1 on Device Role A
  5. Select "Device Role A"
  6. Press "Delete selected" in bottom left corner

Expected Behavior

Table showing the device role should include an accurate count of the Devices and VMs associated.

Observed Behavior

Table is showing 0 on both VM and device count in deletion screen.

Originally created by @rodvand on GitHub (Apr 15, 2021). ### NetBox version v2.11-beta1 ### Python version 3.8 ### Steps to Reproduce 1. Create a Device "Device A" 2. Create a Device role "Device Role A" 3. Assign Device Role to "Device A" 3. Go to Devices -> Device Roles and see the Device count being 1 on Device Role A 4. Select "Device Role A" 5. Press "Delete selected" in bottom left corner ### Expected Behavior Table showing the device role should include an accurate count of the Devices and VMs associated. ### Observed Behavior Table is showing 0 on both VM and device count in deletion screen.
adam added the type: bugstatus: acceptedbeta labels 2025-12-29 19:20:20 +01:00
adam closed this issue 2025-12-29 19:20:20 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4773