Hi,
I setup awx with docker-compose (GitHub - fitbeard/awx-without-k8s: AWX clustering using Ansible and Docker).
I tried also the official repo GitHub - ansible/awx: AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform..
In both cases, I deploy awx_web and awx_task with remote postgres database.
Awx installs without critical errors (I think) and I can login, create project, credential.
When I run a job (synchronise a github repo), all jobs are pending without any logs (also in container)
Same thing if I want to synchronise inventory from OVH.
So I wonder whether my installation is correct ?
Here my docker-compose file
version: '2'
services:
web:
image: ansible/awx:16.0.0
container_name: awx_web
depends_on:
- redis
ports:
- "80:8052"
- "443:8053"
hostname: awxweb
user: root
restart: unless-stopped
networks:
- local
volumes:
- supervisor-socket:/var/run/supervisor
- rsyslog-socket:/var/run/awx-rsyslog/
- rsyslog-config:/var/lib/awx/rsyslog/
- "/home/test/awx/SECRET_KEY:/etc/tower/SECRET_KEY"
- "/home/test/awx/launch_awx.sh:/usr/bin/launch_awx.sh"
- "/home/test/awx/settings.py:/etc/tower/settings.py"
- "/home/test/awx/credentials.py:/etc/tower/conf.d/credentials.py"
- "/home/test/awx/environment.sh:/etc/tower/conf.d/environment.sh"
- "/home/test/awx/redis_socket:/var/run/redis/:rw"
- "/home/test/awx/nginx.conf:/etc/nginx/nginx.conf:ro"
- "/home/test/awx/awxweb.pem:/etc/nginx/awxweb.pem:ro"
- "/home/test/awx/projects:/var/lib/awx/projects:rw"
environment:
http_proxy:
https_proxy:
no_proxy:
task:
image: ansible/awx:16.0.0
container_name: awx_task
depends_on:
- redis
- web
command: /usr/bin/launch_awx_task.sh
hostname: awx
user: root
restart: unless-stopped
networks:
- local
volumes:
- supervisor-socket:/var/run/supervisor
- rsyslog-socket:/var/run/awx-rsyslog/
- rsyslog-config:/var/lib/awx/rsyslog/
- "/home/test/awx/SECRET_KEY:/etc/tower/SECRET_KEY"
- "/home/test/awx/launch_awx_task.sh:/usr/bin/launch_awx_task.sh"
- "/home/test/awx/settings.py:/etc/tower/settings.py"
- "/home/test/awx/credentials.py:/etc/tower/conf.d/credentials.py"
- "/home/test/awx/environment.sh:/etc/tower/conf.d/environment.sh"
- "/home/test/awx/redis_socket:/var/run/redis/:rw"
- "/home/test/awx/projects:/var/lib/awx/projects:rw"
environment:
http_proxy:
https_proxy:
no_proxy:
SUPERVISOR_WEB_CONFIG_PATH: '/etc/supervisord.conf'
redis:
image: redis:6
container_name: redis
restart: unless-stopped
command: ["/usr/local/etc/redis/redis.conf"]
volumes:
- "/home/test/awx/redis.conf:/usr/local/etc/redis/redis.conf:ro"
- "/home/test/awx/redis_socket:/var/run/redis/:rw"
networks:
- local
volumes:
supervisor-socket:
rsyslog-socket:
rsyslog-config:
networks:
local:
external:
name: awx
launch_awx.sh
#!/usr/bin/env bash
if [ `id -u` -ge 500 ]; then
echo "awx:x:`id -u`:`id -g`:,,,:/var/lib/awx:/bin/bash" >> /tmp/passwd
cat /tmp/passwd > /etc/passwd
rm /tmp/passwd
fi
source /etc/tower/conf.d/environment.sh
ANSIBLE_REMOTE_TEMP=/tmp ANSIBLE_LOCAL_TEMP=/tmp ansible -i "127.0.0.1," -c local -v -m wait_for -a "host=$DATABASE_HOST port=$DATABASE_PORT" all
ANSIBLE_REMOTE_TEMP=/tmp ANSIBLE_LOCAL_TEMP=/tmp ansible -i "127.0.0.1," -c local -v -m postgresql_db --become-user $DATABASE_USER -a "name=$DATABASE_NAME owner=$DATABASE_USER login_user=$DATABASE_USER login_host=$DATABASE_HOST login_password=$DATABASE_PASSWORD port=$DATABASE_PORT" all
chown -R nginx:nginx /var/lib/nginx
awx-manage collectstatic --noinput --clear
unset $(cut -d = -f -1 /etc/tower/conf.d/environment.sh)
supervisord -c /etc/supervisord.conf
launch_awx_task.sh
#!/usr/bin/env bash
if [ `id -u` -ge 500 ]; then
echo "awx:x:`id -u`:`id -g`:,,,:/var/lib/awx:/bin/bash" >> /tmp/passwd
cat /tmp/passwd > /etc/passwd
rm /tmp/passwd
fi
source /etc/tower/conf.d/environment.sh
ANSIBLE_REMOTE_TEMP=/tmp ANSIBLE_LOCAL_TEMP=/tmp ansible -i "127.0.0.1," -c local -v -m wait_for -a "host=$DATABASE_HOST port=$DATABASE_PORT" all
ANSIBLE_REMOTE_TEMP=/tmp ANSIBLE_LOCAL_TEMP=/tmp ansible -i "127.0.0.1," -c local -v -m postgresql_db --become-user $DATABASE_USER -a "name=$DATABASE_NAME owner=$DATABASE_USER login_user=$DATABASE_USER login_host=$DATABASE_HOST login_password=$DATABASE_PASSWORD port=$DATABASE_PORT" all
if [ -z "$AWX_SKIP_MIGRATIONS" ]; then
awx-manage migrate --noinput
fi
if [ -z "$AWX_SKIP_PROVISION_INSTANCE" ]; then
awx-manage provision_instance --hostname=packer-output-51065c4a-87c7-424e-8f64-b8025b056784
fi
if [ -z "$AWX_SKIP_REGISTERQUEUE" ]; then
awx-manage register_queue --queuename=tower --instance_percent=100 --hostnames=packer-output-51065c4a-87c7-424e-8f64-b8025b056784
fi
if [ ! -z "$AWX_ADMIN_USER" ]&&[ ! -z "$AWX_ADMIN_PASSWORD" ]; then
echo "from django.contrib.auth.models import User; User.objects.create_superuser('$AWX_ADMIN_USER', 'root@localhost', '$AWX_ADMIN_PASSWORD')" | awx-manage shell
fi
echo 'from django.conf import settings; x = settings.AWX_TASK_ENV; x["HOME"] = "/var/lib/awx"; settings.AWX_TASK_ENV = x' | awx-manage shell
unset $(cut -d = -f -1 /etc/tower/conf.d/environment.sh)
supervisord -c /etc/supervisord_task.conf
awx_task logs:
```
Using /etc/ansible/ansible.cfg as config file
127.0.0.1 | SUCCESS => {
“ansible_facts”: {
“discovered_interpreter_python”: “/usr/libexec/platform-python”
},
“changed”: false,
“elapsed”: 0,
“match_groupdict”: {},
“match_groups”: ,
“path”: null,
“port”: 5000,
“search_regex”: null,
“state”: “started”
}
Using /etc/ansible/ansible.cfg as config file
127.0.0.1 | SUCCESS => {
“ansible_facts”: {
“discovered_interpreter_python”: “/usr/libexec/platform-python”
},
“changed”: false,
“db”: “awx”
}
Operations to perform:
Apply all migrations: auth, conf, contenttypes, main, oauth2_provider, sessions, sites, social_django, sso, taggit
Running migrations:
No migrations to apply.
Instance already registered packer-output-51065c4a-87c7-424e-8f64-b8025b056784
Instance Group already registered tower
Added instance packer-output-51065c4a-87c7-424e-8f64-b8025b056784 to tower
Traceback (most recent call last):
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in _execute
return self.cursor.execute(sql, params)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint “auth_user_username_key”
DETAIL: Key (username)=(admin) already exists.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/bin/awx-manage”, line 8, in
sys.exit(manage())
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/init.py”, line 154, in manage
execute_from_command_line(sys.argv)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/init.py”, line 381, in execute_from_command_line
utility.execute()
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/init.py”, line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py”, line 323, in run_from_argv
self.execute(*args, **cmd_options)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py”, line 364, in execute
output = self.handle(*args, **options)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/commands/shell.py”, line 92, in handle
exec(sys.stdin.read())
File “”, line 1, in
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/contrib/auth/models.py”, line 162, in create_superuser
return self._create_user(username, email, password, **extra_fields)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/contrib/auth/models.py”, line 145, in _create_user
user.save(using=self._db)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/contrib/auth/base_user.py”, line 66, in save
super().save(*args, **kwargs)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/base.py”, line 744, in save
force_update=force_update, update_fields=update_fields)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/base.py”, line 782, in save_base
force_update, using, update_fields,
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/base.py”, line 873, in _save_table
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/base.py”, line 911, in _do_insert
using=using, raw=raw)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/manager.py”, line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 1186, in _insert
return query.get_compiler(using=using).execute_sql(return_id)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/sql/compiler.py”, line 1377, in execute_sql
cursor.execute(sql, params)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 67, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 76, in _execute_with_wrappers
return executor(sql, params, many, context)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in _execute
return self.cursor.execute(sql, params)
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/utils.py”, line 89, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in _execute
return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: duplicate key value violates unique constraint “auth_user_username_key”
DETAIL: Key (username)=(admin) already exists.
2021-01-19 01:59:43,533 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2021-01-19 01:59:43,533 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2021-01-19 01:59:43,840 INFO RPC interface ‘supervisor’ initialized
2021-01-19 01:59:43,840 INFO RPC interface ‘supervisor’ initialized
2021-01-19 01:59:43,846 CRIT Server ‘unix_http_server’ running without any HTTP authentication checking
2021-01-19 01:59:43,846 CRIT Server ‘unix_http_server’ running without any HTTP authentication checking
2021-01-19 01:59:43,847 INFO supervisord started with pid 95
2021-01-19 01:59:43,847 INFO supervisord started with pid 95
2021-01-19 01:59:44,851 INFO spawned: ‘awx-config-watcher’ with pid 98
2021-01-19 01:59:44,851 INFO spawned: ‘awx-config-watcher’ with pid 98
2021-01-19 01:59:44,865 INFO spawned: ‘dispatcher’ with pid 99
2021-01-19 01:59:44,865 INFO spawned: ‘dispatcher’ with pid 99
2021-01-19 01:59:44,880 INFO spawned: ‘callback-receiver’ with pid 100
2021-01-19 01:59:44,880 INFO spawned: ‘callback-receiver’ with pid 100
READY
2021-01-19 01:59:46,677 INFO success: awx-config-watcher entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:46,677 INFO success: awx-config-watcher entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:46,682 INFO success: dispatcher entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:46,682 INFO success: dispatcher entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:46,682 INFO success: callback-receiver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:46,682 INFO success: callback-receiver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:55,251 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:111
2021-01-19 01:59:55,251 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:111
2021-01-19 01:59:55,272 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:112
2021-01-19 01:59:55,272 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:112
2021-01-19 01:59:55,292 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:113
2021-01-19 01:59:55,292 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:113
2021-01-19 01:59:55,334 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:114
2021-01-19 01:59:55,334 WARNING awx.main.commands.run_callback_receiver scaling up worker pid:114
2021-01-19 01:59:55,339 DEBUG awx.main.commands.run_callback_receiver 100 is alive
2021-01-19 01:59:55,339 DEBUG awx.main.commands.run_callback_receiver 100 is alive
2021-01-19 01:59:55,360 WARNING awx.main.dispatch.periodic periodic beat started
2021-01-19 01:59:55,422 WARNING awx.main.dispatch scaling up worker pid:116
2021-01-19 01:59:55,439 WARNING awx.main.dispatch scaling up worker pid:117
2021-01-19 01:59:55,460 WARNING awx.main.dispatch scaling up worker pid:118
2021-01-19 01:59:55,488 WARNING awx.main.dispatch scaling up worker pid:119
2021-01-19 01:59:55,500 WARNING awx.main.dispatch Running worker dispatcher listening to queues [‘tower_broadcast_all’, ‘packer-output-51065c4a-87c7-424e-8f64-b8025b056784’]
2021-01-19 01:59:55,511 DEBUG awx.main.tasks Syncing Schedules
2021-01-19 01:59:55,536 DEBUG awx.main.tasks Waited 0.0016760826110839844 seconds to obtain lock name: cluster_policy_lock
2021-01-19 01:59:55,560 DEBUG awx.main.tasks Policy List, adding Instances [1] to Group tower
2021-01-19 01:59:55,563 DEBUG awx.main.tasks Total non-isolated instances:1 available for policy: 1
2021-01-19 01:59:55,565 DEBUG awx.main.tasks Cluster policy no-op finished in 0.026119232177734375 seconds
2021-01-19 01:59:55,568 DEBUG awx.main.tasks Cluster node heartbeat task.
2021-01-19 01:59:55,606 WARNING awx.main.tasks Rejoining the cluster as instance packer-output-51065c4a-87c7-424e-8f64-b8025b056784.
2021-01-19 01:59:55,694 DEBUG awx.main.utils.reload Issuing command to restart services, args=[‘supervisorctl’, ‘-c’, ‘/etc/supervisord.conf’, ‘restart’, ‘tower-processes:awx-rsyslogd’]
2021-01-19 01:59:57,184 DEBUG awx.main.utils.reload supervisorctl restart awx-rsyslogd succeeded
RESULT 2
OKREADY
```
awx_web logs:
```
127.0.0.1 | SUCCESS => {
“ansible_facts”: {
“discovered_interpreter_python”: “/usr/libexec/platform-python”
},
“changed”: false,
“elapsed”: 0,
“match_groupdict”: {},
“match_groups”: ,
“path”: null,
“port”: 5000,
“search_regex”: null,
“state”: “started”
}
Using /etc/ansible/ansible.cfg as config file
127.0.0.1 | SUCCESS => {
“ansible_facts”: {
“discovered_interpreter_python”: “/usr/libexec/platform-python”
},
“changed”: false,
“db”: “awx”
}
165 static files copied to ‘/var/lib/awx/public/static’.
2021-01-19 01:59:13,159 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2021-01-19 01:59:13,159 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2021-01-19 01:59:13,471 INFO RPC interface ‘supervisor’ initialized
2021-01-19 01:59:13,471 INFO RPC interface ‘supervisor’ initialized
2021-01-19 01:59:13,472 CRIT Server ‘unix_http_server’ running without any HTTP authentication checking
2021-01-19 01:59:13,472 CRIT Server ‘unix_http_server’ running without any HTTP authentication checking
2021-01-19 01:59:13,472 INFO supervisord started with pid 70
2021-01-19 01:59:13,472 INFO supervisord started with pid 70
2021-01-19 01:59:14,477 INFO spawned: ‘awx-config-watcher’ with pid 73
2021-01-19 01:59:14,477 INFO spawned: ‘awx-config-watcher’ with pid 73
2021-01-19 01:59:14,491 INFO spawned: ‘nginx’ with pid 74
2021-01-19 01:59:14,491 INFO spawned: ‘nginx’ with pid 74
2021-01-19 01:59:14,511 INFO spawned: ‘uwsgi’ with pid 75
2021-01-19 01:59:14,511 INFO spawned: ‘uwsgi’ with pid 75
2021-01-19 01:59:14,544 INFO spawned: ‘daphne’ with pid 76
2021-01-19 01:59:14,544 INFO spawned: ‘daphne’ with pid 76
2021-01-19 01:59:14,594 INFO spawned: ‘wsbroadcast’ with pid 77
2021-01-19 01:59:14,594 INFO spawned: ‘wsbroadcast’ with pid 77
2021-01-19 01:59:14,625 INFO spawned: ‘awx-rsyslogd’ with pid 79
2021-01-19 01:59:14,625 INFO spawned: ‘awx-rsyslogd’ with pid 79
*** Starting uWSGI 2.0.18 (64bit) on [Tue Jan 19 01:59:14 2021] ***
compiled with version: 8.3.1 20191121 (Red Hat 8.3.1-5) on 10 December 2020 18:28:39
os: Linux-4.15.0-124-generic #127-Ubuntu SMP Fri Nov 6 10:54:43 UTC 2020
nodename: awxweb
machine: x86_64
clock source: unix
detected number of CPU cores: 1
current working directory: /var/lib/awx
detected binary path: /var/lib/awx/venv/awx/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
uWSGI running as root, you can use --uid/–gid/–chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
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
uWSGI running as root, you can use --uid/–gid/–chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
Python version: 3.6.8 (default, Aug 24 2020, 17:57:11) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x1bfe4c0
uWSGI running as root, you can use --uid/–gid/–chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 609552 bytes (595 KB) for 5 cores
*** Operational MODE: preforking ***
uWSGI running as root, you can use --uid/–gid/–chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 75)
spawned uWSGI worker 1 (pid: 81, cores: 1)
spawned uWSGI worker 2 (pid: 82, cores: 1)
spawned uWSGI worker 3 (pid: 83, cores: 1)
spawned uWSGI worker 4 (pid: 84, cores: 1)
spawned uWSGI worker 5 (pid: 85, cores: 1)
2021-01-19 01:59:16,041 INFO success: awx-config-watcher entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:16,041 INFO success: awx-config-watcher entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:16,042 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:16,042 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:16,042 INFO success: uwsgi entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:16,042 INFO success: uwsgi entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:16,042 INFO success: daphne entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:16,042 INFO success: daphne entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:16,043 INFO success: wsbroadcast entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:16,043 INFO success: wsbroadcast entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:16,043 INFO success: awx-rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:16,043 INFO success: awx-rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
READY
WSGI app 0 (mountpoint=‘’) ready in 36 seconds on interpreter 0x1bfe4c0 pid: 83 (default app)
WSGI app 0 (mountpoint=‘’) ready in 36 seconds on interpreter 0x1bfe4c0 pid: 82 (default app)
WSGI app 0 (mountpoint=‘’) ready in 36 seconds on interpreter 0x1bfe4c0 pid: 81 (default app)
WSGI app 0 (mountpoint=‘’) ready in 36 seconds on interpreter 0x1bfe4c0 pid: 84 (default app)
WSGI app 0 (mountpoint=‘’) ready in 36 seconds on interpreter 0x1bfe4c0 pid: 85 (default app)
2021-01-19 01:59:51,490 INFO daphne.cli Starting server at tcp:port=8051:interface=127.0.0.1
2021-01-19 01:59:51,490 INFO Starting server at tcp:port=8051:interface=127.0.0.1
2021-01-19 01:59:51,499 INFO daphne.server HTTP/2 support not enabled (install the http2 and tls Twisted extras)
2021-01-19 01:59:51,499 INFO HTTP/2 support not enabled (install the http2 and tls Twisted extras)
2021-01-19 01:59:51,501 INFO daphne.server Configuring endpoint tcp:port=8051:interface=127.0.0.1
2021-01-19 01:59:51,501 INFO Configuring endpoint tcp:port=8051:interface=127.0.0.1
2021-01-19 01:59:51,510 INFO daphne.server Listening on TCP address 127.0.0.1:8051
2021-01-19 01:59:51,510 INFO Listening on TCP address 127.0.0.1:8051
2021-01-19 01:59:56,129 INFO waiting for awx-rsyslogd to stop
2021-01-19 01:59:56,129 INFO waiting for awx-rsyslogd to stop
2021-01-19 01:59:56,135 INFO stopped: awx-rsyslogd (exit status 0)
2021-01-19 01:59:56,135 INFO stopped: awx-rsyslogd (exit status 0)
2021-01-19 01:59:56,141 INFO spawned: ‘awx-rsyslogd’ with pid 121
2021-01-19 01:59:56,141 INFO spawned: ‘awx-rsyslogd’ with pid 121
2021-01-19 01:59:57,145 INFO success: awx-rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-19 01:59:57,145 INFO success: awx-rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
RESULT 2
OKREADY
```
supervisorctl status
sh-4.4# supervisorctl status
awx-config-watcher RUNNING pid 73, uptime 0:02:48
tower-processes:awx-rsyslogd RUNNING pid 121, uptime 0:02:06
tower-processes:daphne RUNNING pid 76, uptime 0:02:48
tower-processes:nginx RUNNING pid 74, uptime 0:02:48
tower-processes:uwsgi RUNNING pid 75, uptime 0:02:48
tower-processes:wsbroadcast RUNNING pid 77, uptime 0:02:48
Could you tell me if something goes wrong in my installation ?
Last information:
Logs of awx_web when I starting the github synchronisation job:
10.253.2.50 - - [19/Jan/2021:02:03:53 +0000] "GET /api/v2/projects/6/update/ HTTP/1.1" 200 19 "https://10.253.1.32/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" "-"
[pid: 81|app: 0|req: 1/1] 10.253.2.50 () {54 vars in 2337 bytes} [Tue Jan 19 02:03:52 2021] GET /api/v2/projects/6/update/ => generated 19 bytes in 959 msecs (HTTP/1.1 200) 12 headers in 504 bytes (1 switches on core 0)
10.253.2.50 - - [19/Jan/2021:02:03:53 +0000] "POST /api/v2/projects/6/update/ HTTP/1.1" 202 1853 "https://10.253.1.32/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" "-"
[pid: 85|app: 0|req: 1/2] 10.253.2.50 () {58 vars in 2397 bytes} [Tue Jan 19 02:03:52 2021] POST /api/v2/projects/6/update/ => generated 1853 bytes in 1569 msecs (HTTP/1.1 202) 13 headers in 550 bytes (1 switches on core 0)
10.253.2.50 - - [19/Jan/2021:02:03:54 +0000] "GET /api/v2/unified_jobs/?id=9 HTTP/1.1" 200 1790 "https://10.253.1.32/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" "-"
[pid: 81|app: 0|req: 2/3] 10.253.2.50 () {54 vars in 2336 bytes} [Tue Jan 19 02:03:53 2021] GET /api/v2/unified_jobs/?id=9 => generated 1790 bytes in 505 msecs (HTTP/1.1 200) 12 headers in 500 bytes (1 switches on core 0)
10.253.2.50 - - [19/Jan/2021:02:03:55 +0000] "GET /api/v2/unified_jobs/?id=9 HTTP/1.1" 200 1790 "https://10.253.1.32/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" "-"
[pid: 85|app: 0|req: 2/4] 10.253.2.50 () {54 vars in 2336 bytes} [Tue Jan 19 02:03:54 2021] GET /api/v2/unified_jobs/?id=9 => generated 1790 bytes in 159 msecs (HTTP/1.1 200) 12 headers in 500 bytes (1 switches on core 0)
10.253.2.50 - - [19/Jan/2021:02:03:55 +0000] "GET /api/v2/project_updates/9/ HTTP/1.1" 200 1908 "https://10.253.1.32/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" "-"
[pid: 81|app: 0|req: 3/5] 10.253.2.50 () {54 vars in 2337 bytes} [Tue Jan 19 02:03:55 2021] GET /api/v2/project_updates/9/ => generated 1908 bytes in 153 msecs (HTTP/1.1 200) 12 headers in 508 bytes (1 switches on core 0)
10.253.2.50 - - [19/Jan/2021:02:03:55 +0000] "GET /api/v2/project_updates/9/events/?order_by=start_line&page_size=50 HTTP/1.1" 200 52 "https://10.253.1.32/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" "-"
[pid: 85|app: 0|req: 3/6] 10.253.2.50 () {54 vars in 2416 bytes} [Tue Jan 19 02:03:55 2021] GET /api/v2/project_updates/9/events/?order_by=start_line&page_size=50 => generated 52 bytes in 83 msecs (HTTP/1.1 200) 13 headers in 521 bytes (1 switches on core 0)
Thanks for your help
regards,