theforeman / foreman_datacenter

This plugin lets you document your physical servers across multiple datacenters
GNU General Public License v3.0
21 stars 13 forks source link

Inconsistent rack display of parent/child devices #34

Open tullis opened 4 years ago

tullis commented 4 years ago

We're using several multi-node server chassis, but the display of these child objects within the parent object is very much hit and miss. I believe that this is a bug, but it's possible that it's a misconfiguration.

I'm using version 1.22.1 of the foreman_datacentre plugin and version 1.22 of foreman.

I have configured 3 different device types as a parent and I have created 4 devices of these types.

For each device type I have configured the correct number of device bays: 2, 4, or 8.

For each of the child devices I have configured both a location in the rack and also allocated them to one of the available device bays in the parent. For the 2-node system it is working, but for the 4 and 8 node systems it refuses to cooperate. I have only managed to get either 1 or 2 of the child devices to display.

Here are some screenshots to illustrate this:

Parent device types: image

Child device types: image

Populated 8-bay device: image

Rack display of 8-bay device: image