- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Servers - General
- >
- ComputerSystem.Reset Action not working from via I...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 09:09 AM - last edited on 11-15-2022 05:02 PM by support_s
11-01-2022 09:09 AM - last edited on 11-15-2022 05:02 PM by support_s
ComputerSystem.Reset Action not working from via ILO Amplifier redfish API
I'm having issues with the /Actions/ComputerSystem.Reset/ action via Ilo Amplifier. For some reason it is returning a method not allowed. The underlying code I'm using is powershell, but have tested in bash and python and get the same results.
This action is documentated as an example in the Ilo Amplifier Redfish API. documenation. https://hewlettpackard.github.io/iLOAmpPack-Redfish-API-Docs/?shell#performing-actions
Example action issue with ILO amplifier
curl https://$($IloAmpIp)/redfish/v1/systems/$($SystemId)/Actions/ComputerSystem.Reset/ -H "Content-Type: application/json" --request POST --data '{"ResetType": "On"}' -u *******:******** --insecure
{"@odata.etag":"W/\"11815A93\"","@odata.type":"#ExtendedInfo.1.0.0.ExtendedInfo","error":{"@Message.ExtendedInfo":[{"@odata.type":"#Message.1.0.0.Message","MessageId":"HpeWolfram.1.4.MethodNotAllowed"}],"code":"Wolfram.1.0.ExtendedInfo","message":"See @Message.ExtendedInfo for more information."}}
When testing using this action directly on the ILO it works fine.
Example of going direct to ilo without action issue
curl https://$($IloIp)/redfish/v1/Systems/1/Actions/ComputerSystem.Reset/ -H "Content-Type: application/json" --request POST --data '{"ResetType": "On"}' -u *******:******** --insecure
{"Messages":[{"MessageID":"Base.0.10.Success"}],"Type":"ExtendedError.1.0.0","error":{"@Message.ExtendedInfo":[{"MessageID":"Base.0.10.Success"}],"code":"iLO.0.10.ExtendedInfo","message":"See @Message.ExtendedInfo for more information."}}
There seems to be an issue calling this action from Ilo Amplifier.
One other observation is based on the redfish specification documenation. "To determine the available actions and the valid parameter values for those actions, clients can query a
Resource directly" ( https://www.dmtf.org/sites/default/files/standards/documents/DSP0266_1.8.0.pdf page 48)
When querying the system object in Ilo amplifier, there is no data returned on available actions. However when querying the system against the ilo itself, the data is returned as expected.
"AvailableActions":[{"Action":"Reset","Capabilities":[{"AllowableValues":["On","ForceOff","ForceRestart","Nmi","PushPowerButton"],"PropertyName":"ResetType"}]}]
iLO Amplifier Pack v2.16
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 10:10 AM
11-01-2022 10:10 AM
Query: ComputerSystem.Reset Action not working from via ILO Amplifier redfish API
System recommended content:
1. HPE iLO 5 2.72 User Guide | iLO RESTful API
Please click on "Thumbs Up/Kudo" icon to give a "Kudo".
Thank you for being a HPE valuable community member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2022 04:46 PM
11-14-2022 04:46 PM
Re: ComputerSystem.Reset Action not working from via ILO Amplifier redfish API
Hello,
This might need a remote session to perform further troubleshooting.
You can also log a new case :HPE Support Case Manager
Thanks.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]