Skip to content

23.04 - Power connection fails to be added on switches that have a parent chassis. #1611

@grebekel

Description

@grebekel

Describe the bug
I have a 1U chassis (a metal box without electronics) where two switches can be loaded side by side. Each switch is fully functional on its own and the chassis is only there to hold the switches in place.

Having two independent devices coexist on the same rack unit seems like a special case for OpenDCIM, so I thought I could use a chassis.

To add this to our OpenDCIM instance, I opened the rack and created a 1U chassis with zero power connections and two front slots. Then I created one switch from the chassis view, and configured the power connections on the switch by clicking on the power connection number, select the APC device and port, then clicked save. The input fields remain in-place and reloading the page shows the power connection was not saved.

Image

To Reproduce

  1. Create a 1U Chassis with power connections set to zero.
  2. Open the newly created Chassis.
  3. On the "Chassis Contents" panel, set the front number of slots in chassis to 2.
  4. On the "Chassis Contents" panel, click on "Add Device".
  5. Create a 1U "switch" with 1 power connection.
  6. Open the switch page and add a power connection, select device and port, then click save.
  7. Refresh the page, notice the connection is no longer there.

Were you able to reproduce this on the dev or demo sites?

Expected behavior
Power connection on switch is saved, regardless of it being installed on a chassis.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Brave 1.81.136

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions