ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to download iso file from http enabled server using Python to ILO server

Thiyagu1093
Occasional Contributor

Not able to download iso file from http enabled server using Python to ILO server

Hi Team,

I am using restful api to updating firmware for ProLiant DL360 Gen9 using below api,

Request URL: https://<ilo_ip>/redfish/v1/Managers/1/VirtualMedia/2/Actions/Oem/Hp/HpiLOVirtualMedia.InsertVirtualMedia/

Body:

{"Image" : "http://<http_enabled_server_ip>:8001/P05006.iso"}

To inserting image into virtual media using URL, I tried to launch HTTP server to download ISO image via python script.

Using Python HTTP method -> I am able to expose the directory which contains ISO into webpage and able to download it locally using wget/manual click option.
But, ILO server is not able to download it during Mount process [Failing with "error: [Errno 32] Broken pipe" Error message]

Note: ILO server and HTTP enabled linux machine are in same network.

Can you please help me to resolve this issue. 


Thanks,
Thiyagu

1 REPLY
Vivekem
Advisor

Re: Not able to download iso file from http enabled server using Python to ILO server

Hi Thiyagu,

I am not sure about this error .

Please go through below guide  example 17.

Please check if this helps you 

https://github.com/HewlettPackard/python-ilorest-library-old/wiki/Examples

 

 

Thank You!
I am an HPE employee
_________________________________________
Was the post useful? Click on the white KUDOS! Thumb below. Kudos is a way of saying thank you to a post.