entity-manager icon indicating copy to clipboard operation
entity-manager copied to clipboard

Physical Topology associations are not generated for late detected Boards.

Open dodolee12 opened this issue 2 years ago • 0 comments

If we have two such configurations:

superchassis.json

{
    "Exposes": [
        {
            "Name": "Subchassis Upstream Port",
            "Type": "Subchassis Upstream Port"
        }
    ],
    "Name": "Superchassis",
    "Probe": "TRUE",
    "Type": "Board"
}

subchassis.json:

{
    "Exposes": [
        {
            "ConnectsToType": "Subchassis Upstream Port",
            "Name": "SubChassis Downstream Port",
            "Type": "DownstreamPort"
        }
    ],
    "Name": "Subchassis",
    "Probe": "TRUE",
    "Type": "Board"
}

For some reason if the subchassis is detected late, then the associations between the Boards are not generated.

I can see the Upstream and Downstream ports generated in busctl tree xyz.openbmc.EntityManager, but the associations are not actually added.

If i run systemctl restart xyz.openbmc.EntityManager then associations are added as normal.

dodolee12 avatar Jul 18 '23 23:07 dodolee12