Mitogen is unable to load module from collection #1120
Labels
affects-0.3
Issues related to 0.3.X Mitogen releases
bug
Code feature that hinders desired execution outcome
I have installed the latest Azure collection (a bunch of modules to interact with Azure): https://galaxy.ansible.com/ui/repo/published/azure/azcollection/
Following documentation:
ansible-galaxy collection install azure.azcollection && pip3 install -r ~/.ansible/collections/ansible_collections/azure/azcollection/requirements.txt
And whenever I switch from
strategy: linear
tostrategy: mitogen_linear
any usage of moduleazure.azcollection.azure_rm_keyvaultsecret_info
fails:by looking at line 162 in file
/Users/dmankows/.ansible/collections/ansible_collections/azure/azcollection/plugins/modules/azure_rm_keyvaultsecret_info.py
there is such import
And checking the directory
~/.ansible/collections/ansible_collections/azure/azcollection/plugins/module_utils
- the module is there:~/.ansible/collections/ansible_collections/azure/azcollection/plugins/module_utils azure-terragrunt-1GvoN0qT ❯ ls -l total 104K -rw-r--r-- 1 dmankows staff 80K Sep 14 01:48 azure_rm_common.py -rw-r--r-- 1 dmankows staff 15K Sep 14 01:48 azure_rm_common_ext.py -rw-r--r-- 1 dmankows staff 4.3K Sep 14 01:48 azure_rm_common_rest.py
Example task:
9.10.0
No
module_utils
loaded?No
No
0.3.9
controller - MacOS Sonoma, MacBook Pro 2021 (ARM), but also this happens on Ubuntu 22-based Docker image (x86_64)
remote - Ubuntu 18/20/22
Python 3.12.6 on controller, on remote - various (3.6., 3.8, 3.10)
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.
The text was updated successfully, but these errors were encountered: