Skip to content
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

Task output linked to wrong task with mitogen_free and mitogen_host_pinned strategies #1165

Open
setpill opened this issue Oct 18, 2024 · 2 comments
Labels
affects-0.3 Issues related to 0.3.X Mitogen releases bug Code feature that hinders desired execution outcome

Comments

@setpill
Copy link

setpill commented Oct 18, 2024

I am running a complex playbook on a large amount of hosts. For this reason, I have hidden the "OK" and "SKIPPED" hosts. Trying to speed up this playbook with mitogen, I find that task output is shown under unrelated tasks. The name of the task shown is a task done earlier than the task whose output is shown under it.

Relevant env vars that ansible is run with:

ANSIBLE_DISPLAY_OK_HOSTS: "false"
ANSIBLE_DISPLAY_SKIPPED_HOSTS: "false"
ANSIBLE_STRATEGY: mitogen_host_pinned
ANSIBLE_STRATEGY_PLUGINS: /usr/local/lib/python3.12/site-packages/ansible_mitogen/plugins/strategy

Ansible version 2.16.12 (for backwards compatibility reasons)
Currently tested with 0.3.13
Host: Ubuntu 22.04
Target: Various Ubuntu versions, ranging from 18.04 to 24.04

@setpill setpill added affects-0.3 Issues related to 0.3.X Mitogen releases bug Code feature that hinders desired execution outcome labels Oct 18, 2024
@moreati
Copy link
Member

moreati commented Oct 21, 2024

Thanks for the report. I'm afraid I don't think I can look at this anytime soon. Ansible strategies are not something I have experience with, and only mitogen_linear has any coverage in the Mitogen test suite.

A minimal reproduction (e.g. a playbook + inventory) would be a necessary starting point, but I couldn't promise anything even then.

@setpill
Copy link
Author

setpill commented Oct 21, 2024

Unfortunately I can't currently put time into finding a minimal reproduction. Being limited to using mitogen_linear is good enough for my purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-0.3 Issues related to 0.3.X Mitogen releases bug Code feature that hinders desired execution outcome
Projects
None yet
Development

No branches or pull requests

2 participants