# Need help with inventory sync

**URL:** <https://forum.ansible.com/t/need-help-with-inventory-sync/35407>\
**Category:** AWX Project\
**Tags:** awx, ee, kubernetes\
**Created:** [June 25, 2021, 9:04am UTC](https://forum.ansible.com/t/need-help-with-inventory-sync/35407 "2021-06-25T09:04:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexey\_safonov](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@alexey\_safonov](https://forum.ansible.com/u/alexey_safonov)\
**Post date:** [June 25, 2021, 9:04am UTC](https://forum.ansible.com/t/need-help-with-inventory-sync/35407/1 "2021-06-25T09:04:14Z")

</div>

I’ve migrated my AWX from 17.x docker based to 19.2.x k8s based. And now have an issue that my inventory cannot be synced. I have my own script an when I’m calling it  
./dns\_inventory --list  
it returns about 100 of hosts and 10 groups  
ansible-inventory -i dns\_inventory --graph - works fine without any issues

but AWX sync task returns only 8 hosts and 5 groups (every time number is different can return 7 hosts or 9 hosts).

I tried to build EE based on 0.1.1 0.3.0 and 0.4.0 - with no luck . I tried 19.1.0 - same result. But this script/sync task worked fine in 14/15 and 17 AWX.
