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

Unable to configure new AWX operator version 2.16.1 #15213

Open
3 tasks done
avijitkulkarni30 opened this issue May 22, 2024 · 4 comments
Open
3 tasks done

Unable to configure new AWX operator version 2.16.1 #15213

avijitkulkarni30 opened this issue May 22, 2024 · 4 comments

Comments

@avijitkulkarni30
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that the AWX Operator is open source software provided for free and that I might not receive a timely response.

Bug Summary

Hello All,

We are unable to configure new AWX operator version 2.16.1.
Deployment finishes successfully, however the awx.awx.settings is not picking up the controller username and password.

Tried passing credentials in the playbook as well as directly in the job template(variables), but nothing works.
Error message: "Invalid Authentication Credentials" or "Authentication credentials were not provided"

We can manually login to newly deployed AWX successfully using the same credentials but this module somehow doesn't picks up the credentials.

Note: Everything works in version 2.5.1 or 2.7.1 and awx.awx.settings module doesn't fails with authentication error message.
The issue is observed only in higher version(2.16.1 in our scenario).

We would like to check if we are missing anything pertaining to the module or anything else regarding newer operator version ?

Thank you so much in advance.

AWX Operator version

2.16.1

AWX version

24.3.1

Kubernetes platform

minikube

Kubernetes/Platform version

client: 1.23.2 server: 1.23.3

Modifications

no

Steps to reproduce

Running aws.awx.setting module to configure AWX settings and parameters
It gives authentication error even if required controller credentials are provided.

Expected results

awx.awx.settings should configure AWX related settings.

Actual results

Error message: "Invalid Authentication Credentials" or "Authentication credentials were not provided"

Additional information

No response

Operator Logs

No response

@thedoubl3j thedoubl3j transferred this issue from ansible/awx-operator May 22, 2024
@thedoubl3j
Copy link
Member

thedoubl3j commented May 22, 2024

hey @avijitkulkarni30 this seems like an awx collection issue so we transferred this to the awx repo. can you provide a little more information on how you provide the credentials in your playbook and where you provide them?

can you also provide the awx collection version that is in use as well?

@avijitkulkarni30
Copy link
Author

Hello @thedoubl3j ,

Thank you for the response.

We are providing credentials using lookup plugin in the playbook and fetch them from an external credential manager.

I have also tried to explicitly mention the "controller_username" and "controller_password" as variable during the job template run(variables option in job template) and even in this scenario it fails with same message.

Collection: awx.awx
Version: 24.3.1

Please let me know if any further details required from my end.

Thank you again.

@avijitkulkarni30
Copy link
Author

Hello Colleagues,

Requesting you to provide an update on this issue.
Please let me know if any further details are required from my end.

Thank you.

@avijitkulkarni30
Copy link
Author

Hello @thedoubl3j,

Greetings !

Could you please check this issue ?
I have already provided requested details in my previous comment.

Please let me know if any further details are required from our end.

Thank you.

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

No branches or pull requests

2 participants