-
Notifications
You must be signed in to change notification settings - Fork 199
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 fails to load submodule from upstream role linux-system-roles.network when mitogen is enabled #911
Comments
This may have been fixed in master, by #913 |
Hello @moreati ! The issue is for another module, but it seems to be really, really the same issue:
Involved code is, among things:
Note that it's working just fine with the "linear" strategy from Ansible. |
We are having the same problem with openstack modules. Solution was to set strategy to |
It's as if mitogen doesn't know about May it be "just" that? |
Notes to self
|
Any updates? |
Bump. I just hit this again as I've tried to update this role (linux-system-roles.network), (which I manually hacked and bundled everything together. Hopefully, it will be addressed at some point in directly in mitogen. |
Which version of Ansible are you running?
Is your version of Ansible patched in any way?
Are you running with any custom modules, or
module_utils
loaded?Have you tried the latest master version from Git?
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.
Mention your host and target OS and versions
If reporting a crash or hang in Ansible, please rerun with -vvv and include
200 lines of output around the point of the error, along with a full copy of
any traceback or error text in the log. Beware "-vvv" may include secret
data! Edit as necessary before posting.
[WARNING]: exception: Traceback (most recent call last): File "master:/home/andrei/.ansible/roles/linux-system-roles.network/library/network_connections.py", line 2620, in main File "master:/home/andrei/.ansible/roles/linux-system-roles.network/library/network_connections.py", line 1792, in create File "master:/home/andrei/.ansible/roles/linux-system-roles.network/library/network_connections.py", line 2008, in __init__ ModuleNotFoundError: No module named 'ansible.module_utils.network_lsr.nm'
The same works as expected when mitogen is disabled.
If reporting any kind of problem with Ansible, please include the Ansible
version along with output of "ansible-config dump --only-changed".
The text was updated successfully, but these errors were encountered: