Satellite fails to execute ansible commands when connected to ipa server

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.4+

Issue

  • Remote execution with Ansible fails with error "Failed to connect to the host via ssh: ssh_exchange_identification: Connection closed by remote host"
  • Remote execution with SSH works fine

Resolution

Work around:

Root Cause

  • As part of the IPA client installation, this line of configuration is added but interferes with the Ansible integration of Satellite 6.

  • The root cause for this issue is currently under investigation in This content is not included.bugzilla 1650103.

Diagnostic Steps

  • The error can be seen in /var/log/foreman/production.log and in the failed Satellite task.

    `Failed to connect to the host via ssh: ssh_exchange_identification: Connection closed by remote host ` 
    
SBR
Product(s)
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.