Dashboard not loading up.

Hi, we have issues with our AWX dashboard with the following error and help will be greatly appreciated.

What’s it saying In the web pod? Also Is there a connection to the postgres database?

(attachments)

Hi Yen

It’s docker compose based installation and containers are up and running.

Could you please tell me how to check the connection established with a web container?

[root@xlmtdbmoawx ~]# docker ps

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

ecb33cd39011 ansible/awx:17.0.1 “/usr/bin/tini – /u…” 13 months ago Up 3 hours 8052/tcp awx_task

82e6e52dfa57 ansible/awx:17.0.1 “/usr/bin/tini – /b…” 13 months ago Up 3 hours 0.0.0.0:443->8052/tcp awx_web

2b7dc3ef5a5a postgres:12 “docker-entrypoint.s…” 13 months ago Up 3 hours 5432/tcp awx_postgres

a47949941f0a redis “docker-entrypoint.s…” 13 months ago Up 3 hours 6379/tcp awx_redis

[root@xlmtdbmoawx ~]# docker network ls

NETWORK ID NAME DRIVER SCOPE

5d6317902035 awx_default bridge local

677343fab60e awx_projects_default bridge local

8031e395d4c3 bridge bridge local

916279bd0e5d host host local

2f99bf22f46d none null local

[root@xlmtdbmoawx ~]#

[root@xlmtdbmoawx ~]# docker images

REPOSITORY TAG IMAGE ID CREATED SIZE

tianon/postgres-upgrade 10-to-12 6e934283efc8 14 months ago 347MB

postgres 12 e782ad565d74 14 months ago 314MB

ansible/awx 17.0.1 44187ed3a967 16 months ago 1.41GB

centos 8 300e315adb2f 18 months ago 209MB

memcached alpine acce7f7ac2ef 2 years ago 9.22MB

postgres 10 1fb929c54703 2 years ago 200MB

redis latest 4cdbec704e47 2 years ago 98.2MB

ansible/awx_task 10.0.0 a968a1c4d9fd 2 years ago 2GB

ansible/awx_web 10.0.0 2cc33f01ffa7 2 years ago 1.96GB

[root@xlmtdbmoawx ~]#

(attachments)

Do a docker log in the task. Also It seems t hat the postgres database is newer than the awx containers and that there is a tianon/postgres-upgrade upgrade. What’s that about? Were you trying to upgrade postgres?

(attachments)

Hi Yen

Were you trying to upgrade postgres?

We haven’t tried any upgrade in awx. Not sure how the awx deployment crashed.

Do you want me to check the aw_task container log?

(attachments)

What is this?

tianon/postgres-upgrade 10-to-12 6e934283efc8 14 months ago 347MB

postgres 12 e782ad565d74 14 months ago 314MB

(attachments)

I have faced the same error in k8s it was when postgres pod went down.
Have you tried to restart postgres container ?

(attachments)