HewlettPackard / python-redfish-utility

Python-based utility for interacting with devices supporting a Redfish Service
Other
85 stars 41 forks source link

Admin remote Cache Problem #74

Closed Justice81 closed 7 months ago

Justice81 commented 1 year ago

If using as non admin under linux debian its not working correctly

(www-data because i wnat to use the tool within a monitoring system)

sudo -u www-data ilorest iloreset https://IP user password! -vv iLOrest : RESTful Interface Tool version 4.0.0.0 Copyright (c) 2014-2022 Hewlett Packard Enterprise Development LP

Local login initiated...

Both remote and local mode is accessible when RESTful Interface Tool is run as administrator. Only remote mode is available for non-admin user groups. ILOREST return code: 5

And using nocache it is not working correctly:

as you can see if using ne nocache , ilorest ist connecting local not remote ilorest iloreset https://ip user password -vv --nocache iLOrest : RESTful Interface Tool version 4.0.0.0 Copyright (c) 2014-2022 Hewlett Packard Enterprise Development LP

Local login initiated... Discovering data...Done Monolith build process time: 1.761587142944336 A management processor reset is in progress. ILOREST return code: 0

rajeevkallur commented 1 year ago

@Justice81 , Syntax is not correct. Correct syntax is

ilorest iloreset --url https://ip/ -u user -p password -vv --nocache

rajeevkallur commented 11 months ago

@Justice81 , Please test with latest ilorest version and let us know.