Space utilization starts at 1.2% for a new rack #6891

Closed
opened 2025-12-29 19:46:25 +01:00 by adam · 2 comments
Owner

Originally created by @abhi1693 on GitHub (Aug 27, 2022).

Originally assigned to: @arthanson on GitHub.

NetBox version

3.3.1

Python version

3.10

Steps to Reproduce

  1. Create a new rack named Rack1
  2. Open the Rack1 detail page and notice the space utilization value

Expected Behavior

Space utilization for a new rack should always start at 0%

Observed Behavior

Space utilization starts at 1.2%

image

Originally created by @abhi1693 on GitHub (Aug 27, 2022). Originally assigned to: @arthanson on GitHub. ### NetBox version 3.3.1 ### Python version 3.10 ### Steps to Reproduce 1. Create a new rack named `Rack1` 2. Open the `Rack1` detail page and notice the space utilization value ### Expected Behavior Space utilization for a new rack should always start at 0% ### Observed Behavior Space utilization starts at 1.2% ![image](https://user-images.githubusercontent.com/5083532/187031378-f404e70b-daf4-40a4-b954-d8c4ec6eb171.png)
adam added the type: bug label 2025-12-29 19:46:25 +01:00
adam closed this issue 2025-12-29 19:46:25 +01:00
Author
Owner

@kkthxbye-code commented on GitHub (Aug 27, 2022):

I believe it's caused by Rack.get_available_units() not returning 42.5 as a valid position in a 42 U rack but Rack.units does include 42.5 as a valid position. So available units in a 42 U rack will be 83 but the total units will be 84.

@kkthxbye-code commented on GitHub (Aug 27, 2022): I believe it's caused by Rack.get_available_units() not returning 42.5 as a valid position in a 42 U rack but Rack.units does include 42.5 as a valid position. So available units in a 42 U rack will be 83 but the total units will be 84.
Author
Owner

@VitMain commented on GitHub (Aug 29, 2022):

It is also related to the problem with reservations.
For example, we have a 46RU server cabinet, I reserved 1-46RU, and space utilization says that this cabinet is used only for 51.1%.

@VitMain commented on GitHub (Aug 29, 2022): It is also related to the problem with reservations. For example, we have a 46RU server cabinet, I reserved 1-46RU, and space utilization says that this cabinet is used only for 51.1%.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6891