redfish-ansible-module icon indicating copy to clipboard operation
redfish-ansible-module copied to clipboard

Getting Authentication issues while running DELL Ansible playbooks from AWX

Open C5312525 opened this issue 3 years ago • 4 comments

Playbooks were working fine as expected in Ansible Tower(AWX) for DELL R840 and R930 Models For the past couple of days when ever we use Username and Password fields in Playbook getting Authentication issues for all the playbooks.

Error Message: fatal: [hec10esx00052.wdf.hec.sap.biz]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "changed": false, "msg": "HTTP Error 401 on GET request to 'https://hec10esx00052r.wdf.hec.sap.biz/redfish/v1/Systems', extended message: 'The authentication credentials included with this request are missing or invalid.'"} Kindly help us in this regards.

C5312525 avatar Oct 07 '22 11:10 C5312525

@anupamaloke , tried GITHub issue which you mentioned earlier as well under master folder of below link: https://github.com/dell/redfish-ansible-module/blob/master/playbooks/power/power_graceful_restart.yml,

getting same issue described above for this playbook provided also.

C5312525 avatar Oct 07 '22 14:10 C5312525

Authentication Error in AWX

C5312525 avatar Oct 12 '22 02:10 C5312525

@C5312525, one thing would be check whether you are able to login to the iDRACs WebUI using those credentials.

anupamaloke avatar Oct 12 '22 10:10 anupamaloke

Capture

I have tried logging into same host using web interface. I am able to login without any issues, moreover i found one issue, when credentials are being passed along with IDRAC Environment it is not throwing any issues as defined below. Authentication Error in AWX

If I start passing credentials for reboot playbook it is creating issues as below.

Issueswhilepassing creds

C5312525 avatar Oct 14 '22 04:10 C5312525