Skip to content

[feature request] append the name of a pci device to node_pcidevice_info #3721

Description

@wenjianhn

We can use /sys/class/{nvme,net,infiniband}to find out the name of a devcie, e.g.

# readlink  /sys/class/net/eth0/device
../../../0001:90:00.0

# readlink  /sys/class/nvme/nvme0/device
../../../0001:8f:00.0

User story:
Monitoring detected a sustained increase in node_ethtool_received_crc_errors_phy on interface eth0 on node <node-name>. Suspected physical NIC or cable failure. Use node_pcidevice_info to map eth0 → PCI BDF. Find out the physical location of the BDF via the BMC, and produce a location report for hardware replacement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions