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

Red Hat Satellite 6 credential does not work with Job Templates #69

Open
BartOpitz opened this issue Dec 10, 2024 · 1 comment
Open
Labels
help wanted Extra attention is needed

Comments

@BartOpitz
Copy link

I have an issue with Red Hat Satellite 6 credential type. It normaly injects FOREMAN_USERNAME/FOREMAN_PASSWORD/FOREMAN_SERVER_URL Environment variables.
I want to use theforeman.foreman.hostgroup_info module which falls back to those environment variables. My Job Template is bound with credential of this type, but mentioned environment variables are not injected.

From the implementation it looks like this credential was meant to work only in inventory source. Why?
Is there a reason for it not to work with job template? This would allow seamless authentication with theforeman.foreman collection.

I do not know if that was the case all the time, or just after moving out of credential plugins to external repository, but it does not work with AWX 24.6.1 (latest at this moment)

@thedoubl3j thedoubl3j added the help wanted Extra attention is needed label Jan 23, 2025
@thedoubl3j
Copy link
Member

@BartOpitz

From the implementation it looks like this credential was meant to work only in inventory source. Why?

I am guessing that we never saw or had anyone requesting to use the inventory plugin as a cred type as well. We didn't change any functionality when we moved creds over so that we could maintain backwards compat so my guess is that it has always been this way.

Not sure we have the capacity right now to add this but marked with help wanted. Will also look and see if we have any other instances of folks wanting this to help give it more prio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants