-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OpenBMC] Enable function to trigger BMC dumps #4235
Comments
Some more ideas... If nothing changes in the request to openbmc team, we could do the following:
|
On a create, we do get the ID for the dump, but this means we have to block on it and store the ID...
But it is possible.. |
To resolve the file naming issue, we could pass the output file using Curl , suggested by FW team.
|
@xuweibj It might be nice to also get function as you are doing development, and break it into smaller pull request, to first list out the dumps and create it, I can review and merge and provide feedback as we go... I'm doing debug right now so any issue that I open I will send the openbmc team the dump file... , I can run the list command and see how it compares to the rest API manually creating it. For example the date presentation, the API only show the value since epoch time so it's not user friendly. |
Hi, @whowutwut , do you think we can close this task and open a new one for a more user-friendly interface for dump? |
Ok, sure, let me open another issue since this one really is enabling dump function from xCAT. |
As we start looking at ways to capture dump to debug issues with the BMC, there's a dump API: https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/xyz/openbmc_project/Dump
However, the API is lacking some information. Externally, from xCAT, we have the following things that we would want to do:
Suggested xCAT Externals:
rspconfig <noderange> dump --list
rspconfig <noderange> dump --generate
rspconfig <noderange> dump --download <ID>
rspconfig <noderange> dump -clear <id>
rspconfig <noderange> dump -clear all
When we download, openbmc names it the following:
obmcdump_<ID>_<Elapsed Time>.tar.xz
, So already we will have issues scaling this out and identifying which BMC this file comes from.Create some use cases and will open questions to OpenBMC team...
Use Case 1:
As an administrator, I detect issues on 100 BMCs and I'd like to generate and capture the dump across all these BMCs...
The text was updated successfully, but these errors were encountered: