Closed aniketpawar1305 closed 1 year ago
Hi @aniketpawar1305, are you still encountering this issue with our latest docker image?
Moving this to ansible/awx-ee
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!
Please confirm the following
Bug Summary
Hello,
We are using latest docker image for our AWX 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 on AWX it is throwing "ModuleNotFoundError" error for 'packaging'. On the other hand playbooks are working as expected with Ansible. Please find the below error screenshot:![image](https://user-images.githubusercontent.com/72486852/186824878-de08a071-3091-4107-9d36-e775cae08d0a.png)
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:
Please do let me know if you need any further details.
AWX version
19.3.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
2.12.5
Operating system
No response
Web browser
Chrome
Steps to reproduce
Step1: Create credentials with Credential Type: Source Control
Step2: Create a project with Source Control Type: Git and provide the Source Control URL of your playbook repository. Also, provide Source Control Credential which we have created in Step-1.
Step3: Create the Template: Provide Inventory, Project, Select the playbook from repository ( Sample playbook you can use which I have provided in bug summery), Provide the Variables in below format:![image](https://user-images.githubusercontent.com/72486852/186828686-b0a810df-e106-43b1-b74d-a6955ef6db31.png)
Step4: Now Launch the template
Expected results
Playbook should run without any error and perform the delete operation for provided disks
Actual results
Getting "ModuleNotFoundError" error for 'packaging' module. Please find the below error screenshot:![image](https://user-images.githubusercontent.com/72486852/186829163-0bd5d93a-1ac8-4f02-9f27-6c154d49da85.png)
Additional information
No response