question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mitogen does not support Ansible 2.8 yet

See original GitHub issue
  • Which version of Ansible are you running? 2.8rc3

  • Is your version of Ansible patched in any way? no

  • Are you running with any custom modules, or module_utils loaded? yes

  • Have you tried the latest master version from Git? yes - this is with latest master

  • Mention your host and target OS and versions

Host - EL7.6

  • Mention your host and target Python versions

python 2.7.5

PLAY [webfilter*] **********************************************************************************************************************************************************
[mux  9691] 17:21:18.993407 D mitogen: mitogen.service.Pool(0x7f124f022190, size=32, th='MainThread'): initialized
[mux  9691] 17:21:18.996991 D ansible_mitogen.process: Service pool configured: size=32

TASK [Gathering Facts] *****************************************************************************************************************************************************
task path: /export/home/orion-admin/ansible-boulder/playbooks/e2guardian.yml:2
Sunday 12 May 2019  17:21:19 -0600 (0:00:00.185)       0:00:00.185 ************ 
ERROR! Unexpected Exception, this is probably a bug: expected string or buffer
the full traceback was:

Traceback (most recent call last):
  File "/bin/ansible-playbook", line 110, in <module>
    exit_code = cli.run()
  File "/usr/lib/python2.7/site-packages/ansible/cli/playbook.py", line 123, in run
    results = pbex.run()
  File "/usr/lib/python2.7/site-packages/ansible/executor/playbook_executor.py", line 170, in run
    result = self._tqm.run(play=play)
  File "/usr/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 249, in run
    play_return = strategy.run(iterator, play_context)
  File "/export/home/orion-admin/ansible-boulder/mitogen/ansible_mitogen/strategy.py", line 254, in run
    lambda: run(iterator, play_context)
  File "/export/home/orion-admin/ansible-boulder/mitogen/mitogen/core.py", line 561, in _profile_hook
    return func(*args)
  File "/export/home/orion-admin/ansible-boulder/mitogen/ansible_mitogen/strategy.py", line 254, in <lambda>
    lambda: run(iterator, play_context)
  File "/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.py", line 306, in run
    self._queue_task(host, task, task_vars, play_context)
  File "/export/home/orion-admin/ansible-boulder/mitogen/ansible_mitogen/strategy.py", line 229, in _queue_task
    class_only=True,
  File "/export/home/orion-admin/ansible-boulder/mitogen/ansible_mitogen/strategy.py", line 98, in wrap_connection_loader__get
    return connection_loader__get(name, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/ansible/plugins/loader.py", line 557, in get
    path = self.find_plugin(name, collection_list=collection_list)
  File "/usr/lib/python2.7/site-packages/ansible/plugins/loader.py", line 506, in find_plugin
    plugin = self._find_plugin(name, mod_type=mod_type, ignore_deprecated=ignore_deprecated, check_aliases=check_aliases, collection_list=collection_list)
  File "/usr/lib/python2.7/site-packages/ansible/plugins/loader.py", line 395, in _find_plugin
    if (is_collection_ref(name) or collection_list) and not name.startswith('Ansible'):
  File "/usr/lib/python2.7/site-packages/ansible/utils/collection_loader.py", line 298, in is_collection_ref
    return bool(_collection_qualified_re.match(candidate_name))
TypeError: expected string or buffer
[mux  9691] 17:21:19.052346 D mitogen: Waker(Broker(0x7f124f00fa10) rfd=6, wfd=8).on_disconnect()
[mux  9691] 17:21:19.052735 D mitogen: Router(Broker(0x7f124f00fa10)): stats: 0 module requests in 0 ms, 0 sent (0 ms minify time), 0 negative responses. Sent 0.0 kb total, 0.0 kb avg.                             

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
dwcommented, Aug 1, 2019

Bare minimum implementation seems to be done now – please open fresh issues for anything you bump into, but CI is passing so I’m happy 😃


This is now on the master branch and will make it into the next release. To be updated when a new release is made, subscribe to https://networkgenomics.com/mail/mitogen-announce/

Thanks for reporting this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mitogen does not support Ansible 2.8 yet · Issue #587 - GitHub
This is progress, but it puts Mitogen in a tough situation since we want to maintain support for Ansible 2.3/2.4, where the new...
Read more >
Release Notes — Mitogen Documentation
#597 mitogen does not support Ansible 2.8 Python interpreter detection ... Become plugins (#631) and interpreter discovery (#630) are not yet handled.
Read more >
1771416 – python2-mitogen package doesn't work correctly
On RHEL7 with ansible-2.8.4-1.el7ae.noarch we tried to replace standard Ansible launching strategy with faster mitogen_linear. However when enabled in ansible.
Read more >
Mitogen for Ansible 0.2.8 released (with Ansible 2.8 support)
I see that the mitogen documentation mentions local connection type is supported, but does it actually speed up the task executions like it ......
Read more >
Ansible 2.10 Porting Guide
Windows Server 2008 and 2008 R2 will no longer be supported or tested in the next ... those changes will be unnecessary (but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found