Common configuration and troubleshooting of Remote Execution with Red Hat Satellite 6
Remote execution refers to the ability to run jobs with arbitrary commands on hosts using shell scripts and to run Ansible tasks and playbooks.
For Satellite Server, remote execution is enabled by default. However, you may need to enable it manually for Capsule Server.
This article provides general guidance and references to troubleshooting articles that can help you when configuring or troubleshooting some issues related to remote execution in Red Hat Satellite 6 or Red Hat Capsule 6 installations.
Documentation
-
Red Hat Satellite 6.7 - Managing Hosts: Running Jobs on Hosts
This is the official product documentation that discusses this feature and how it can be used.
Common configuration topics
- Set different SSH Port for Remote Execution in Red Hat Satellite 6
- How to setup Remote Execution using non-root user on RHEL system connected to Red Hat Satellite 6
- How to setup Remote Execution using non-root users with password
- How to specify the desired Capsule to be used for Remote Execution (REX)
Issues related to authentication and connectivity
- Remote execution fails with "Authentication failed for user root@client_hostname" even though keys are correctly copied
- Remote Execution fails from Capsule server with message "Error initializing command: Net::SSH::AuthenticationFailed - Authentication failed for user root@client.example.com" in Red Hat Satellite 6.5.
- Red Hat Satellite 6.4 fails to run ansible-based remote execute commands when enrolled in IdM domain
- This content is not included.Remote execution jobs is failing with error "Failed to initialize: Dynflow::ExecutionPlan::Steps::Error - The only applicable capsule satellite.example.com is down."
- Remote execution jobs is failing with "SocketError getaddrinfo: Name or service not known" error in Red Hat Satellite
- Remote execution jobs is failing with error "Net::SSH::ConnectionTimeout" on Red Hat Satellite
For more KB articles/solutions related to Red Hat Satellite 6.x Remote Execution Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Remote Execution Issues