Due to ssh connection timeout the job templates are stuck in running state on the ansible automation platform 2.x.

Solution Verified - Updated -

Issue

  • The job template stays in a running state and is stuck when has gather_facts set to true in the playbook. The job template does not finish but is stuck on TASK [ Gathering Facts] with below erorr.

    debug1: Trying private key: /home/runner/.ssh/id_rsa\r
    20456 1671014780.98928: stderr chunk (state=3):
    debug3: no such identity: /home/runner/.ssh/id_rsa: No such file or directory\r
    debug1: Trying private key: /home/runner/.ssh/id_dsa\r 
    debug3: no such identity: /home/runner/.ssh/id_dsa: No such file or directory\r
    debug1: Trying private key: /home/runner/.ssh/id_ecdsa\r
    debug3: no such identity: /home/runner/.ssh/id_ecdsa: No such file or directory\r
    debug1: Trying private key: /home/runner/.ssh/id_ed25519\r
    debug3: no such identity: /home/runner/.ssh/id_ed25519: No such file or directory\r
    debug1: Trying private key: /home/runner/.ssh/id_xmss\r
    debug3: no such identity: /home/runner/.ssh/id_xmss: No such file or directory\r
    debug2: we did not send a packet, disable method\r
    debug3: authmethod_lookup password\r
    debug3: remaining preferred: ,password\r
    debug3: authmethod_is_enabled password\r
    debug1: Next authentication method: password\r
    debug3: send packet: type 50\r
    debug2: we sent a password packet, waiting for reply\
    

Environment

  • Ansible Automation Platform 2.x

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