# AWX installation using docker-compose with python3

**URL:** <https://forum.ansible.com/t/awx-installation-using-docker-compose-with-python3/31797>\
**Category:** AWX Project\
**Tags:** aws, awx\
**Created:** [December 10, 2019, 11:52am UTC](https://forum.ansible.com/t/awx-installation-using-docker-compose-with-python3/31797 "2019-12-10T11:52:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahul\_Rawat](https://avatars.discourse-cdn.com/v4/letter/r/7feea3/32.png) [@Rahul\_Rawat](https://forum.ansible.com/u/Rahul_Rawat)\
**Post date:** [December 10, 2019, 11:52am UTC](https://forum.ansible.com/t/awx-installation-using-docker-compose-with-python3/31797/1 "2019-12-10T11:52:05Z")

</div>

Hi,

After installation AWX on centos 8 on VM created on Hyper-v getting below error. But when I used same command on VM created on AWS it’s working fine.

Using /etc/ansible/ansible.cfg as config file  
127.0.0.1 | FAILED! =\> {  
“ansible\_facts”: {  
“discovered\_interpreter\_python”: “/usr/libexec/platform-python”  
},  
“changed”: false,  
“elapsed”: 301,  
“msg”: “Timeout when waiting for postgres:5432”  
}  
Using /etc/ansible/ansible.cfg as config file  
127.0.0.1 | FAILED! =\> {  
“ansible\_facts”: {  
“discovered\_interpreter\_python”: “/usr/libexec/platform-python”  
},  
“changed”: false,  
“elapsed”: 301,  
“msg”: “Timeout when waiting for memcached:11211”  
}  
Using /etc/ansible/ansible.cfg as config file  
127.0.0.1 | FAILED! =\> {  
“ansible\_facts”: {  
“discovered\_interpreter\_python”: “/usr/libexec/platform-python”  
},  
“changed”: false,  
“elapsed”: 301,  
“msg”: “Timeout when waiting for rabbitmq:5672”  
}  
Using /etc/ansible/ansible.cfg as config file  
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TCP/IP connections on port 5432?  
127.0.0.1 | FAILED! =\> {  
“ansible\_facts”: {  
“discovered\_interpreter\_python”: “/usr/libexec/platform-python”  
},  
“changed”: false,  
“msg”: “unable to connect to database: could not connect to server: No route to host\n\tIs the server running on host "postgres" (172.18.0.4) and accepting\n\tTCP/IP connections on port 5432?\n”

regards,  
Rahul

---

<div class="post-metadata">

**Author:** ![ffirg](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ffirg/32/10029_2.png) [@ffirg](https://forum.ansible.com/u/ffirg)\
**Post date:** [December 11, 2019, 9:27am UTC](https://forum.ansible.com/t/awx-installation-using-docker-compose-with-python3/31797/2 "2019-12-11T09:27:20Z")

</div>

Look at the last error msg: No route to host  
You’re routing to 172.18.0.4 isn’t working/setup and also check whether your DNS config resolves any hostnames you’re using in the inventory file.
