-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 response code for python api #15
Comments
Hi, 404 usually means Redfish support is not enabled on the iDRAC. Can you check from either RACADM or iDRAC GUI, see if Redfish is enabled on the iDRAC? Example to check Redfish setting: C:>racadm -r 192.168.0.120 -u root -p calvin get idrac.redfish If Redfish is enabled, can you give me the message details for the POST command? Add this line to the script to print the message details. print(response.__dict__) |
racadm -r *** -u 'root' -p '*****' get idrac.redfish FYI idrac is : Integrated Dell Remote Access Controller 6 Version 3.65 |
iDRAC 6 does not have Redfish support. You must have either have iDRAC 7/8 which is supported on 12G /13G servers or iDRAC 9 which is supported on 14G servers. Since you can't use Redfish with your current iDRAC, i would recommend using RACADM to script the power operation. You can use "racadm serveraction" command for server power operations. _C:>racadm -r 192.168.0.120 -u root -p calvin help serveraction serveraction -- perform system power management operations Usage: racadm serveraction Valid Options: -f : Force the server power management operation. Usage Examples:
For help on viewing the properties of a group, run the command - racadm help get C:>_ |
Thanks for help. |
I am trying to reboot the host using this however, everytime I am getting 404 response.
idrac is reachable normally from browser using same IP and access details.
Please help.
The text was updated successfully, but these errors were encountered: