summaryrefslogtreecommitdiff
path: root/redfish-core/lib/log_services.hpp
diff options
context:
space:
mode:
authorChalapathi Venkataramashetty <chalapathix.venkataramashetty@intel.com>2020-06-01 16:44:04 +0300
committerAppaRao Puli <apparao.puli@linux.intel.com>2020-06-29 10:27:57 +0300
commita2ec6384deae62963cc9b1d4a08de00b3cc9c9f3 (patch)
tree28b9774af3594a7e0bbc0489bf082a47d19dd379 /redfish-core/lib/log_services.hpp
parent5e715de6db4b032a64556a2aa69559c412774b20 (diff)
downloadbmcweb-a2ec6384deae62963cc9b1d4a08de00b3cc9c9f3.tar.xz
openbmc_message_registry: update failure reason in FirmwareUpdateFailed
Update the failure reason in FirmwareUpdateFailed redfish message entry. Tested: 1. Update the corrupted image so that fw update fails. POST: https://<BMC_IP>/redfish/v1/UpdateService/ with <Corrupted_Update_Capsule> binary file Check event logs in redfish. Command: GET: https://<BMC_IP>/redfish/v1/Systems/system/LogServices/ EventLog/Entries Response: { "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/ Entries/1591111739", "@odata.type": "#LogEntry.v1_4_0.LogEntry", "Created": "2020-06-02T15:28:59+00:00", "EntryType": "Event", "Id": "1591111739", "Message": "BMC firmware update to version 00.59 started.", "MessageArgs": [ "BMC", "00.59", "" ], "MessageId": "OpenBMC.0.1.FirmwareUpdateStarted", "Name": "System Event Log Entry", "Severity": "OK" }, { "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/ Entries/1591111742", "@odata.type": "#LogEntry.v1_4_0.LogEntry", "Created": "2020-06-02T15:29:02+00:00", "EntryType": "Event", "Id": "1591111742", "Message": "BMC firmware update to version 00.59 failed: due to image verification error.", "MessageArgs": [ "BMC", "00.59", "due to image verification error" ], "MessageId": "OpenBMC.0.1.FirmwareUpdateFailed", "Name": "System Event Log Entry", "Severity": "Warning" }, Signed-off-by: Chalapathi Venkataramashetty <chalapathix.venkataramashetty@intel.com> Change-Id: I79e9509f129a3b87fb21e961e7b7bd78809ca1e2
Diffstat (limited to 'redfish-core/lib/log_services.hpp')
0 files changed, 0 insertions, 0 deletions