<?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 Re: REST API for uploading new OneView update? in HPE OneView</title>
    <link>https://community.hpe.com/t5/hpe-oneview/rest-api-for-uploading-new-oneview-update/m-p/7034434#M3898</link>
    <description>&lt;P&gt;I request you to raise a support ticket with HPE.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Feb 2019 11:58:50 GMT</pubDate>
    <dc:creator>Kashyap02</dc:creator>
    <dc:date>2019-02-12T11:58:50Z</dc:date>
    <item>
      <title>REST API for uploading new OneView update?</title>
      <link>https://community.hpe.com/t5/hpe-oneview/rest-api-for-uploading-new-oneview-update/m-p/7033255#M3838</link>
      <description>&lt;P&gt;I haven't found in the API reference yet, so asking here.&amp;nbsp; Is there a REST API command to upload a new version of the OneView software (the .bin file) to a current appliance?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 15:20:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/rest-api-for-uploading-new-oneview-update/m-p/7033255#M3838</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2019-02-01T15:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: REST API for uploading new OneView update?</title>
      <link>https://community.hpe.com/t5/hpe-oneview/rest-api-for-uploading-new-oneview-update/m-p/7033579#M3859</link>
      <description>&lt;P&gt;Hi Brad,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to below API reference guide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://h17007.www1.hpe.com/docs/enterprise/servers/oneview3.0/cic-api/en/api-docs/current/index.html#rest/appliance/firmware" target="_blank"&gt;http://h17007.www1.hpe.com/docs/enterprise/servers/oneview3.0/cic-api/en/api-docs/current/index.html#rest/appliance/firmware&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 02:41:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/rest-api-for-uploading-new-oneview-update/m-p/7033579#M3859</guid>
      <dc:creator>Kashyap02</dc:creator>
      <dc:date>2019-02-05T02:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: REST API for uploading new OneView update?</title>
      <link>https://community.hpe.com/t5/hpe-oneview/rest-api-for-uploading-new-oneview-update/m-p/7033623#M3865</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp; Not sure how I missed it?&amp;nbsp; I was searching all over.&amp;nbsp; :)&lt;/P&gt;&lt;P&gt;I gave it try using:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;UPD=/hp/oneview/HPE_OneView_4.10.04_update_Z7550-96558.bin
curl --insecure \
     --header "content-type: application/json" \
     --header "accept: application/json" \
     --header "X-API-Version: ${currentVersion}" \
     --header "auth: ${sessionID}" \
     --form "file=@${UPD}" \
     --request POST ${OneView}/rest/appliance/firmware/image | jq -r '.'&lt;/PRE&gt;&lt;P&gt;After about a minute, it fails with:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "message": "Internal Server Error",
  "details": There was a problem while processing the request.  The request might not have completed with the required timeout, or another error might have occurred.",
  "recommendedActions": [
    "Resend the request.  If the error persists, create a support dump and contact your authorized support representative."
   ],
  "data": {},
  "errorCode": "GENERIC_HTTP_500",
  "nestedErrors": [],
  "errorSource": null
}&lt;/PRE&gt;&lt;P&gt;I tried again and got the same reply.&amp;nbsp; Is there some way to tell it to allow more time for the upload?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 10:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/rest-api-for-uploading-new-oneview-update/m-p/7033623#M3865</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2019-02-05T10:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: REST API for uploading new OneView update?</title>
      <link>https://community.hpe.com/t5/hpe-oneview/rest-api-for-uploading-new-oneview-update/m-p/7034434#M3898</link>
      <description>&lt;P&gt;I request you to raise a support ticket with HPE.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 11:58:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/rest-api-for-uploading-new-oneview-update/m-p/7034434#M3898</guid>
      <dc:creator>Kashyap02</dc:creator>
      <dc:date>2019-02-12T11:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: REST API for uploading new OneView update?</title>
      <link>https://community.hpe.com/t5/hpe-oneview/rest-api-for-uploading-new-oneview-update/m-p/7034443#M3899</link>
      <description>&lt;P&gt;My fault.&amp;nbsp; I had not read the API fully and completely.&amp;nbsp; I missed adding '--globoff' and changing the content-type to 'multipart/form-data.'&amp;nbsp; Once I did that, the file uploaded correctly using&lt;/P&gt;&lt;P&gt;UPD=/hp/oneview/HPE_OneView_4.10.04_update_Z7550-96558.bin&lt;BR /&gt;curl --insecure --globoff \&lt;BR /&gt;--header "content-type: multipart/form-data" \&lt;BR /&gt;--header "accept: application/json" \&lt;BR /&gt;--header "X-API-Version: ${currentVersion}" \&lt;BR /&gt;--header "auth: ${sessionID}" \&lt;BR /&gt;--form "file=@${UPD}" \&lt;BR /&gt;--request POST ${OneView}/rest/appliance/firmware/image | jq -r '.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once, I had that, I was able to tell it to go ahead and apply the firmware update.&amp;nbsp; :)&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:48:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/rest-api-for-uploading-new-oneview-update/m-p/7034443#M3899</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2019-02-12T13:48:47Z</dc:date>
    </item>
  </channel>
</rss>

