ansible / awx-ee

An Ansible execution environment for AWX project
https://quay.io/ansible/awx-ee
Other
132 stars 158 forks source link

ModuleNotFoundError: No module named 'packaging' with latest docker image #131

Closed aniketpawar1305 closed 1 year ago

aniketpawar1305 commented 1 year ago

Hello,

We are using latest docker image for our AWX-EE deployment. But, facing one issue while running our playbooks which we have developed based on azure modules. Here we are using azure modules like: azure_rm_manageddisk, azure_rm_networkinterface etc. While running the ansible playbooks AWX-EE is throwing "ModuleNotFoundError" error for 'packaging'. On the other hand playbooks are working as expected with Ansible. Please find the below error screenshot: image

AWX Environment Details:

ansible-playbook [core 2.12.5.post0] config file = None configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.8/site-packages/ansible ansible collection location = /runner/requirements_collections:/home/runner/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] jinja version = 2.11.3 libyaml = True

Sample Playbooks:

image

image

Please do let me know if you need any further details.

fosterseth commented 1 year ago

Hello @aniketpawar1305! The awx-ee contains the collections and dependencies needed for supported AWX features to function. Anything beyond that (like your 'packaging' module) will require you to build your own EE. For information on how to do that, see https://ansible-builder.readthedocs.io/en/stable/

let us know if that helps

akus062381 commented 1 year ago

Hi @aniketpawar1305!

Thank you very much for for this issue. It means a lot to us that you have taken time to contribute by opening this report.

On this issue, there were comments added but it has been some time since then without response. At this time we are closing this issue. If you get time to address the comments we can reopen the issue if you can contact us by using any of the communication methods listed in the page below:

https://github.com/ansible/awx/#get-involved

Thank you once again for this and your interest in AWX!