Can any collection maintainer help me out with this. Able to run the 
playbook in DEV environment but not in PROD environment. 

On Tuesday, June 21, 2022 at 10:31:44 AM UTC+5:30 Aditya Chauhan wrote:

> If anyone from collection maintainers of vmware modules can provide 
> solution to this problem will be really helpful. Its on urgent basis.
>
> On Friday, June 17, 2022 at 12:56:38 PM UTC+5:30 Aditya Chauhan wrote:
>
>> We are using virtual environment in AWX 13 and its running with 
>> “python3.6” & Dev AWX execution environment is “AWX EE 0.5.0 
>> <https://dev-awx.cbrands.com/#/execution_environments/5/details>”
>>
>> We are receiving a failed message while executing job template in AWX 
>> (13.0) to connect VMware Vcenters, as per our initial observation this 
>> failed error message is receiving when unable to find module 
>> “community.vmware.vmware_datacenter_info”. 
>>
>> Error message - fatal: [localhost]: FAILED! => {"msg": "Could not find 
>> imported module support code for version. Looked for either LooseVersion.py 
>> or version.py"}
>>
>> We gone through the below Ansible documentation for 
>> "community.vmware.vmware_datacenter_info module – Gather information about 
>> VMware vSphere Datacenters" and requirements "python >= 2.7 & PyVmomi" 
>> exist on Linux server. 
>>
>>
>> https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_datacenter_info_module.html
>>  
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.ansible.com_ansible_latest_collections_community_vmware_vmware-5Fdatacenter-5Finfo-5Fmodule.html&d=DwMFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=FEKqxsNJFvO98suV4Ty8jqZssLNcYIdXVt_YJStTA6E&m=tcR4EtwBo4bOPEJIy3yRmSUaNhbAtYjXV0Fg0GiNppEF2qQefXmN_ifY-9-C1kXD&s=Iim0HGk2kWRax-3RL5za3nRgoVqJIQWbm0Fj8csNqqE&e=>
>>  
>>
>> We don’t find any other VMware data center info module other than 
>> community module. 
>>
>>
>> https://docs.ansible.com/ansible/2.9/collections/community/vmware/vmware_datacenter_info_module.html
>>  
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.ansible.com_ansible_2.9_collections_community_vmware_vmware-5Fdatacenter-5Finfo-5Fmodule.html&d=DwMFaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=FEKqxsNJFvO98suV4Ty8jqZssLNcYIdXVt_YJStTA6E&m=tcR4EtwBo4bOPEJIy3yRmSUaNhbAtYjXV0Fg0GiNppEF2qQefXmN_ifY-9-C1kXD&s=bqH9OEzsGj6kqubmrCMEK_bZuuElD8ICZy53rUtXjD8&e=>
>>  
>>
>> Below collections are mentioned in requirements.yml file.
>>
>> collections:
>>
>> - community.general
>>
>> - community.vmware
>>
>>  
>>
>> However the same job template is working fine in other AWX environment 
>> (19.0) on same server linux server.
>>
>>  Appreciate any help on this issue.
>>
>> FYI - We posted same query in AWX project so they responded to reach out 
>> to collection maintainers of vmware modules (AWX - Could not find 
>> imported module support code for community.vmware (AWX -13.0) (google.com) 
>> <https://groups.google.com/g/awx-project/c/FUYk2Z0uBN4>)
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b6c95c90-2420-4d70-a77f-07f3139c5507n%40googlegroups.com.

Reply via email to