cannot run ansible commands with mitogen
-
Which version of Ansible are you running? macos 13.2.1, ansible [core 2.12.10]
-
Is your version of Ansible patched in any way? no
-
Are you running with any custom modules, or
module_utilsloaded? no -
Have you tried the latest master version from Git? yes, current version is mitogen==0.3.4
-
Do you have some idea of what the underlying problem may be? https://mitogen.networkgenomics.com/ansible_detailed.html#common-problems has instructions to help figure out the likely cause and how to gather relevant logs.
The target host is accessible via jumphost, but the commands can be executed without the mitogen plugin, here is output below:
TASK [Gathering Facts] ****************************************************************************************************
fatal: [dev]: UNREACHABLE! => {"changed": false, "msg": "EOF on stream; last 100 lines received:\nMITO000\nTraceback (most recent call last):\n File \"/usr/lib/python3.8/encodings/zlib_codec.py\", line 19, in zlib_decode\n return (zlib.decompress(input), len(input))\nzlib.error: Error -5 while decompressing data: incomplete or truncated stream\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"<string>\", line 1, in <module>\n File \"<string>\", line 16, in <module>\nzlib.error: decoding with 'zip' codec failed (error: Error -5 while decompressing data: incomplete or truncated stream)", "unreachable": true}
debug info:
/usr/bin/python3 -c "'import codecs,os,sys;_=codecs.decode;exec(_(_(\"eNqVkl1vgjAUhu/5Fbs7bUawoBmTjGTGj7llfoQ4yeKMQSmzmxZSQKa/fkUWBXex7K5P3/ec80KPo7p2GGsRiyjCilCzErHgSkIQik+ELSU/+2lkIKLqhOAzO2qZhFT1glebMKbIKYMog1uGTEIxMOXeVo6fkbltQ8cTGePgcb8sGfOZZczvQG8elXgfa/SLrtLEW26orKqlsagtGa9F+2QdcrAuHJcGQzPh3+PlvUEM/ZRgR0XMQj6z6nll3tKSNZTvmJC3MH6d9EfDxXPrZdjudzuLnjMaLFynNR53HZjboMPxb5z8LedhSqRQjV54JG5QVVCreA1oy5LwnXLrsKZc+2D37alJGm6v8VS3TLN5U8eAFdksEyyhSFdh8DgZEULeOMgQq9CXX4qVtr1A+RL4YUS5fHoQS8CaoJ6PdJM0b7EKBxbJTkFkn32uCtkS8r0Iop8B7eO5eOsLd/aX+3dKvZrytEUG/gbcZuHS\".encode(),\"base64\"),\"zip\"))'"
MITO000
Traceback (most recent call last):
File "/usr/lib/python3.8/encodings/zlib_codec.py", line 19, in zlib_decode
return (zlib.decompress(input), len(input))
zlib.error: Error -5 while decompressing data: incomplete or truncated stream
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 16, in <module>
zlib.error: decoding with 'zip' codec failed (error: Error -5 while decompressing data: incomplete or truncated stream
-
Mention your host and target OS and versions Ubuntu 16.04.6 LTS
-
Mention your host and target Python versions both python2.7 && python3.8