# \[docker-compose\] awx-rsyslogd errored

**URL:** <https://forum.ansible.com/t/docker-compose-awx-rsyslogd-errored/38126>\
**Category:** AWX Project\
**Tags:** ubuntu, awx\
**Created:** [June 19, 2023, 5:00pm UTC](https://forum.ansible.com/t/docker-compose-awx-rsyslogd-errored/38126 "2023-06-19T17:00:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![actionmystique](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/actionmystique/32/1678_2.png) [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Post date:** [June 19, 2023, 5:00pm UTC](https://forum.ansible.com/t/docker-compose-awx-rsyslogd-errored/38126/1 "2023-06-19T17:00:51Z")

</div>

**Environment** :

- Ubuntu 20.04 focal LTS
- docker-ce: 5:24.0.2-1~ubuntu.20.04~focal (deb [arch=amd64] [Index of linux/ubuntu/](https://download.docker.com/linux/ubuntu) focal stable)
- docker-compose-plugin: 2.18.1-1~ubuntu.20.04~focal (deb [arch=amd64] [Index of linux/ubuntu/](https://download.docker.com/linux/ubuntu) focal stable)
- python3.9: 3.9.5-3ubuntu0~20.04.1
- ansible 8.0.0 (from Pypi)
- setuptools-scm: 7.1.0 (from Pypi)

**Workflow** :

su - awx  
git clone -b 22.3.0 [https://github.com/ansible/awx.git](https://github.com/ansible/awx.git)  
cd awx  
git switch -c release\_4.4  
. /opt/awx/venv/bin/activate  
make docker-compose-build

make docker-compose

leads to:

…  
tools\_awx\_1 | 2023-06-19 16:28:05,695 ERROR [-] awx.main.utils.reload supervisorctl restart awx-rsyslogd errored with exit code `7`, stdout:  
tools\_awx\_1 | b’tower-processes:awx-rsyslogd: stopped\ntower-processes:awx-rsyslogd: ERROR (spawn error)'stderr:

…

This [issue is not new](https://github.com/ansible/awx/issues/13412) and has been addressed in the past with a [quick fix by pinning an older rsyslog version](https://github.com/ansible/awx/pull/13395/files).

Unfortunately, this old version **8.2102.0-106.el9** is **not available anymore** on Centos 9 stream:

[root@localhost ~]# dnf --showduplicates list available rsyslog  
CentOS Stream 9 - BaseOS 14 kB/s | 9.5 kB 00:00  
CentOS Stream 9 - AppStream 26 kB/s | 10 kB 00:00  
CentOS Stream 9 - Extras packages 92 kB/s | 11 kB 00:00  
Docker CE Stable - x86\_64 53 kB/s | 3.5 kB 00:00  
Available Packages  
rsyslog.x86\_64 8.2102.0-107.el9 appstream  
rsyslog.x86\_64 8.2102.0-109.el9 appstream  
rsyslog.x86\_64 8.2102.0-111.el9 appstream  
rsyslog.x86\_64 8.2102.0-113.el9 appstream  
rsyslog.x86\_64 8.2102.0-115.el9 appstream

I tried to pin other versions:

- 8.2102.0-107.el9
- 8.2102.0-109.el9
- 8.2102.0-115.el9

but they all lead to the same issue.

Is there a way to modify the docker file to include another official repo to pull the right rpm from?

N.B: attached logs

1. docker-compose-build.log
2. docker-compose.log

> **(attachments)**
>
> [docker-compose.log](https://forum.ansible.com/uploads/short-url/kvLYUjE3ks5RaZPf6MZQwDaUHDE.log) (28.5 KB)  
> [docker-compose-build.log](https://forum.ansible.com/uploads/short-url/cJq1NniawuXP9TSul89o85v7k3T.log) (15.1 KB)

---

<div class="post-metadata">

**Author:** ![actionmystique](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/actionmystique/32/1678_2.png) [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Post date:** [June 22, 2023, 9:13am UTC](https://forum.ansible.com/t/docker-compose-awx-rsyslogd-errored/38126/2 "2023-06-22T09:13:27Z")

</div>

I’m baffled by the complete lack of comments on that matter: unless I’m missing something, it is now impossible to install any new AWX using docker-compose on any platform, unless a solution is found.

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [June 23, 2023, 5:19pm UTC](https://forum.ansible.com/t/docker-compose-awx-rsyslogd-errored/38126/3 "2023-06-23T17:19:57Z")

</div>

Hi,

Apologies for the delay here. This was an issue with the image builds which we have since fixed. Are you able to try your steps again with the latest?

Thanks,

AWX Team

---

<div class="post-metadata">

**Author:** ![actionmystique](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/actionmystique/32/1678_2.png) [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Post date:** [June 23, 2023, 5:23pm UTC](https://forum.ansible.com/t/docker-compose-awx-rsyslogd-errored/38126/4 "2023-06-23T17:23:42Z")

</div>

Thanks for your reply.  
I’ll try on Monday.

---

<div class="post-metadata">

**Author:** ![actionmystique](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/actionmystique/32/1678_2.png) [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Post date:** [June 26, 2023, 11:31am UTC](https://forum.ansible.com/t/docker-compose-awx-rsyslogd-errored/38126/5 "2023-06-26T11:31:19Z")

</div>

In the same environment, after deleting all docker containers and images, and checking out on the latest commit (6b381aa79e14613b3595b05af725c1a4cc4b6e0d):

su - awx  
git clone [https://github.com/ansible/awx.git](https://github.com/ansible/awx.git)  
cd awx  
git switch -c release\_4.4  
. /opt/awx/venv/bin/activate  
make docker-compose-build

make docker-compose &

leads to rsyslog-8.2102.0-106.el9 being pulled from [copr.fedorainfracloud.org](http://copr.fedorainfracloud.org):ansible:Rsyslog and:

$ docker ps

IMAGE COMMAND CREATED STATUS PORTS NAMES  
[ghcr.io/ansible/awx\_devel:release\_4.4](http://ghcr.io/ansible/awx_devel:release_4.4) “/entrypoint.sh laun…” 14 minutes ago Up 14 minutes 0.0.0.0:2222… tools\_awx\_1  
postgres:12 “docker-entrypoint.s…” 14 minutes ago Up 14 minutes 5432/tcp tools\_postgres\_1  
redis:latest “redis-server /usr/l…” 14 minutes ago Up 14 minutes 6379/tcp tools\_redis\_1

and:  
$ cat supervisord.log  
2023-06-26 11:05:13,496 INFO RPC interface ‘supervisor’ initialized  
2023-06-26 11:05:13,496 CRIT Server ‘unix\_http\_server’ running without any HTTP authentication checking  
2023-06-26 11:05:13,497 INFO supervisord started with pid 250  
2023-06-26 11:05:14,499 INFO spawned: ‘stdout’ with pid 251  
2023-06-26 11:05:14,500 INFO spawned: ‘superwatcher’ with pid 252  
2023-06-26 11:05:14,501 INFO spawned: ‘awx-dispatcher’ with pid 253  
2023-06-26 11:05:14,502 INFO spawned: ‘awx-receiver’ with pid 254  
2023-06-26 11:05:14,502 INFO spawned: ‘awx-uwsgi’ with pid 255  
2023-06-26 11:05:14,503 INFO spawned: ‘awx-daphne’ with pid 256  
2023-06-26 11:05:14,504 INFO spawned: ‘awx-nginx’ with pid 257  
2023-06-26 11:05:14,505 INFO spawned: ‘awx-wsrelay’ with pid 258  
2023-06-26 11:05:14,506 INFO spawned: ‘awx-rsyslogd’ with pid 259  
2023-06-26 11:05:14,507 INFO spawned: ‘awx-ws-heartbeat’ with pid 260  
2023-06-26 11:05:14,508 INFO spawned: ‘awx-rsyslog-configurer’ with pid 261  
2023-06-26 11:05:14,509 INFO spawned: ‘awx-cache-clear’ with pid 262  
2023-06-26 11:05:14,515 INFO spawned: ‘awx-autoreload’ with pid 267  
2023-06-26 11:05:14,516 INFO spawned: ‘awx-receptor’ with pid 268  
2023-06-26 11:05:15,774 INFO success: stdout entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: superwatcher entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: awx-dispatcher entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: awx-receiver entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: awx-uwsgi entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: awx-daphne entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: awx-nginx entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: awx-wsrelay entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: awx-rsyslogd entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: awx-ws-heartbeat entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: awx-rsyslog-configurer entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: awx-cache-clear entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: awx-autoreload entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:15,775 INFO success: awx-receptor entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
2023-06-26 11:05:18,373 INFO waiting for awx-rsyslogd to stop  
2023-06-26 11:05:18,374 INFO stopped: awx-rsyslogd (exit status 0)  
2023-06-26 11:05:18,376 INFO spawned: ‘awx-rsyslogd’ with pid 508  
2023-06-26 11:05:19,616 INFO success: awx-rsyslogd entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)
