New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible 2.7 #392

Closed
ulrichSchreiner opened this Issue Oct 10, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@ulrichSchreiner

ulrichSchreiner commented Oct 10, 2018

hi,

i've updated my ansible container to 2.7, now i get the following error when i try to use mitogen:

The full traceback is:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ansible/executor/task_executor.py", line 139, in run
    res = self._execute()
  File "/usr/lib/python3.6/site-packages/ansible/executor/task_executor.py", line 598, in _execute
    result = self._handler.run(task_vars=variables)
  File "/usr/lib/python3.6/site-packages/ansible_mitogen/mixins.py", line 115, in run
    return super(ActionModuleMixin, self).run(tmp, task_vars)
  File "/usr/lib/python3.6/site-packages/ansible/plugins/action/normal.py", line 46, in run
    result = merge_hash(result, self._execute_module(task_vars=task_vars, wrap_async=wrap_async))
  File "/usr/lib/python3.6/site-packages/ansible_mitogen/mixins.py", line 334, in _execute_module
    self._connection._connect()
  File "/usr/lib/python3.6/site-packages/ansible_mitogen/connection.py", line 527, in _connect
    stack=mitogen.utils.cast(list(stack)),
  File "/usr/lib/python3.6/site-packages/mitogen/core.py", line 1126, in call_service
    return recv.get().unpickle()
  File "/usr/lib/python3.6/site-packages/mitogen/core.py", line 487, in unpickle
    raise obj
mitogen.core.CallError: exceptions.ImportError: Master does not have u'ansible_mitogen.target'
  File "<stdin>", line 2049, in _dispatch_calls
  File "<stdin>", line 2033, in _dispatch_one
  File "<stdin>", line 367, in import_module
  File "<stdin>", line 791, in load_module

do you plan to support ansible 2.7?

@ulrichSchreiner

This comment has been minimized.

ulrichSchreiner commented Oct 10, 2018

hi,
i tested it with master and it seems to has already been fixed.

@dw

This comment has been minimized.

Owner

dw commented Oct 10, 2018

Please use Git master for the time being, 0.2.2 definitely does not support 2.7. Thanks for reporting

@dw

This comment has been minimized.

Owner

dw commented Oct 23, 2018

This is now on the stable branch and part of the brand nwe 0.2.3 release. To be updated when a new release is made, subscribe to https://www.freelists.org/list/mitogen-announce

Thanks for reporting this!

@dw dw closed this Oct 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment