Not allowed to put at U0 #8903

Closed
opened 2025-12-29 20:42:41 +01:00 by adam · 1 comment
Owner

Originally created by @Riprock on GitHub (Dec 1, 2023).

Originally assigned to: @arthanson on GitHub.

NetBox version

v3.6.5

Python version

3.11

Steps to Reproduce

image
image
image

This is all preformed in the UI

  1. Create New Rack
  2. Create new Device
  3. Attempt to assign to to U0 To have device be at the bottom of the rack

Expected Behavior

What I expected is it to place the Device in U0-U3 Not to have a 1U gap as shown in pictures above

Observed Behavior

Error was provided in the interface saying I cant put a device at U0 because it has to be 1 or greater

Originally created by @Riprock on GitHub (Dec 1, 2023). Originally assigned to: @arthanson on GitHub. ### NetBox version v3.6.5 ### Python version 3.11 ### Steps to Reproduce ![image](https://github.com/netbox-community/netbox/assets/8990377/89ba5a51-2aa0-4b74-9f34-2f82a9614d34) ![image](https://github.com/netbox-community/netbox/assets/8990377/462d4852-7598-4f82-bef0-6e43a0b36d95) ![image](https://github.com/netbox-community/netbox/assets/8990377/8b53f34c-6ef1-4792-84cf-f91889e9e58b) This is all preformed in the UI 1. Create New Rack 2. Create new Device 3. Attempt to assign to to U0 To have device be at the bottom of the rack ### Expected Behavior What I expected is it to place the Device in U0-U3 Not to have a 1U gap as shown in pictures above ### Observed Behavior Error was provided in the interface saying I cant put a device at U0 because it has to be 1 or greater
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 20:42:41 +01:00
adam closed this issue 2025-12-29 20:42:41 +01:00
Author
Owner

@jeremystretch commented on GitHub (Dec 1, 2023):

0 should not be a permitted value for Rack.starting_unit. The bug is not in the placement of the device, but rather in the failure to validate the minimum value for this field.

@jeremystretch commented on GitHub (Dec 1, 2023): 0 should not be a permitted value for `Rack.starting_unit`. The bug is not in the placement of the device, but rather in the failure to validate the minimum value for this field.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8903