Skip to content
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

Getting Authentication issues while running DELL Ansible playbooks from AWX #121

Open
C5312525 opened this issue Oct 7, 2022 · 4 comments

Comments

@C5312525
Copy link

C5312525 commented Oct 7, 2022

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
Copy link
Author

C5312525 commented Oct 7, 2022

@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
Copy link
Author

Authentication Error in AWX

@anupamaloke
Copy link
Collaborator

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

@C5312525
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants