<?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 Error adding DL380 G9 in HPE OneView</title>
    <link>https://community.hpe.com/t5/hpe-oneview/error-adding-dl380-g9/m-p/7049929#M4292</link>
    <description>&lt;P&gt;I have a couple hundred dl380 G9s.&amp;nbsp; I'm trying to add them to my OneView (4.20.01-0380241).&amp;nbsp; It is giving back error: "Verify that 'host' is a management processor with supported firmware...."&amp;nbsp; I am using:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;i=0
for SERVER in $(cat hardware-list); do
   ADDURI[${i}]=$(curl --insecure \
         --"content-type: application/json" \
         --header "auth: ${sessionID}" \
         --header "X-API-Version: ${currentVersion}" \
         --data "{ \"hostname\": \"${SERVER}\", \"username\": \"Administrator\", \"password\": \"${PASSW}\", \"force\": false, \"licensingIntent\": \"OneView

\", \"configurationState\": \"Managed\", \"initialScopeUris\": []}' \
         --request POST ${OneView}/rest/server-hardware | jq -r '.uri')
   ((i++))
done&lt;/LI-CODE&gt;&lt;P&gt;I even tried changing "force" from false to true, but still got the same errors.&amp;nbsp; Any ideas what I might be doing wrong?&amp;nbsp; FYI, I check the status with:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# To check the status:
j=${i}
i=0
while [[ ${i} -lt ${j} ]]; do
   curl --insecure \
        --header "auth: ${sessionID}" \
        --header "X-API-Version: ${currentVersion}" \
        --request GET ${OneView}${ADDURI[${i}]} | jq -r '.'
   ((i++))
done&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 12 Jun 2019 11:37:21 GMT</pubDate>
    <dc:creator>BradV</dc:creator>
    <dc:date>2019-06-12T11:37:21Z</dc:date>
    <item>
      <title>Error adding DL380 G9</title>
      <link>https://community.hpe.com/t5/hpe-oneview/error-adding-dl380-g9/m-p/7049929#M4292</link>
      <description>&lt;P&gt;I have a couple hundred dl380 G9s.&amp;nbsp; I'm trying to add them to my OneView (4.20.01-0380241).&amp;nbsp; It is giving back error: "Verify that 'host' is a management processor with supported firmware...."&amp;nbsp; I am using:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;i=0
for SERVER in $(cat hardware-list); do
   ADDURI[${i}]=$(curl --insecure \
         --"content-type: application/json" \
         --header "auth: ${sessionID}" \
         --header "X-API-Version: ${currentVersion}" \
         --data "{ \"hostname\": \"${SERVER}\", \"username\": \"Administrator\", \"password\": \"${PASSW}\", \"force\": false, \"licensingIntent\": \"OneView

\", \"configurationState\": \"Managed\", \"initialScopeUris\": []}' \
         --request POST ${OneView}/rest/server-hardware | jq -r '.uri')
   ((i++))
done&lt;/LI-CODE&gt;&lt;P&gt;I even tried changing "force" from false to true, but still got the same errors.&amp;nbsp; Any ideas what I might be doing wrong?&amp;nbsp; FYI, I check the status with:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# To check the status:
j=${i}
i=0
while [[ ${i} -lt ${j} ]]; do
   curl --insecure \
        --header "auth: ${sessionID}" \
        --header "X-API-Version: ${currentVersion}" \
        --request GET ${OneView}${ADDURI[${i}]} | jq -r '.'
   ((i++))
done&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 12 Jun 2019 11:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/error-adding-dl380-g9/m-p/7049929#M4292</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2019-06-12T11:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error adding DL380 G9</title>
      <link>https://community.hpe.com/t5/hpe-oneview/error-adding-dl380-g9/m-p/7049976#M4300</link>
      <description>&lt;P&gt;Are you sure you are providing the iLO IP Address?&amp;nbsp; Are there any firewalls between the appliance and the iLO's?&lt;/P&gt;&lt;P&gt;I see that you have posted quite a number of scripting questions here, all using cURL.&amp;nbsp; Any reason why you are not using our Python scripting toolkit?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 14:37:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/error-adding-dl380-g9/m-p/7049976#M4300</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2019-06-12T14:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error adding DL380 G9</title>
      <link>https://community.hpe.com/t5/hpe-oneview/error-adding-dl380-g9/m-p/7049993#M4302</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;Argh!&amp;nbsp; i was cat'ing my file of server host names and not the file of iLO host names!&amp;nbsp; I changed to the correct file and it is now importing.&lt;/P&gt;&lt;P&gt;As far as python goes, because I have never been able to find clear documentation on how to get it working.&amp;nbsp; I see bits and pieces, but nothing that walks you through from not having anything to getting it working.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 15:33:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/error-adding-dl380-g9/m-p/7049993#M4302</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2019-06-12T15:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error adding DL380 G9</title>
      <link>https://community.hpe.com/t5/hpe-oneview/error-adding-dl380-g9/m-p/7050012#M4304</link>
      <description>&lt;P&gt;Documentation is within the &lt;A href="https://github.com/HewlettPackard/python-hpOneView/tree/release/v4.8.0/examples" target="_blank" rel="noopener"&gt;examples&lt;/A&gt; we have published, and in the library &lt;A href="https://hewlettpackard.github.io/python-hpOneView/index.html" target="_blank" rel="noopener"&gt;online documentation&lt;/A&gt;.&amp;nbsp; I would strongly suggest you use the Python library instead of building your own cURL calls.&amp;nbsp; There are plenty of methods available in the Python library that would have already performed the functions you have been posting questions here.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 16:29:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/error-adding-dl380-g9/m-p/7050012#M4304</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2019-06-12T16:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error adding DL380 G9</title>
      <link>https://community.hpe.com/t5/hpe-oneview/error-adding-dl380-g9/m-p/7050153#M4310</link>
      <description>&lt;P&gt;HI Chris,&lt;/P&gt;&lt;P&gt;I am taking another look at the python and ansible libraries.&amp;nbsp; I'll let you know if I have any luck.&amp;nbsp; &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 11:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/error-adding-dl380-g9/m-p/7050153#M4310</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2019-06-13T11:40:27Z</dc:date>
    </item>
  </channel>
</rss>

