diff options
| author | Peter Yin <peter.yin@quantatw.com> | 2025-05-06 18:50:33 +0300 |
|---|---|---|
| committer | Amithash Prasad <amithash@meta.com> | 2025-05-28 20:42:50 +0300 |
| commit | 39ab8ec984b0d335533965fc4bb75d39cd3fbfdb (patch) | |
| tree | 7e2c734ca298e29d1bb5e749eeccb47354f0a693 /meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib | |
| parent | b73be32732c959316d80fcdd20fb11ab0b9913ba (diff) | |
| download | openbmc-39ab8ec984b0d335533965fc4bb75d39cd3fbfdb.tar.xz | |
meta-facebook: Support new event formats generated by GPIO
1.Power Rail Fault Event Log (create/resolve)
Patch: phosphor-dbus-interfaces #77546
2.Leak Detect Event Log (create)
YAML: xyz/openbmc_project/State/Leak/Detector.events.yaml
3.Thermal Trip Log check sgpio valid
Patch: phosphor-dbus-interfaces #78537
4.Voltage Regulator Fault Log (create/resolve)
Patch: phosphor-dbus-interfaces #77546
Tested:
PowerRailFault Event Log:
{
"additional_data": {
"FAILURE_DATA": "power-host-good",
"POWER_RAIL": "/xyz/openbmc_project/inventory/system/board/
Harma_MB/host",
"_CODE_FILE": "/usr/src/debug/phosphor-logging/1.0+git/
log_create_main.cpp",
"_CODE_FUNC": "int generate_event(const std::string&,
const nlohmann::json_abi_v3_11_3::json&)",
"_CODE_LINE": "34",
"_PID": "7193"
},
"event_id": "",
"message": "xyz.openbmc_project.State.Power.PowerRailFault",
"redfish": {
"args": [
"/xyz/openbmc_project/inventory/system/board/Harma_MB/host"
],
"id": "OpenBMC_StatePower.PowerRailFault",
"message": "A fault has been detected on power rail
'/xyz/openbmc_project/inventory/system/board/Harma_MB/host'."
},
"resolution": "",
"resolved": true,
"severity": "xyz.openbmc_project.Logging.Entry.Level.Error",
"timestamp": "2025-05-28T05:33:17.617000000Z",
"updated_timestamp": "2025-05-28T05:33:19.887000000Z"
},
Thermaltrip Event Log:
{
"additional_data": {
"DEVICE": "/xyz/openbmc_project/State/Thermal/cpu0",
"FAILURE_DATA": "cpu0-thermtrip-alert",
"_CODE_FILE": "/usr/src/debug/phosphor-logging/1.0+git/
log_create_main.cpp",
"_CODE_FUNC": "int generate_event(const std::string&,
const nlohmann::json_abi_v3_11_3::json&)",
"_CODE_LINE": "34",
"_PID": "1984"
},
"event_id": "",
"message": "xyz.openbmc_project.State.Thermal.
DeviceOverOperatingTemperatureFault",
"redfish": {
"args": [
"/xyz/openbmc_project/State/Thermal/host0"
],
"id": "OpenBMC_StateThermal.DeviceOverOperatingTemperatureFault",
"message": "Device /xyz/openbmc_project/State/Thermal/host0
is significantly over safe operating temperature
and may have been powered off"
},
"resolution": "",
"resolved": true,
"severity": "xyz.openbmc_project.Logging.Entry.Level.Critical",
"timestamp": "2025-05-21T08:03:00.599000000Z",
"updated_timestamp": "2025-05-21T08:03:19.098000000Z"
},
Leakage Detect Critical Event Log:
{
"additional_data": {
"DETECTOR_NAME": "/xyz/openbmc_project/state/leak/detector
/ComputeBlade",
"_CODE_FILE": "/usr/src/debug/phosphor-logging/1.0+git
/log_create_main.cpp",
"_CODE_FUNC": "int generate_event(const std::string&,
const nlohmann::json_abi_v3_11_3::json&)",
"_CODE_LINE": "34",
"_PID": "7222"
},
"event_id": "",
"message": "xyz.openbmc_project.State.Leak.Detector.LeakDetectedCritical",
"redfish": {
"args": [
"/xyz/openbmc_project/state/leak/detector/ComputeBlade"
],
"id": "Environmental.LeakDetectedCritical"
},
"resolution": "",
"resolved": true,
"severity": "xyz.openbmc_project.Logging.Entry.Level.Critical",
"timestamp": "2025-05-28T05:33:22.184000000Z",
"updated_timestamp": "2025-05-28T05:33:24.467000000Z"
},
Leakage Detect Normal Event Log:
{
"additional_data": {
"DETECTOR_NAME": "/xyz/openbmc_project/state/leak/detector
/ComputeBlade",
"_CODE_FILE": "/usr/src/debug/phosphor-logging/1.0+git
/log_create_main.cpp",
"_CODE_FUNC": "int generate_event(const std::string&,
const nlohmann::json_abi_v3_11_3::json&)",
"_CODE_LINE": "34",
"_PID": "7237"
},
"event_id": "",
"message": "xyz.openbmc_project.State.Leak.Detector.LeakDetectedNormal",
"redfish": {
"args": [
"/xyz/openbmc_project/state/leak/detector/ComputeBlade"
],
"id": "Environmental.LeakDetectedNormal"
},
"resolution": "",
"resolved": false,
"severity": "xyz.openbmc_project.Logging.Entry.Level.Informational",
"timestamp": "2025-05-28T05:33:24.518000000Z",
"updated_timestamp": "2025-05-28T05:33:24.518000000Z"
},
VR-Fault-Event-Log:
{
"additional_data": {
"FAILURE_DATA": "irq-uv-detect-alert",
"VOLTAGE_REGULATOR": "/xyz/openbmc_project/inventory/system/board
/Harma_MB/uv-detect",
"_CODE_FILE": "/usr/src/debug/phosphor-logging/1.0+git
/log_create_main.cpp",
"_CODE_FUNC": "int generate_event(const std::string&,
const nlohmann::json_abi_v3_11_3::json&)",
"_CODE_LINE": "34",
"_PID": "7257"
},
"event_id": "",
"message": "xyz.openbmc_project.State.Power.VoltageRegulatorFault",
"redfish": {
"args": [
"/xyz/openbmc_project/inventory/system/board/Harma_MB/uv-detect"
],
"id": "OpenBMC_StatePower.VoltageRegulatorFault",
"message": "A fault has been detected on voltage regulator
'/xyz/openbmc_project/inventory/system/board/Harma_MB/
uv-detect'"
},
"resolution": "",
"resolved": true,
"severity": "xyz.openbmc_project.Logging.Entry.Level.Error",
"timestamp": "2025-05-28T05:33:26.878000000Z",
"updated_timestamp": "2025-05-28T05:33:29.626000000Z"
},
Change-Id: I19cf8a06fa0187c389ff7848d89e6774ef933ab0
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib')
0 files changed, 0 insertions, 0 deletions
