<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Update BIOS from iLO Repository via REST API in Server Management - Remote Server Management</title>
    <link>https://community.hpe.com/t5/server-management-remote-server/update-bios-from-ilo-repository-via-rest-api/m-p/7095478#M8762</link>
    <description>&lt;P&gt;I can successfully upload the new BIOS to the iLO repo and I am attemping to install from the repo by registering a task.&amp;nbsp; if I run a POST to the URI&amp;nbsp; &lt;STRONG&gt;&lt;SPAN&gt;/redfish/v1/UpdateService/UpdateTaskQueue/&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;using the example I just get a 400 response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from&amp;nbsp;&lt;A href="https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/?python#tasks" target="_blank" rel="noopener"&gt;https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/?python#tasks&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
    "Name": "Unique Client supplied friendly name of this task item.",
    "UpdatableBy": [
        "Bmc"
    ],
    "Command": "ApplyUpdate",
    "Component": "&amp;lt;component-name&amp;gt;"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to figure out what "&amp;lt;component-name&amp;gt;" is supposed to reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the name, file name, the unique ID that gets generated under&amp;nbsp;&lt;STRONG&gt;/redfish/v1/UpdateService/ComponentRepository/&lt;/STRONG&gt;,&amp;nbsp;ComponentUri, all with no luck.&lt;/P&gt;&lt;P&gt;I can however add a "wait" to the task queue without any issue by posting to&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;/redfish/v1/UpdateService/UpdateTaskQueue/.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
	"Name": "Pause 30 seconds",
	"UpdatableBy": [
		"Bmc"
	],
	"Command": "Wait",
	"WaitTimeSeconds": 30
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Jul 2020 01:38:33 GMT</pubDate>
    <dc:creator>njcorwin</dc:creator>
    <dc:date>2020-07-18T01:38:33Z</dc:date>
    <item>
      <title>Update BIOS from iLO Repository via REST API</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/update-bios-from-ilo-repository-via-rest-api/m-p/7095478#M8762</link>
      <description>&lt;P&gt;I can successfully upload the new BIOS to the iLO repo and I am attemping to install from the repo by registering a task.&amp;nbsp; if I run a POST to the URI&amp;nbsp; &lt;STRONG&gt;&lt;SPAN&gt;/redfish/v1/UpdateService/UpdateTaskQueue/&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;using the example I just get a 400 response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from&amp;nbsp;&lt;A href="https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/?python#tasks" target="_blank" rel="noopener"&gt;https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/?python#tasks&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
    "Name": "Unique Client supplied friendly name of this task item.",
    "UpdatableBy": [
        "Bmc"
    ],
    "Command": "ApplyUpdate",
    "Component": "&amp;lt;component-name&amp;gt;"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to figure out what "&amp;lt;component-name&amp;gt;" is supposed to reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the name, file name, the unique ID that gets generated under&amp;nbsp;&lt;STRONG&gt;/redfish/v1/UpdateService/ComponentRepository/&lt;/STRONG&gt;,&amp;nbsp;ComponentUri, all with no luck.&lt;/P&gt;&lt;P&gt;I can however add a "wait" to the task queue without any issue by posting to&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;/redfish/v1/UpdateService/UpdateTaskQueue/.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
	"Name": "Pause 30 seconds",
	"UpdatableBy": [
		"Bmc"
	],
	"Command": "Wait",
	"WaitTimeSeconds": 30
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2020 01:38:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/update-bios-from-ilo-repository-via-rest-api/m-p/7095478#M8762</guid>
      <dc:creator>njcorwin</dc:creator>
      <dc:date>2020-07-18T01:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Update BIOS from iLO Repository via REST API</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/update-bios-from-ilo-repository-via-rest-api/m-p/7095607#M8763</link>
      <description>&lt;P&gt;Hello njcorwin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The iLO Repository uses filename of the components as the unique key.&lt;BR /&gt;No two components can share the same filename and an upload of a file using an existing filename overwrites the existing file.&lt;BR /&gt;If the existing file is referenced in a task or install set, it is locked and cannot be replaced.&lt;BR /&gt;All HPE supplied components have version information in the filename to avoid any filename conflicts.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; What is the ExtendedInfo in the MessageID?&lt;/P&gt;&lt;P&gt;please refer:Error messages and registries in the iLO RESTful API in the below link to identify the ExtendedInfo in MessageID.&lt;A href="https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#error-messages-and-registries-in-the-ilo-restful-api" target="_blank"&gt;https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#error-messages-and-registries-in-the-ilo-restful-api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;By looking in the ExtendedInfo in MessageID you can check what is causing the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 12:11:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/update-bios-from-ilo-repository-via-rest-api/m-p/7095607#M8763</guid>
      <dc:creator>I_AN</dc:creator>
      <dc:date>2020-07-20T12:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update BIOS from iLO Repository via REST API</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/update-bios-from-ilo-repository-via-rest-api/m-p/7095660#M8764</link>
      <description>&lt;P&gt;I tried with the file name like in this example&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
    "Name": "test",
    "UpdatableBy": [
        "Bmc"
    ],
    "Command": "ApplyUpdate",
    "Component": "A43_1.10_10_29_2019.signed.flash"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the response I get....&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
  "error": {
    "code": "iLO.0.10.ExtendedInfo",
    "message": "See @Message.ExtendedInfo for more information.",
    "@Message.ExtendedInfo": [
      {
        "MessageArgs": [
          "Component"
        ],
        "MessageId": "iLO.2.13.PropertyNotWritableOrUnknown"
      }
    ]
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 16:27:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/update-bios-from-ilo-repository-via-rest-api/m-p/7095660#M8764</guid>
      <dc:creator>njcorwin</dc:creator>
      <dc:date>2020-07-20T16:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Update BIOS from iLO Repository via REST API</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/update-bios-from-ilo-repository-via-rest-api/m-p/7095661#M8765</link>
      <description>&lt;P&gt;I figured it out.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Component" in the example is a placeholder.&amp;nbsp; To update with the file from the repo, I specity the following&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
    "Name": "test",
    "UpdatableBy": [
        "Bmc"
    ],
    "Command": "ApplyUpdate",
    "Filename": "A43_1.10_10_29_2019.signed.flash"
}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 20 Jul 2020 16:31:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/update-bios-from-ilo-repository-via-rest-api/m-p/7095661#M8765</guid>
      <dc:creator>njcorwin</dc:creator>
      <dc:date>2020-07-20T16:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Update BIOS from iLO Repository via REST API</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/update-bios-from-ilo-repository-via-rest-api/m-p/7096412#M8774</link>
      <description>&lt;P&gt;Hi njcorwin,&lt;/P&gt;&lt;P&gt;Thats great, you were able to update the BIOS.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 10:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/update-bios-from-ilo-repository-via-rest-api/m-p/7096412#M8774</guid>
      <dc:creator>I_AN</dc:creator>
      <dc:date>2020-07-27T10:41:10Z</dc:date>
    </item>
  </channel>
</rss>

