Need help with inventory sync

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.