commit | 7e4edab998103573416eebda2cd2e9909d8316aa | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Tue Mar 29 04:23:05 2022 -0500 |
committer | Jayanth Othayoth <ojayanth@gmail.com> | Tue Jun 27 02:53:44 2023 +0000 |
tree | 5fc9d98bc762329411551f74e0d2d8275cd96768 | |
parent | 3a25e5b2f8a78edd3543ebdaa17389edfe67007d [diff] |
OpenPOWER: Return Unavailable Instead of NotAllowed for Delete This commit changes the exception thrown from 'NotAllowed' to 'Unavailable' when attempting to delete a system dump that is currently being offloaded. This modification aligns with the objective to return an HTTP 'Unavailable' status via Redfish interface in this scenario. The 'Unavailable' response more accurately reflects the system state, as the dump is not disallowed from deletion under normal circumstances, but temporarily unavailable due to the ongoing offload process. Tests: - Attempt to delete resource dump while offloading it - Attempt to delete system dump while offloading it Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: I6c5d9aba16380d86e68c06537417ad9d725826e5
Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.
One such mechanism is dreport, a script that collects debug data and packages it into an archive file.
To build this package with meson, do the following steps:
1. meson builddir 2. ninja -C builddir
To clean the built files run ninja -C builddir clean
.
Tests can be run in the CI docker container, refer local-ci-build
or with an OpenBMC x86 sdk(see below for x86 steps).
meson -Dtests=enabled build ninja -C build test