mitogen
mitogen copied to clipboard
wait_for throws EOF on stream error / no such file or directory
Please drag-drop large logs as text file attachments.
Feel free to write an issue in your preferred format, however if in doubt, use the following checklist as a guide for what to include.
-
Which version of Ansible are you running? 2.6.20
-
Is your version of Ansible patched in any way? No
-
Are you running with any custom modules, or
module_utils
loaded? No -
Have you tried the latest master version from Git? Currently using latest 0.2 branch version commit 9d404e0
-
Do you have some idea of what the underlying problem may be? For some reason, that latest major macOS version seems to be related to it.
-
Mention your host and target OS and versions Host: macOS 11.2.1 Target: Rasbian Stretch
-
Mention your host and target Python versions Host: 2.7.17 (default, Oct 24 2019, 12:57:47) [GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)] Target: 2.7.13
-
If reporting any kind of problem with Ansible, please include the Ansible version along with output of "ansible-config dump --only-changed".
ANSIBLE_PIPELINING(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = True
ANSIBLE_SSH_ARGS(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = -C -o ControlMaster=auto -o ControlPersist=60s
DEFAULT_CALLBACK_WHITELIST(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = ['profile_roles', 'profile_tasks', 'timer']
DEFAULT_GATHERING(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = smart
DEFAULT_GATHER_SUBSET(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = network
DEFAULT_ROLES_PATH(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = [u'/Users/erwinoegema/git/deploy-scripts/galaxy-roles', u'/Users/erwinoegema/.ansible/roles']
DEFAULT_STDOUT_CALLBACK(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = yaml
DEFAULT_STRATEGY(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = mitogen_linear
DEFAULT_STRATEGY_PLUGIN_PATH(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = [u'/Users/erwinoegema/git/deploy-scripts/plugins/mitogen-9d404e0/ansible_mitogen/plugins/strategy']
DEFAULT_TIMEOUT(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = 60
HOST_KEY_CHECKING(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = False
INVENTORY_ENABLED(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = ['advanced_host_list', 'script', 'yaml', 'ini']
RETRY_FILES_ENABLED(/Users/erwinoegema/git/deploy-scripts/ansible.cfg) = False
Log
________________________
< TASK [Test connection] >
------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Wednesday 17 March 2021 18:53:52 +0100 (0:00:00.071) 0:00:03.486 *******
Wednesday 17 March 2021 18:53:52 +0100 (0:00:00.071) 0:00:03.485 *******
Python(mitogen:[email protected]:50668): execv: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python(mitogen:[email protected]:50668): No such file or directory
fatal: [target]: UNREACHABLE! => changed=false
msg: |-
EOF on stream; last 100 lines received:
MITO000
MITO001
unreachable: true
Command:
- name: Test connection
wait_for:
connect_timeout: 2
timeout: 8
host: '{{ ansible_host }}'
port: '{{ ansible_port|default(22) }}'
connection: local
ignore_errors: yes
register: did_pong
Possibly a duplicate of #778