dell / iDRAC-Redfish-Scripting

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

new idrac firmware fails Export #54

Closed m87carlson closed 5 years ago

m87carlson commented 5 years ago

Hey @texroemer

We have a R730xd that was updated to idrac 2.30.30.30 that now fails a simple redfish Export:

CMD:

python ExportSystemConfigurationLocalREDFISH.py -ip 192.168.100.100 -u root -p $IDRAC_PASS -t iDRAC.Embedded.1,BIOS.Setup.1-1
- FAIL, status code not 202, code is: 405
- Error details: {'cookies': <RequestsCookieJar[]>, '_content': '{\n  "error": {\n    "code": "5",\n    "message": {\n      "lang": "en-us",\n      "value": "not supported: "\n    }\n  }\n}\n', 'headers': {'Content-Length': '117', 'Accept-Ranges': 'bytes', 'Keep-Alive': 'timeout=60, max=199', 'Server': 'Appweb/4.5.4', 'Connection': 'Keep-Alive', 'Cache-Control': 'no-cache', 'Date': 'Mon, 01 Apr 2019 23:23:55 GMT', 'OData-Version': '4.0', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json;odata.metadata=minimal;charset=utf-8'}, 
'url': u'https://192.168.100.100/redfish/v1/Managers/iDRAC.Embedded.1/Actions/Oem/EID_674_Manager.ExportSystemConfiguration', 'status_code': 405, '_content_consumed': True, 'encoding': 'utf-8', 'request': <PreparedRequest [POST]>, 'connection': <requests.adapters.HTTPAdapter object at 0x10af89990>, 'elapsed': datetime.timedelta(0, 3, 518477), 'raw': <urllib3.response.HTTPResponse object at 0x10af89f10>, 'reason': 'Method Not Allowed', '_next': None, 'history': []}
texroemer commented 5 years ago

Hi @m87carlson

2.30 is an old iDRAC version, 2.61 is the latest posted on Dell Support site. Can you flash to 2.61 and let me know if issue is resolved?

Thanks

m87carlson commented 5 years ago

yeah my mistake. Someone said they updated to the current and as it turns out, 2.30.30.30 is so old it doesnt even have the export feature.

Thanks!