Hello All,
I am using a custom vmware script which retrieves inventory information and creates an inventory in .ini format and imports it using awx_manage within the task container. For some reason, i am getting the following errors.
Using PYTHONPATH: /var/lib/awx/venv/ansible/lib/python3.6/site-packages:\r\n 4.801 ERROR ansible-inventory 2.8.5\r\n 4.801 ERROR config file = /etc/ansible/ansible.cfg\r\n 4.801 ERROR configured module search path = ['/home/awx/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']\r\n 4.802 ERROR ansible python module location = /usr/lib/python3.6/site-packages/ansible\r\n 4.802 ERROR executable location = /usr/bin/ansible-inventory\r\n 4.802 ERROR python version = 3.6.8 (default, Nov 21 2019, 19:31:34) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)]\r\n 4.802 ERROR Using /etc/ansible/ansible.cfg as config file\r\n 4.802 ERROR host_list declined parsing /var/lib/awx/VMWARE_CHIVXLAB.ini as it did not pass it's verify_file() method\r\n 4.802 ERROR script declined parsing /var/lib/awx/VMWARE_CHIVXLAB.ini as it did not pass it's verify_file() method\r\n 4.802 ERROR auto declined parsing /var/lib/awx/VMWARE_CHIVXLAB.ini as it did not pass it's verify_file() method\r\n 4.802 ERROR yaml declined parsing /var/lib/awx/VMWARE_CHIVXLAB.ini as it did not pass it's verify_file() method\r\n 4.802 ERROR Parsed /var/lib/awx/VMWARE_CHIVXLAB.ini inventory source with ini plugin\r\n 4.804 INFO Processing JSON output...\r\n 4.808 INFO Loaded 0 groups, 287 hosts\r\n2020-01-31 14:10:18,723 DEBUG awx.main.models.inventory Going to update inventory computed fields, pk=43\r\n2020-01-31 14:10:18,781 DEBUG awx.main.models.inventory Finished updating inventory computed fields, pk=43, in 0.055 seconds\r\n 5.050 INFO **Inventory import completed for (INV_VMWare_CLAB - 114) in 1.8s**
I believe it is completing the import but not sure why these errors are appearing. This has happened post our migration from AWX 4.0.0 to AWX 9.1.0.
Could anyone please suggest how to fix them?
Thanks.