mitogen: UNREACHABLE! => {"changed": false, "msg": "EOF on stream; last 100 lines received: The system cannot find the path specified, "unreachable": true}

Host : Ansible version 2.9.4 (on CentOS7)+ Mitogen version 2.9, python version 2.7.5 Target : Windows 2012

Similar error message with #597 but specifying ansible_python_interpreter=/usr/bin/python3 or ansible_python_interpreter=/usr/bin/python2 doesn’t work.

I’m trying to test ansible connection with my windows target, everything works fine but causing Windows server high CPU usage, so I installed mitogen and edited ansible.cfg. Tasks that did not connect with my Windows server run successfully, but getting this error when running win_ping :

fatal: [my_windows_host]: UNREACHABLE! => {"changed": false, "msg": "EOF on stream; last 100 lines received: The system cannot find the path specified, "unreachable": true}`

I’ve tried using ssh and winrm, also tried downgraded my ansible to 2.8.8, but still facing the same error. By removing the line strategy = mitogen in ansible.cfg, the playbook can run successfully again. Is it because Mitogen doesn’t support Windows target? Or what else can I try? Thanks.

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 1
  • Comments: 20

Most upvoted comments

@hackatoo Sadly I didn’t find any workable solution to this error

Here is the dump of -vvvv when running with Mitogen log20200629.txt (My Windows host is a Windows server 2012 R2 64bit)

Ansible python interpreter discovery was added in the latest master of Mitogen, can you give the latest commit a try?