Device rack position grayed out when non-full depth device are on same RU

228 views
Skip to first unread message

Joe

unread,
Sep 27, 2021, 6:49:16 AM9/27/21
to NetBox

Hi everyone,
I'm running netbox v3.0.3 and have two non-full depth devices and want to assign them in the same rack and same position - one should be "front", the other one should be "rear".

So the assignment to the front rack position works as expected using the GUI.
When I want to assign the second device to the rear, the position is grayed out / not selectable.

In the rack view, the rear position in the rack seems free and I'm able to create a new device in the corresponding position.

When using nbshell, I'm able to assign the second device to the rear rack face.

Is this a bug?

Brian Candler

unread,
Sep 27, 2021, 8:42:19 AM9/27/21
to NetBox
> When I want to assign the second device to the rear, the position is grayed out / not selectable.

Which exact screen are you looking at?  Can you show the URL from the browser URL bar, and a screenshot?  By "greyed out", you don't mean pink stripes do you?

You've already said that you can create a device by clicking on the rear elevation, and obviously if you click on the front elevation it will be occupied.

I am wondering: did you do Device > Add (taking you to /dcim/devices/add/), select Rack Face: Rear, and then try to select the U-position from the drop-down?  Testing this, it looks like the Rack Position drop-down *doesn't* update when you do this, and it should.  If that's what you're describing, then I suggest you raise a bug report: give the step-by-step instructions to reproduce.

[or else: the drop-down should show all U positions where either the front *or* rear faces are unoccupied]

Joe

unread,
Sep 27, 2021, 9:00:47 AM9/27/21
to NetBox
Hi Brian
> Which exact screen are you looking at?  Can you show the URL from the browser URL bar, and a screenshot?  By "greyed out", you don't mean pink stripes do you?
It's the edit dialog of a single device (/dcim/devices/<DEVICE-ID>/edit)


screen-rack-selection-01.PNG
So in the example above, U40 and U38 are selectable (black font). However, U42 - U39 and U37 are not selectable (dark grey / color HEX #6C757D)

When I check the corresponding rack view:
screen-rack-selection-02.PNG
For example, "Infrapatch 0" is a not full depth device (installed in U42 front) and in the rear view U42 is considered free.

Brian Candler

unread,
Sep 27, 2021, 11:59:37 AM9/27/21
to NetBox
OK.  Yes, I think you should raise that as a bug.  The "Position" drop down should either update dynamically to reflect availability based on the "Rear / Front" selection, or it should show available for all slots where *either* rear or front is available.

I suppose it might also be waiting for a Device Type to be selected (to know whether it's full/half depth), but I tried that and it doesn't seem to make a difference either.

Joe

unread,
Sep 27, 2021, 1:32:44 PM9/27/21
to NetBox
Thank you Brian,

Thanks again for double checking.
Reply all
Reply to author
Forward
0 new messages