{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/awx/issues/2074","repository_url":"https://api.github.com/repos/ansible/awx","labels_url":"https://api.github.com/repos/ansible/awx/issues/2074/labels{/name}","comments_url":"https://api.github.com/repos/ansible/awx/issues/2074/comments","events_url":"https://api.github.com/repos/ansible/awx/issues/2074/events","html_url":"https://github.com/ansible/awx/issues/2074","id":342205733,"node_id":"MDU6SXNzdWUzNDIyMDU3MzM=","number":2074,"title":"Failed to connect to the host via ssh","user":{"login":"sysadm1989","id":11911172,"node_id":"MDQ6VXNlcjExOTExMTcy","avatar_url":"https://avatars0.githubusercontent.com/u/11911172?v=4","gravatar_id":"","url":"https://api.github.com/users/sysadm1989","html_url":"https://github.com/sysadm1989","followers_url":"https://api.github.com/users/sysadm1989/followers","following_url":"https://api.github.com/users/sysadm1989/following{/other_user}","gists_url":"https://api.github.com/users/sysadm1989/gists{/gist_id}","starred_url":"https://api.github.com/users/sysadm1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sysadm1989/subscriptions","organizations_url":"https://api.github.com/users/sysadm1989/orgs","repos_url":"https://api.github.com/users/sysadm1989/repos","events_url":"https://api.github.com/users/sysadm1989/events{/privacy}","received_events_url":"https://api.github.com/users/sysadm1989/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-18T07:18:53Z","updated_at":"2018-07-24T16:00:19Z","closed_at":"2018-07-24T16:00:19Z","author_association":"NONE","body":"Hello, dev.\r\n\r\nAfter some actions in awx web page job template, errors began to appear on each job:\r\n```\r\nfatal: [msk1-awx.unix.nspk.ru]: UNREACHABLE! => { |  \r\n  | 26 | \"changed\": false, |  \r\n  | 27 | \"msg\": \"Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017\\r\\ndebug1: Reading configuration data /etc/ssh/ssh_config\\r\\ndebug1: /etc/ssh/ssh_config line 60: Applying options for *\\r\\ndebug1: auto-mux: Trying existing master\\r\\ndebug1: Control socket \\\"/tmp/awx_993_FXS3y9/cp/a616bf55e4\\\" does not exist\\r\\ndebug1: Executing proxy command: exec /usr/bin/sss_ssh_knownhostsproxy -p 22 msk1-awx.unix.nspk.ru\\r\\ndebug3: timeout: 10000 ms remain after connect\\r\\ndebug1: permanently_drop_suid: 990\\r\\ndebug1: identity file /var/lib/awx/.ssh/id_rsa type 1\\r\\ndebug1: key_load_public: No such file or directory\\r\\ndebug1: identity file /var/lib/awx/.ssh/id_rsa-cert type -1\\r\\ndebug1: key_load_public: No such file or directory\\r\\ndebug1: identity file /var/lib/awx/.ssh/id_dsa type -1\\r\\ndebug1: key_load_public: No such file or directory\\r\\ndebug1: identity file /var/lib/awx/.ssh/id_… |  \r\n  | ...\r\n```\r\nAfter the analysis, it became clear that AWX stopped creating the / tmp / awx_993_FXS3y9 / cp / a616bf55e4 folder before executing the job.\r\n\r\nAfter I made corrections in the module /opt/awx/embedded/lib/python2.7/site-packages/ansible/plugins/connection/ssh.py\".\r\n\r\nbefore:\r\n```\r\n        for b_arg in (a.lower() for a in b_command):\r\n            if b'controlpersist' in b_arg:\r\n                controlpersist = True\r\n            elif b'controlpath' in b_arg:\r\n                controlpath = True\r\n\r\n        return controlpersist, controlpath\r\n```\r\n\r\nafter:\r\n```\r\n        for b_arg in (a.lower() for a in b_command):\r\n            if b'controlpersist' in b_arg:\r\n                controlpersist = True\r\n            elif b'controlpath' in b_arg:\r\n                controlpath = False\r\n\r\n        return controlpersist, controlpath\r\n```\r\n\r\n**Now tasks are performed.**\r\nBut it is not clear why it happened. Before that, I worked only in a web page.\r\n\r\nАWХ version 1.0.6.5\r\n\r\n"}}
{"actor":{"display_login":"matburt"}}