HewlettPackard / python-redfish-utility

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

Serverclone command doesn't check wheather server is up or not. #72

Closed akhrnkn closed 3 months ago

akhrnkn commented 1 year ago

ilorest v4.0.0.0 "serverclone load" asks "The system is ready to be reset. Perform a reset now?"  in line 464 of ServerCloneCommand.py . When I answer y, it runs "ilorest reboot" with coldboot option in line 481.   It seems the program assumes the system is up. But the system may be stopped. No document says it is required to be up when executing "serverclone load".   So when aswer y with the system stopped, the program aborted with message "iLO.2.15.InvalidOperationForSystemState". I think code for check system state before asking reset or not.

rajeevkallur commented 8 months ago

@akhrnkn , Please recheck with latest version of ilorest 4.6.0.0

rajkumar14 commented 3 months ago

@akhrnkn This is fixed in build 5.0.0.0. Please you can verify.