Remote execution jobs are failing with error: SocketError getaddrinfo: Name or service not known on Satellite server.

Solution Verified - Updated -

Issue

  • Remote Execute fails with error: SocketError getaddrinfo: Name or service not known.
  • From Satellite WEB UI downflow console below error is observed:

     metadata:
    timeout: '2017-05-19 16:06:16 +0400'
    proxy_task_id: 8648573526-c892-42da-a228-d5e20938577a
     proxy_output:
    result:
    - output_type: debug
    output: |-
         Error initializing command #
        SocketError getaddrinfo: Name or service not known
       timestamp: 1502712316.9726257
       exit_status: EXCEPTION
    
  • Remote job fails with error message:

     1: Error initializing command #
     2: SocketError getaddrinfo: Name or service not known
     3: Exit status: EXCEPTION
    
  • REX jobs failing with error:

    PLAY [all] 
    *********************************************************************
    
    TASK [Gathering Facts] 
    *********************************************************
    fatal: [client.redhat.com]: UNREACHABLE! => {"changed": false, "msg": 
    "Failed to connect to the host via ssh: ssh: Could not resolve hostname client.redhat.com: Name or service not known", "unreachable": true}
    to retry, use: --limit @/tmp/foreman-playbook-79716c3a-378a-4a96-b4b0-0fa9cb6624c8.retry
    
    PLAY RECAP *********************************************************************
    client.redhat.com    : ok=0    changed=0    unreachable=1    failed=0   
    
    Exit status: 4
    

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content