# AWX Upgrade 14.1.0 to 17.0.1

**URL:** <https://forum.ansible.com/t/awx-upgrade-14-1-0-to-17-0-1/35200>\
**Category:** Ansible Project\
**Tags:** awx\
**Created:** [May 20, 2021, 2:53am UTC](https://forum.ansible.com/t/awx-upgrade-14-1-0-to-17-0-1/35200 "2021-05-20T02:53:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simon\_Macpherson](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Simon\_Macpherson](https://forum.ansible.com/u/Simon_Macpherson)\
**Post date:** [May 20, 2021, 2:53am UTC](https://forum.ansible.com/t/awx-upgrade-14-1-0-to-17-0-1/35200/1 "2021-05-20T02:53:21Z")

</div>

Hello,

I’m trying to upgrade AWX 14.1.0 to 17.0.1. The upgrade is failing on the following tasks. when running the install.yml playbook.

How can this be resolved?

TASK [local\_docker : Check for existing Postgres data (run from inside the container for access to file)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [localhost]: FAILED! =\> {“changed”: true, “cmd”: “docker run --rm -v ‘/root/.awx/pgdocker:/var/lib/postgresql’ centos:8 bash -c "[[-f /var/lib/postgresql/10/data/PG\_VERSION]] && echo ‘exists’"\n”, “delta”: “0:00:15.156521”, “end”: “2021-05-20 04:42:21.400767”, “msg”: “non-zero return code”, “rc”: 125, “start”: “2021-05-20 04:42:06.244246”, “stderr”: “Unable to find image ‘centos:8’ locally\ndocker: Error response from daemon: Get [https://registry-1.docker.io/v2/:](https://registry-1.docker.io/v2/:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).\nSee ‘docker run --help’.”, “stderr\_lines”: [“Unable to find image ‘centos:8’ locally”, “docker: Error response from daemon: Get [https://registry-1.docker.io/v2/:](https://registry-1.docker.io/v2/:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).”, “See ‘docker run --help’.”], “stdout”: “”, “stdout\_lines”: }

TASK [local\_docker : Run migrations in task container] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [localhost]: FAILED! =\> {“changed”: true, “cmd”: “docker-compose run --rm --service-ports task awx-manage migrate --no-input”, “delta”: “0:00:15.704363”, “end”: “2021-05-20 04:42:44.562076”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-05-20 04:42:28.857713”, “stderr”: “Pulling postgres (postgres:12)…\nGet [https://registry-1.docker.io/v2/:](https://registry-1.docker.io/v2/:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)”, “stderr\_lines”: [“Pulling postgres (postgres:12)…”, “Get [https://registry-1.docker.io/v2/:](https://registry-1.docker.io/v2/:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)”], “stdout”: “”, “stdout\_lines”: }

Regards,  
Simon

---

<div class="post-metadata">

**Author:** ![Simon\_Macpherson](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Simon\_Macpherson](https://forum.ansible.com/u/Simon_Macpherson)\
**Post date:** [May 20, 2021, 3:25am UTC](https://forum.ansible.com/t/awx-upgrade-14-1-0-to-17-0-1/35200/2 "2021-05-20T03:25:48Z")

</div>

TASK [local\_docker : Check for existing Postgres data (run from inside the container for access to file)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/awx/installer/roles/local\_docker/tasks/upgrade\_postgres.yml:16  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~root && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp`”&& mkdir “`echo /root/.ansible/tmp/ansible-tmp-1621481039.84-17276-108322218268481`” && echo ansible-tmp-1621481039.84-17276-108322218268481=“`echo /root/.ansible/tmp/ansible-tmp-1621481039.84-17276-108322218268481`” ) && sleep 0’  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py  
 PUT /root/.ansible/tmp/ansible-local-17008qAlpLS/tmplGaWVq TO /root/.ansible/tmp/ansible-tmp-1621481039.84-17276-108322218268481/AnsiballZ\_command.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1621481039.84-17276-108322218268481/ /root/.ansible/tmp/ansible-tmp-1621481039.84-17276-108322218268481/AnsiballZ\_command.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python3 /root/.ansible/tmp/ansible-tmp-1621481039.84-17276-108322218268481/AnsiballZ\_command.py && sleep 0’  
 EXEC /bin/sh -c ‘rm -f -r /root/.ansible/tmp/ansible-tmp-1621481039.84-17276-108322218268481/ \> /dev/null 2\>&1 && sleep 0’  
fatal: [localhost]: FAILED! =\> {  
“changed”: true,  
“cmd”: “docker run --rm -v ‘/root/.awx/pgdocker:/var/lib/postgresql’ centos:8 bash -c "[[-f /var/lib/postgresql/10/data/PG\_VERSION]] && echo ‘exists’"\n”,  
“delta”: “0:00:15.220847”,  
“end”: “2021-05-20 05:24:15.405712”,  
“invocation”: {  
“module\_args”: {  
“\_raw\_params”: “docker run --rm -v ‘/root/.awx/pgdocker:/var/lib/postgresql’ centos:8 bash -c "[[-f /var/lib/postgresql/10/data/PG\_VERSION]] && echo ‘exists’"\n”,  
“\_uses\_shell”: true,  
“argv”: null,  
“chdir”: null,  
“creates”: null,  
“executable”: null,  
“removes”: null,  
“stdin”: null,  
“stdin\_add\_newline”: true,  
“strip\_empty\_ends”: true,  
“warn”: true  
}  
},  
“msg”: “non-zero return code”,  
“rc”: 125,  
“start”: “2021-05-20 05:24:00.184865”,  
“stderr”: “Unable to find image ‘centos:8’ locally\ndocker: Error response from daemon: Get [https://registry-1.docker.io/v2/:](https://registry-1.docker.io/v2/:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).\nSee ‘docker run --help’.”,  
“stderr\_lines”: [  
“Unable to find image ‘centos:8’ locally”,  
“docker: Error response from daemon: Get [https://registry-1.docker.io/v2/:](https://registry-1.docker.io/v2/:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).”,  
“See ‘docker run --help’.”  
],  
“stdout”: “”,  
“stdout\_lines”:   
}  
…ignoring

---

<div class="post-metadata">

**Author:** ![Simon\_Macpherson](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Simon\_Macpherson](https://forum.ansible.com/u/Simon_Macpherson)\
**Post date:** [May 20, 2021, 3:26am UTC](https://forum.ansible.com/t/awx-upgrade-14-1-0-to-17-0-1/35200/3 "2021-05-20T03:26:00Z")

</div>

TASK [local\_docker : Run migrations in task container] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/awx/installer/roles/local\_docker/tasks/compose.yml:45  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~root && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp`”&& mkdir “`echo /root/.ansible/tmp/ansible-tmp-1621481063.13-17623-232375261314589`” && echo ansible-tmp-1621481063.13-17623-232375261314589=“`echo /root/.ansible/tmp/ansible-tmp-1621481063.13-17623-232375261314589`” ) && sleep 0’  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py  
 PUT /root/.ansible/tmp/ansible-local-17008qAlpLS/tmpwjwtIr TO /root/.ansible/tmp/ansible-tmp-1621481063.13-17623-232375261314589/AnsiballZ\_command.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1621481063.13-17623-232375261314589/ /root/.ansible/tmp/ansible-tmp-1621481063.13-17623-232375261314589/AnsiballZ\_command.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python3 /root/.ansible/tmp/ansible-tmp-1621481063.13-17623-232375261314589/AnsiballZ\_command.py && sleep 0’  
 EXEC /bin/sh -c ‘rm -f -r /root/.ansible/tmp/ansible-tmp-1621481063.13-17623-232375261314589/ \> /dev/null 2\>&1 && sleep 0’  
fatal: [localhost]: FAILED! =\> {  
“changed”: true,  
“cmd”: “docker-compose run --rm --service-ports task awx-manage migrate --no-input”,  
“delta”: “0:00:15.788639”,  
“end”: “2021-05-20 05:24:39.145624”,  
“invocation”: {  
“module\_args”: {  
“\_raw\_params”: “docker-compose run --rm --service-ports task awx-manage migrate --no-input”,  
“\_uses\_shell”: true,  
“argv”: null,  
“chdir”: “/root/.awx/awxcompose”,  
“creates”: null,  
“executable”: null,  
“removes”: null,  
“stdin”: null,  
“stdin\_add\_newline”: true,  
“strip\_empty\_ends”: true,  
“warn”: true  
}  
},  
“msg”: “non-zero return code”,  
“rc”: 1,  
“start”: “2021-05-20 05:24:23.356985”,  
“stderr”: “Pulling postgres (postgres:12)…\nGet [https://registry-1.docker.io/v2/:](https://registry-1.docker.io/v2/:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)”,  
“stderr\_lines”: [  
“Pulling postgres (postgres:12)…”,  
“Get [https://registry-1.docker.io/v2/:](https://registry-1.docker.io/v2/:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)”  
],  
“stdout”: “”,  
“stdout\_lines”:   
}

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [May 20, 2021, 4:12am UTC](https://forum.ansible.com/t/awx-upgrade-14-1-0-to-17-0-1/35200/4 "2021-05-20T04:12:03Z")

</div>

This list is for ansible itself, not awx.  
Try the dedicated awx list instead.
