How to trigger BMC dumps
常晓明
xiaoqian1641 at 163.com
Wed Nov 13 17:41:29 AEDT 2019
Hi, All,
I am tring to trigger BMC dumps, follow https://github.com/xcat2/xcat-core/issues/4235
1. Login BMC
curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST https://127.0.0.1:2443/login -d "{\"data\": [ \"root\", \"0penBmc\" ] }"
2. List available dumps
curl -c cjar -b cjar -k https://127.0.0.1:2443/xyz/openbmc_project/dump/list
3. When Manually trigger a generation of a dump
curl -c cjar -b cjar -k -H "Content-Type: application/json" -d "{\"data\": []}" -X POST https://127.0.0.1:2443/xyz/openbmc_project/dump/action/CreateDump
The cosole display : Unauthorized
Does anyone know what happened?
Thanks
Johny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191113/3210db84/attachment.htm>
More information about the openbmc
mailing list