Skip to content

Physical Topology associations are not generated for late detected Boards. #29

Open
@dodolee12

Description

@dodolee12

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.

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