PEL: Add message registry entry for power loss.
Add PEL message entry for power loss.
Tested:
Power on machine.
Build and install phosphor-log-manager and restart its service.
Delete all existing PEL entries.
Install patched message registry into /etc/phosphor-logging.
Use the APC GUI for the ePDU to turn off power to all power supplies.
Turn power back on, get the PEL entry which shows the blackout entry.
Signed-off-by: Jay Meyer <jaymeyer@us.ibm.com>
Change-Id: Ic7b06c3db7d6356ac19dc46062ee8abc4f9c8723
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index e46900e..4835853 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -672,6 +672,39 @@
},
{
+ "Name": "xyz.openbmc_project.State.Shutdown.Power.Error.Blackout",
+ "Subsystem": "power",
+ "ActionFlags": [ "report", "service_action" ],
+ "Severity": "unrecoverable",
+ "ComponentID": "0x2700",
+
+ "SRC":
+ {
+ "Type": "11",
+ "ReasonCode": "0x00AC",
+ "Words6To9": {},
+ "PowerFault": true
+ },
+
+ "Callouts": [
+ {
+ "CalloutList": [
+ { "Priority": "high", "SymbolicFRU": "ac_module"}
+ ]
+ }
+ ],
+
+ "Documentation": {
+ "Description": "Input power was lost while the system was powered on.",
+ "Message": "Input power was lost while the system was powered on.",
+ "Notes": [
+ "Input power was lost while system powered on.",
+ "The CalloutList should use the ACMODUL symbolic FRU."
+ ]
+ }
+ },
+
+ {
"Name": "xyz.openbmc_project.Power.Error.Shutdown",
"Subsystem": "power_sequencer",
"ComponentID": "0x2700",