-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Hashicorp Vault Signed SSH credentials not working in 21.0.0 #12311
Comments
That's a known issue: |
@Tioborto thanks... I was looking through the code trying to find the breakage and never found that. Glad it was an easy fix. Any ETA by chance on the release? |
@jbouse https://github.com/ansible/awx/releases/tag/21.1.0 |
@nixocio let me update my deployment and validate. |
@nixocio Yes, the 21.1.0 image is handling the signed SSH certificate properly now as it did in 20.1.0. I am however seeing an issue now when I launch a job that I'm getting thrown the "Something went wrong..." screen while trying to watch the running job. After the job has been completed, I can open up the output but not while it is running. Unsure if this is related to the new image or not yet. |
@nixocio disregard the error... Turns out my browser must have had a bad cache as restarting the browser and re-logging in everything worked fine. |
@jbouse , thanks for your update. I will close this issue then. |
Please confirm the following
Summary
Unable to use the
Hashicorp Vault Signed SSH
credential to sign the SSH key to log into servers using zero-trust method. This appears to be a regression from 20.1.0 where this credential continues to work without problem and only fails when using 21.0.0.AWX version
21.0.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
core 2.12.5.post0
Operating system
MacOS
Web browser
Chrome
Steps to reproduce
Machine
credential with the Signed SSH Certificate using a configuredHashicorp Vault SIgned SSH
credential.Machine
credential that is expected to be signed by vault.Expected results
Previously with AWX 20.1.0 using the
Hashicorp Vault Signed SSH
credentials the Job output would show something like:The line stating
Certificate added: ...
indicating the signed certificate from Vault was being passed along with thePrivate SSH key
that had been unlocked with the passphrase (also retrieved from Vault viaHashicorp Vault Secret Lookup
). I would expect to see the same behavior with 21.0.0.Actual results
In the case of AWX 21.0.0 using the
Hashicorp Vault Signed SSH
credential I am seeing only the following:I am using the
approle
auth method for AWX to authenticate to Hashicorp Vault 1.10.3. I've configured therole_id
andsecret_id
accordingly for both theHashicorp Vault Signed SSH
andHashicorp Vault Secret Lookup
credentials. All myMachine
credentials have theSSH Private Key
using theHashicorp Vault Secret Lookup
to retrieve the key so and non-Signed SSHMachine
credentials work fine so I know AWX is properly authenticating with Vault. Only theSigned SSH
credentials are failing. Further I have executed the samevault ssh -mode=ca ...
CLI call duplicating what AWX should be performing using the sameapprole
credentials and I am able to connect into the servers successfully.Additional information
AWX is deployed into the EKS cluster using the AWX Operator which was deployed via Helm chart. Both 21.0.0 and 20.1.0 were deployed via AWX Operator but only 21.0.0 appears to be exhibiting this regression.
The text was updated successfully, but these errors were encountered: