Open kbilev opened 3 months ago
Unfortunately I was not able to reproduce the issue on my end.
In case some one else is having the same issue, it can be resolved by execution this commands as root user.
MG_KEY=$(php -r "echo bin2hex(openssl_random_pseudo_bytes(16, \$cstrong));")
echo $MG_KEY > /opt/openitc/etc/mod_gearman/secret.file
chown nagios:nagios /opt/openitc/etc/mod_gearman/secret.file
chmod 400 /opt/openitc/etc/mod_gearman/secret.file
systemctl status mod-gearman-worker.service
Hi,
The workaround has a missing step. the /opt/openitc/etc/mod_gearman/
folder must be created before the secret.file is created.
But I think that there is another problem with the mod-gearman-workers on the satellites.
maybe we could check via Discord or Teams?
Turns out there are some missing/outdated files in the latest stable build of the Satellite packages. The issue had already been fixed in the current nightly builds and will also be fixed in the next stable release scheduled for 26.08.2024.
Describe the bug On Satellite systems with version 4.8.0 (RHEL and Ubuntu) the keyfile
/opt/openitc/etc/mod_gearman/secret.file
is missing. In the log file/opt/openitc/logs/mod_gearman/mod_gearman_worker.log
we see that the mod-gearman-worker-go is doing a panic and restarts all the time.Versions
Additional context mod-gearman-worker-go starts successfull after: