cb01cd40 | 10-Jul-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Dump: Add user-challenge to System Dump entry
This commit introduces a 'UserChallenge' field to the xyz.openbmc_project.Dump.Entry.System interface. This update specifically addresses the requiremen
Dump: Add user-challenge to System Dump entry
This commit introduces a 'UserChallenge' field to the xyz.openbmc_project.Dump.Entry.System interface. This update specifically addresses the requirement for non-disruptive system dumps. Non-disruptive dumps are requested to the host and do not disrupt the current system state. However, as they consume significant host resources and involve the collection of host memory data, they must be executed by authorized personnel.
To enforce this, the host requires user-challenge validation to process the dump request. If the provided user-challenge is incorrect, the host rejects the operation.
Change-Id: Ia9871a7264e036715a3ebe10f9054a2302e64c32 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
2117deab | 08-Jul-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Dump: Add 'SystemImpact' to System Dump entry
This commit introduces 'SystemImpact' to the system dump entry. This new enum field indicates whether a system dump is 'Disruptive' or 'NonDisruptive'.
Dump: Add 'SystemImpact' to System Dump entry
This commit introduces 'SystemImpact' to the system dump entry. This new enum field indicates whether a system dump is 'Disruptive' or 'NonDisruptive'.
'Disruptive' dumps alter the system state and capture extensive data, making them useful for diagnosing system crashes. In contrast, 'NonDisruptive' dumps do not disturb the system state while still providing valuable data for analysis.
Change-Id: I03810e86e1db9d2b46891dbe2e00e436e76b2cc2 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
7720dd64 | 12-Jun-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Add GetFileHandle method to dump entry
This commit introduces the GetFileHandle method in the dump entry interface. This method provides direct access to the Unix file handle of the dump entry, faci
Add GetFileHandle method to dump entry
This commit introduces the GetFileHandle method in the dump entry interface. This method provides direct access to the Unix file handle of the dump entry, facilitating more direct read operations on the dump file.
The returned file descriptor will be read-only, ensuring the integrity of the dump file.
This change is primarily introduced to support the PLDM for offloading the dump to the host and bmcweb for offloading the dump to Redfish clients. Previously, a direct file path was provided for these operations. However, if the applications are running in a non-root context, they may lack the necessary access to the file. By providing a file handle, this access issue is resolved.
Change-Id: I1c9dd5ae6dad503288f39227876e13308043fefd Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
f404c83b | 30-May-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Add 'EventId' parameter to BMC Dump creation parameters
This commit adds a new 'EventId' parameter to the BMC Dump creation parameters. The 'EventId' parameter is used to link a BMC dump with a spec
Add 'EventId' parameter to BMC Dump creation parameters
This commit adds a new 'EventId' parameter to the BMC Dump creation parameters. The 'EventId' parameter is used to link a BMC dump with a specific system event, providing clearer context and allowing for the collection of additional, relevant diagnostic data related to the event.
Change-Id: Ia092caa42c3917febfd5e8b447f49bc9078812c2 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
64fcf95f | 29-May-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Update InternalFailure Type and Add Error Type Parameter
This commit modifies the 'InternalFailure' dump type and replaces it with a more generic 'ErrorLog' type. In addition, it introduces a new pa
Update InternalFailure Type and Add Error Type Parameter
This commit modifies the 'InternalFailure' dump type and replaces it with a more generic 'ErrorLog' type. In addition, it introduces a new parameter for specifying the type of the error that triggered the dump.
This is allowing it to cater to various types of errors beyond just internal failures. With the capability to pass architecture-specific errors, this change increases compatibility and maintainability without requiring alterations in the common interface YAML file for each new error type to be supported.
Change-Id: I896bb995632dad1206385ef92819f3bfffd16f88 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|