-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
6.17.0
-
False
-
Moderate
-
sat-endeavour
-
None
-
None
-
None
-
None
Description of problem:
Registering host with 'setup_remote_execution=true' doesn't help in automatic Remote Execution.
How reproducible:
- Easily
Is this issue a regression from an earlier version:
- NA
Steps to Reproduce:
1. Register host using 'setup_remote_execution=true'
2. Try to perform remote execution after successful registration
Actual behavior:
REX job fails with:
false, "msg": "Failed to connect to the host via ssh: root@10.xx.xx.xx: Permission
Updated setting: Connect by IP false:
~~~
1: Error initializing command: RuntimeError - Could not establish connection to remote host using any available authentication method, tried publickey
2:
3: Authentication method 'publickey' failed with:
4: root@client.example.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
5: Exit status: EXCEPTION
6: StandardError: Job execution failed
~~~
Expected behavior:
REX job should not fail with above error.
Business Impact / Additional info: