# Install AWX REDHAT 6.10 error

**URL:** <https://forum.ansible.com/t/install-awx-redhat-6-10-error/29051>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [November 16, 2018, 2:52pm UTC](https://forum.ansible.com/t/install-awx-redhat-6-10-error/29051 "2018-11-16T14:52:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alberto\_Jimenez\_Loza](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@Alberto\_Jimenez\_Loza](https://forum.ansible.com/u/Alberto_Jimenez_Loza)\
**Post date:** [November 16, 2018, 2:52pm UTC](https://forum.ansible.com/t/install-awx-redhat-6-10-error/29051/1 "2018-11-16T14:52:29Z")

</div>

I tried to install AWX with REDHAT6.10.

When I execute de playbook install, it fails…

ansible-playbook -i inventory install.yml -vv

**TASK [local\_docker : Activate postgres container] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\***  
**task path: /prodbin/unix/awx/installer/roles/local\_docker/tasks/standalone.yml:2**  
**fatal: [localhost]: FAILED! =\> {“changed”: false, “msg”: “Failed to import docker or docker-py - cannot import name NotFound. Try `pip install docker` or `pip install docker-py` (Python 2.6)”}**  
**to retry, use: --limit @/prodbin/unix/awx/installer/install.retry**

**PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\***  
**localhost : ok=4 changed=0 unreachable=0 failed=1**

[root@ejlp286 installer]#

In REDHAT7 I had the same error and I executed

**pip uninstall -y docker docker-py && pip install docker**

**But In RDEHAT6 It fails and it appears a new error:**

**[root@ejlp286 installer]# ansible-playbook -i inventory install.yml -vv**

**ansible-playbook 2.6.3**

**config file = /etc/ansible/ansible.cfg**

**configured module search path = [u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’]**

**ansible python module location = /usr/lib/python2.6/site-packages/ansible**

**executable location = /usr/bin/ansible-playbook**

**python version = 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]**

**Using /etc/ansible/ansible.cfg as config file**

**statically imported: /prodbin/unix/awx/installer/roles/local\_docker/tasks/set\_image.yml**

**statically imported: /prodbin/unix/awx/installer/roles/local\_docker/tasks/standalone.yml**

**statically imported: /prodbin/unix/awx/installer/roles/local\_docker/tasks/compose.yml**

ERROR! Unexpected Exception, this is probably a bug: invalid syntax (connectionpool.py, line 92)

**to see the full traceback, use -vvv**

**[root@ejlp286 installer]#**

---

<div class="post-metadata">

**Author:** ![Bill\_Nottingham1](https://avatars.discourse-cdn.com/v4/letter/b/58f4c7/32.png) [@Bill\_Nottingham1](https://forum.ansible.com/u/Bill_Nottingham1)\
**Post date:** [November 16, 2018, 2:56pm UTC](https://forum.ansible.com/t/install-awx-redhat-6-10-error/29051/2 "2018-11-16T14:56:06Z")

</div>

Alberto Jimenez Lozano (alberto.jimenezlozano@gmail.com) said:

> I tried to install AWX with REDHAT6.10.

We do not test running docker on RHEL 6, and strongly recommend you use a  
more modern OS than RHEL 6 as a host; we have no plans to directly support  
it.

Bill
