HewlettPackard / python-ilorest-library

Python library for interacting with devices which support a Redfish Service
Apache License 2.0
181 stars 89 forks source link

Unable to set onetime boot using ilorest 4.1.0.0 #151

Closed akki-9922 closed 7 months ago

akki-9922 commented 10 months ago

Hi team,

I am using rhel7.x machine and trying to set a onetime boot using ilorest 4.1.0.0 for HP 380 Gen 10 server but it's failing.

My ILO version is ILO5

Method 1:

/mnt/packages/x64/rest/ilorest

iLOrest : RESTful Interface Tool version 4.1.0.0 Copyright (c) 2014-2023 Hewlett Packard Enterprise Development LP

iLOrest > login Discovering data...Done iLOrest > bootorder --onetimeboot=Hdd bootname is : Boot Order Current Settings

bootname is : Boot Order Pending Settings

bootpath is : /redfish/v1/systems/1/bios/boot/settings/ ERROR: 'str' object has no attribute 'get'

Method 2:

mnt/packages/x64/rest/ilorest bootorder --onetimeboot=Cd --commit login -u -p

iLOrest : RESTful Interface Tool version 4.1.0.0 Copyright (c) 2014-2023 Hewlett Packard Enterprise Development LP

Discovering data...Done bootname is : Boot Order Current Settings bootname is : Boot Order Pending Settings bootpath is : /redfish/v1/systems/1/bios/boot/settings/

After this command returns with exit code 0 but no boot device changed.

rajeevkallur commented 9 months ago

@akki-9922 Please check with latest 4.5.0.0. There is no issue observed w.r.t bootorder

rajeevkallur commented 7 months ago

Closed