# inventory from source control path problem

**URL:** <https://forum.ansible.com/t/inventory-from-source-control-path-problem/36628>\
**Category:** AWX Project\
**Tags:** awx, aws, ee, kubernetes\
**Created:** [May 14, 2022, 1:43pm UTC](https://forum.ansible.com/t/inventory-from-source-control-path-problem/36628 "2022-05-14T13:43:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luckyhorang](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@luckyhorang](https://forum.ansible.com/u/luckyhorang)\
**Post date:** [May 14, 2022, 1:43pm UTC](https://forum.ansible.com/t/inventory-from-source-control-path-problem/36628/1 "2022-05-14T13:43:26Z")

</div>

ISSUE TYPE

- Bug Report  
SUMMARY

after deploy awx on kubernetes (AWS EKS)

create project (from github)  
create credential (for project sync)  
create inventory from project

ENVIRONMENT

- AWX version: 21.0.0
- Operator version: 0.21.0
- Kubernetes version: 1.22.6
- AWX install method: kubernetes  
STEPS TO REPRODUCE

project created, successfully synced → /var/lib/awx/projects

 ![167678358-8f0aa14b-e63d-486f-a51c-08efb2d19ec9.png](https://us1.discourse-cdn.com/ansible/original/2X/8/8e481bf06efa5129eab8872a51611491206e1875.png)  
I can find source in awx-demo-ee container

but inventory \> source is failed.

 ![167678844-54c72b1f-f739-45da-92dd-451103072a4b.png](https://us1.discourse-cdn.com/ansible/original/2X/4/46d069c5a622dc943869a59fd02ec00ded8fed5a.png)

I think worker container, pod named automation-job-num-xxx, works from /runner/project.

And it is empty.  
and I can confirm this pod does not attach project pvc.

‘/var/lib/awx/projects/\_9\_\_github\_awx\_inven/inventories/aws/bigger\_than\_small’ is not a directory host\_list declined parsing /var/lib/awx/projects/\_9\_\_github\_awx\_inven/inventories/aws/bigger\_than\_small/aws\_ec2.yml as it did not pass its verify\_file() method Skipping due to inventory source not existing or not being readable by the current user script declined parsing /var/lib/awx/projects/\_9\_\_github\_awx\_inven/inventories/aws/bigger\_than\_small/aws\_ec2.yml as it did not pass its verify\_file() method Skipping due to inventory source not existing or not being readable by the current user auto declined parsing /var/lib/awx/projects/\_9\_\_github\_awx\_inven/inventories/aws/bigger\_than\_small/aws\_ec2.yml as it did not pass its verify\_file() method Skipping due to inventory source not existing or not being readable by the current user yaml declined parsing /var/lib/awx/projects/\_9\_\_github\_awx\_inven/inventories/aws/bigger\_than\_small/aws\_ec2.yml as it did not pass its verify\_file() method Skipping due to inventory source not existing or not being readable by the current user ini declined parsing /var/lib/awx/projects/\_9\_\_github\_awx\_inven/inventories/aws/bigger\_than\_small/aws\_ec2.yml as it did not pass its verify\_file() method Skipping due to inventory source not existing or not being readable by the current user toml declined parsing /var/lib/awx/projects/\_9\_\_github\_awx\_inven/inventories/aws/bigger\_than\_small/aws\_ec2.yml as it did not pass its verify\_file() method [WARNING]: Unable to parse /var/lib/awx/projects/\_9\_\_github\_awx\_inven/inventori es/aws/bigger\_than\_small/aws\_ec2.yml as an inventory source ERROR! No inventory was parsed, please check your configuration and options.

EXPECTED RESULTS

inventory sync

ACTUAL RESULTS

I didn’t understand awx’s worker model.  
project synced awx-demo-ee container, but inventory synced worker container without git clone or mounting project volume.

What is right way to create inventory?
