dell / iDRAC-Redfish-Scripting

Python and PowerShell scripting for Dell EMC PowerEdge iDRAC REST API with DMTF Redfish
GNU General Public License v2.0
598 stars 276 forks source link

SetIdracLcSystemAttributesREDFISH.py not allowed to create WebServer.1.ManualDNSEntry #206

Closed xtalkme closed 2 years ago

xtalkme commented 2 years ago

version: iDRAC v5.10.00.00

Trying to automate this step: ("1. iDRAC v5.10.00.00 adds an enhanced security check for accessing iDRAC using a hostname. To access iDRAC using a hostname, ensure that you configure the hostname through the attribute idrac.webserver.ManualDNSEntry ( racadm set idrac.webserver.ManualDNSEntry kos2-204-i.datadomain.com).") python3 SetIdracLcSystemAttributesREDFISH.py -ip $vm -u root -p "calvin" -s idrac -an WebServer.1.ManualDNSEntry -av $vm

result:

After creating it once with racadm it works fine. Not sure this works as intended.

texroemer commented 2 years ago

Hi @xtalkme

I don't know of any known issues with setting this attribute using Redfish. Did mean you first tried to set this attribute using Redfish which failed. Then tried using RACADM, passes. Now try Redfish again and Redfish now passes?

I updated the script to print out the JSON response and status code on failure, can you run again to try and repro the issue, collect this data?

Thanks Tex

xtalkme commented 2 years ago

@texroemer tried reproducing this today on 6 servers including the ones that i got the error initially from. no beuno.... My bad, you can close the issue. Thanks for you time!