fix(topology): attach HPE DIMMs and RAID member disks; import easy-bee event logs
HPE DL380 Gen11 BEE-SP v14.23 blackbox bundle (ADL-077): - topology: accept "PROC n" DIMM locators, show the storage controller filtered from the export by ADL-062 when disks resolve to it, resolve storcli EID:Slt drives via VD -> OS drive -> controller BDF, hide BMC VGA, label numeric PSU slots "PSU n" - easy_bee: parse SEL / dmesg -T event times, keep message_id and component_ref, pass platform_config through - exporter: map ipmi-sel -> bmc and dmesg/kernel -> host in event_logs - privacy: treat journald/syslog kernel lines as noise (linux.it false positive) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9f5f7a98be
commit
ff5b99fa5c
15 files changed
+349
-42
No files matched your search
@@ -48,3 +48,14 @@ func TestConvertEventLogs_IsActive(t *testing.T) {
|
||||
}
|
||||
|
||||
func ptrBool(v bool) *bool { return &v }
|
||||
|
||||
func TestConvertEventLogs_EasyBeeSources(t *testing.T) {
|
||||
logs := convertEventLogs([]models.Event{
|
||||
{Source: "ipmi-sel", Description: "Transition to Non-critical from OK"},
|
||||
{Source: "dmesg", Description: "usb 1-1: device not accepting address 3, error -71"},
|
||||
{Source: "Bee Runtime", Description: "Bee runtime status: PARTIAL"},
|
||||
})
|
||||
if len(logs) != 2 || logs[0].Source != "bmc" || logs[1].Source != "host" {
|
||||
t.Fatalf("unexpected event_logs: %+v", logs)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user