PEL: Change common errors to nonError in msg reg
The InternalFailure error is so generic no service would ever be able to
be done based on it, so make it informational. If there are any spots
in the code base that create this error where a user does need to know
about it they will be changed to more specific errors.
Also do the same for the other common generic errors. It's possible
these aren't actually committed in code and are only thrown back from
D-Bus method calls, but there isn't really a way to know for sure so
they have entries.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I12f4d8c977c84aaa2618f209daee3c95dfef7801
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index f2c55f1..2304672 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -4,6 +4,7 @@
{
"Name": "xyz.openbmc_project.Common.Error.Timeout",
"Subsystem": "bmc_firmware",
+ "Severity": "non_error",
"SRC":
{
@@ -31,6 +32,7 @@
{
"Name": "xyz.openbmc_project.Common.Error.InternalFailure",
"Subsystem": "bmc_firmware",
+ "Severity": "non_error",
"SRC":
{
@@ -53,6 +55,7 @@
{
"Name": "xyz.openbmc_project.Common.Error.InvalidArgument",
"Subsystem": "user_error",
+ "Severity": "non_error",
"SRC":
{
@@ -74,6 +77,7 @@
{
"Name": "xyz.openbmc_project.Common.Error.InsufficientPermission",
"Subsystem": "user_error",
+ "Severity": "non_error",
"SRC":
{
@@ -96,6 +100,7 @@
{
"Name": "xyz.openbmc_project.Common.Error.NotAllowed",
"Subsystem": "user_error",
+ "Severity": "non_error",
"SRC":
{
@@ -118,6 +123,7 @@
{
"Name": "xyz.openbmc_project.Common.Error.NoCACertificate",
"Subsystem": "user_error",
+ "Severity": "non_error",
"SRC":
{