Why does Ansible Automation Platform UI login fail with an error 502 Bad Gateway nginx?
Issue
-
Unable to log in to the
Ansible Automation platform Web UIand getting an error message502 Bad Gateway nginx. -
Rerunning the setup script results in the following error.
TASK [ansible.automation_platform_installer.preflight : Preflight check - check license type] *** fatal: [somehost.org]: FAILED! => {"changed": true, "cmd": "awx-manage check_license", "delta": "0:00:00.004448", "end": "2023-08-22 20:19:02.493105", "msg": "non-zero return code", "rc": 126, "start": "2023-08-22 20:19:02.488657", "stderr": "/bin/sh: /bin/awx-manage: /var/lib/awx/venv/awx/bin/python: bad interpreter: No such file or directory", "stderr_lines": ["/bin/sh: /bin/awx-manage: /var/lib/awx/venv/awx/bin/python: bad interpreter: No such file or directory"], "stdout": "", "stdout_lines": []}
Environment
- Ansible Automation Platform 2.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.