Skip to content
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

Not found error response with BMC dump URI #198

Closed
rahulmah opened this issue Apr 20, 2021 · 5 comments
Closed

Not found error response with BMC dump URI #198

rahulmah opened this issue Apr 20, 2021 · 5 comments

Comments

@rahulmah
Copy link

Describe the bug
Started seeing "Not found" response with the recent master build(2.10.0-dev-836-g06dc92d6f) for BMC dump URIs.

Environment
This issue was seen on Witherspoon-Tacoma box and the openBMC version - 2.10.0-dev-836-g06dc92d6f.

To Reproduce
Steps to reproduce the behavior:

  1. Run the command 'curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Entries' to check BMC dump entries.
bash-4.2$ curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Entries
Not Found

bash-4.2$ curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/
Not Found

bash-4.2$ curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/
{
  "@odata.id": "/redfish/v1/Managers/bmc/LogServices",
  "@odata.type": "#LogServiceCollection.LogServiceCollection",
  "Description": "Collection of LogServices for this Manager",
  "Members": [],
  "Members@odata.count": 0,
  "Name": "Open BMC Log Services Collection"
}

$ curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Actions/Oem/OemLogService.CollectDiagnoticData -d '{"DiagnosticDataType" : "Manager", "OEMDiagnosticDataType": ""}'
Not Foundbash-4.2$ curl -k -H "X-Auth-Token: $bmc_token" -X POST https://${BMC_IP}/redfish/v1/Managers/bmc/LogServices/Dump/Actions/LogService.CollectDiagn -d '{"DiagnosticDataType":"Manager"}'
Not Foundbash-4.2
$

Is this a regression
This was working long back when we tested. We recently observed this failure while testing the master. So unsure about the commit which impacted it.

@edtanous
Copy link
Contributor

I don't see anything obviously wrong with the code, and I don't have a system that supports the dump interface to test with; Can you bisect and figure out what change broke this for you? then we can go from there.

@rahulmah
Copy link
Author

Ed
@raviteja-b has analysed this while looking up #194.
As per him Bmcweb redfish-dump-log flag is disabled by default, this flag needs to be enabled for compiling Bmcweb with dump code. seems in openbmc master Bmcweb recipe does not include this flag

@gtmills
Copy link
Member

gtmills commented Apr 27, 2021

@rahulmah If I am understanding this right, this doesn't sound like a bmcweb issue. If so, can you close?
@raviteja-b Could you make a change so redfish-dump-log is enabled in like the meta-ibm layer?

@rahulmah
Copy link
Author

@gtmills : Sure.
@raviteja-b : Can I open up this issue in meta-ibm as suggested above?

@gtmills
Copy link
Member

gtmills commented Apr 28, 2021

@rahulmah Yes, let's do that. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants