PEL: Fixup OCC errors
Add the .Error. segment to the OCC error names so that the manually
created errors can match the ones in the phosphor-dbus-interfaces yaml.
Also add a missing OpenFailure error.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I0a1776157fd7930ea45a20adfa47823475a2a40a
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index 2219d7a..7d68450 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -804,7 +804,7 @@
},
{
- "Name": "org.open_power.OCC.Firmware.PresenceMismatch",
+ "Name": "org.open_power.OCC.Firmware.Error.PresenceMismatch",
"Subsystem": "bmc_firmware",
"ComponentID": "0x2600",
"Severity": "predictive",
@@ -833,7 +833,7 @@
},
{
- "Name": "org.open_power.OCC.Device.SafeState",
+ "Name": "org.open_power.OCC.Device.Error.SafeState",
"Subsystem": "processor_chip",
"ComponentID": "0x2600",
"Severity": "non_error",
@@ -854,7 +854,7 @@
},
{
- "Name": "org.open_power.OCC.Device.ReadFailure",
+ "Name": "org.open_power.OCC.Device.Error.ReadFailure",
"Subsystem": "cec_chip_iface",
"ComponentID": "0x2600",
"Severity": "predictive",
@@ -875,6 +875,26 @@
},
{
+ "Name": "org.open_power.OCC.Device.Error.OpenFailure",
+ "Subsystem": "cec_chip_iface",
+ "ComponentID": "0x2600",
+ "Severity": "predictive",
+
+ "SRC": {
+ "ReasonCode": "0x2684",
+ "Words6To9": {}
+ },
+
+ "Documentation": {
+ "Description": "OCC communication failure",
+ "Message": "BMC failed to communicate with the OCC",
+ "Notes": [
+ "There was a failure trying to open an OCC device driver file"
+ ]
+ }
+ },
+
+ {
"Name": "org.open_power.HardwareIsolation.Error",
"Subsystem": "cec_hardware",
"ComponentID": "0x3100",