关联issue
背景
固件管理支持统一生效接口,当前支持redfish和webrest两种对外接口,当遇到固件生效失败的各种错误时,用户需要知道生效失败的具体原因,固件管理需要新增错误引擎将详细生效失败原因传递给北向接口。
评审点
新增错误引擎 FirmwareActiveError
示例:
"FirmwareActivateFailed": {
"Description": "An error occurred during the firmware activation process.",
"Message": "An error occurred during the firmware activation process. Details: %1",
"Severity": "Warning",
"NumberOfArgs": 1,
"ParamTypes": [
"string"
],
"Resolution": "Locate the cause based on error information, rectify the fault, and submit the request again.",
"HttpStatusCode": 400,
"IpmiCompletionCode": "0xFF",
"SnmpStatusCode": 5,
"TraceDepth": 0
}