-
Bug
-
Resolution: Done
-
Low
-
Guilin Release
-
None
-
None
The AWX Web-UI is not accessible though the NodePort(http://<IP>:30478)
In the logs (kubectl -n onap logs onap-awx-0 awx-web)
You can see, that the nginx refuse to startup and it has no permissions to open port 80:
2021-02-04 03:09:04,581 INFO RPC interface 'supervisor' initialized 2021-02-04 03:09:04,582 CRIT Server 'unix_http_server' running without any HTTP authentication checking 2021-02-04 03:09:04,582 INFO supervisord started with pid 120 2021-02-04 03:09:05,586 INFO spawned: 'awx-config-watcher' with pid 123 2021-02-04 03:09:05,591 INFO spawned: 'nginx' with pid 124 2021-02-04 03:09:05,595 INFO spawned: 'uwsgi' with pid 125 2021-02-04 03:09:05,598 INFO spawned: 'daphne' with pid 126 2021/02/04 03:09:05 [warn] 124#0: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:5 nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:5 *** Starting uWSGI 2.0.17 (64bit) on [Thu Feb 4 03:09:05 2021] *** compiled with version: 8.2.1 20180905 (Red Hat 8.2.1-3) on 04 November 2019 17:06:57 os: Linux-4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 nodename: onap-awx-0 machine: x86_64 clock source: unix detected number of CPU cores: 8 current working directory: /var/lib/awx detected binary path: /var/lib/awx/venv/awx/bin/uwsgi !!! no internal routing support, rebuild with pcre support !!! your memory page size is 4096 bytes *** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers *** detected max file descriptor number: 1048576 lock engine: pthread robust mutexes thunder lock: disabled (you can enable it with --thunder-lock) uwsgi socket 0 bound to TCP address 127.0.0.1:8050 fd 3 Python version: 3.6.8 (default, Oct 7 2019, 17:58:22) [GCC 8.2.1 20180905 (Red Hat 8.2.1-3)] 2021/02/04 03:09:05 [emerg] 124#0: bind() to 0.0.0.0:80 failed (13: Permission denied) nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied) 2021-02-04 03:09:05,638 INFO exited: nginx (exit status 1; not expected)
- relates to
-
INT-1858 AWX component uses a bad configuration file inside the container
- Closed