Hi
I am trying to upgrade AWX to 11.0.0 using docker stack
was able to start the container( awx web, awx task and postgre 10) , however web UI is not reachable after the update.
It is giving 502 error(Bad gateway)
Below are the suspected error noticed.
AWX task error:
2020-06-08 10:23:27,954 ERROR awx.main.utils.reload supervisorctl restart awx-rsyslogd errored with exit code 1
, stdout:
b"error: <class ‘OSError’>, [Errno 101] Network is unreachable: file: /usr/lib64/python3.6/socket.py line: 713"stderr:
b’’
2020-06-08 10:23:27,961 DEBUG awx.main.dispatch task dddb53f8-afd9-40c5-83a0-ab4677746e0b starting awx.main.tasks.migrate_legacy_event_data(*[‘main_jobevent’])
2020-06-08 10:23:25,993 INFO spawned: ‘awx-rsyslogd’ with pid 113
rsyslogd: error writing pid file (creation stage)
: No such file or directory
rsyslogd: run failed with error -3000 (see rsyslog.h or try https://www.rsyslog.com/e/3000 to learn what that number means)
2020-06-08 10:23:26,017 INFO exited: awx-rsyslogd (exit status 1; not expected)
DB error:
ERROR: relation “conf_setting” does not exist at character 158
RROR: relation “django_migrations” does not exist at character 124
2020-06-08 10:20:09.681 UTC [75] STATEMENT: SELECT “django_migrations”.“id”, “django_migrations”.“app”, “django_migrations”.“name”, “django_migrations”.“applied” FROM “django_migrations” WHERE (“django_migrations”.“app” = ‘main’ AND NOT (“django_migrations”.“name”::text LIKE ‘%squashed%’)) ORDER BY “django_migrations”.“id” DESC LIMIT 1
The DB errors , is that communication issue between awx web and the DB?
Please throw some light on the issue.
I have attached the full log files for more details.
Regards
Prabhu
(attachments)
awx_task.txt (26.7 KB)
awx_web.txt (143 KB)
Postgre_10.txt (285 KB)