- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- Update BIOS from iLO Repository via REST API
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
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
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
07-17-2020 06:38 PM
07-17-2020 06:38 PM
I can successfully upload the new BIOS to the iLO repo and I am attemping to install from the repo by registering a task. if I run a POST to the URI /redfish/v1/UpdateService/UpdateTaskQueue/ using the example I just get a 400 response.
from https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/?python#tasks
{
"Name": "Unique Client supplied friendly name of this task item.",
"UpdatableBy": [
"Bmc"
],
"Command": "ApplyUpdate",
"Component": "<component-name>"
}
I am not able to figure out what "<component-name>" is supposed to reference.
I have tried the name, file name, the unique ID that gets generated under /redfish/v1/UpdateService/ComponentRepository/, ComponentUri, all with no luck.
I can however add a "wait" to the task queue without any issue by posting to /redfish/v1/UpdateService/UpdateTaskQueue/.
{
"Name": "Pause 30 seconds",
"UpdatableBy": [
"Bmc"
],
"Command": "Wait",
"WaitTimeSeconds": 30
}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2020 05:11 AM
07-20-2020 05:11 AM
Re: Update BIOS from iLO Repository via REST API
Hello njcorwin,
The iLO Repository uses filename of the components as the unique key.
No two components can share the same filename and an upload of a file using an existing filename overwrites the existing file.
If the existing file is referenced in a task or install set, it is locked and cannot be replaced.
All HPE supplied components have version information in the filename to avoid any filename conflicts.
>> What is the ExtendedInfo in the MessageID?
please refer:Error messages and registries in the iLO RESTful API in the below link to identify the ExtendedInfo in MessageID.https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#error-messages-and-registries-in-the-ilo-restful-api
By looking in the ExtendedInfo in MessageID you can check what is causing the error.
Regards,
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2020 09:27 AM
07-20-2020 09:27 AM
Re: Update BIOS from iLO Repository via REST API
I tried with the file name like in this example
{
"Name": "test",
"UpdatableBy": [
"Bmc"
],
"Command": "ApplyUpdate",
"Component": "A43_1.10_10_29_2019.signed.flash"
}
This is the response I get....
{
"error": {
"code": "iLO.0.10.ExtendedInfo",
"message": "See @Message.ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"MessageArgs": [
"Component"
],
"MessageId": "iLO.2.13.PropertyNotWritableOrUnknown"
}
]
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2020 09:31 AM
07-20-2020 09:31 AM
SolutionI figured it out.
"Component" in the example is a placeholder. To update with the file from the repo, I specity the following
{
"Name": "test",
"UpdatableBy": [
"Bmc"
],
"Command": "ApplyUpdate",
"Filename": "A43_1.10_10_29_2019.signed.flash"
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2020 03:41 AM
07-27-2020 03:41 AM
Re: Update BIOS from iLO Repository via REST API
Hi njcorwin,
Thats great, you were able to update the BIOS.
Regards,
I am a HPE Employee