Remote execution always uses root, ignoring remote_execution_ssh_user param after updating to 1.22
Worked fine before update ( running 1.21.3 ) - update went fine except for remote execution no longer working.
Error initializing command: Net::SSH::AuthenticationFailed - Authentication failed for user firstname.lastname@example.org
Remote execution should ssh to the machine using the user specified with the remote_execution_ssh_user parameter, as it did before, and not root (default).
I’ve tested using ssh manually using the correct email@example.com through command line and that works fine.
Foreman and Proxy versions:
Foreman / Proxy: 1.22.0
Foreman and Proxy plugin versions:
As reported by Smart-proxy page:
Pulp server version: 2.19.1
TFTP server: false
Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
(for logs, surround with three back-ticks to get proper formatting, e.g.)
After more testing this seems to be ansible related, not remote-execution!
Fails when using Ansible job templates ( Command: /bin/true in this case ) but if i change to the remote_executions standard Command template, it seems to work. my bad tehre.
Still would like this solved for me for the Ansible jobs - Do i need to set the SSH User somewhere else aswell now for Ansible or is it still using the Remote executions parameter?