-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sending job to gearmand failed since 5.1.2 (still OK in 5.1.0) #171
Comments
So, for the record, this is a working combination.
Same on Debian 12 'bookworm' with gearman-job-server 1.1.20 by the way (which is where I noticed the issue first). |
I did some manual compiles. 5.1 was still fine for me, 5.1.1 was broken. The problem starts right after this commit: |
Does it fail immediately? |
Yes. 0 jobs arrive in gearmand. |
FYI I did a reinstall on Debian 12 today using
and I got the same result. I was keeping an old copy of the 5.1 binary to work around it, I'll have to recompile for the new v6 event broker API.
|
Or should I look into something else that could be wrongly configured on my system, as I find it hard to believe no-one else has been using mod-gearman-module on Debian the last few months. 🤔 |
or those packages from OBS? I assumed they automatically rebuild if there is an update in naemon-core. |
I'm using
|
i will look into this. There was a new naemon release some days ago, i assume that's the issue here. NEB modules have to be rebuild against that version. I will trigger a rebuild for mod-gearman. |
The build is fine for all I know, there's no NEB error starting naemon after installing. But using those packages still results in the problem described in the issue here: check jobs don't arrive in gearmand. I only get that NEB v6 error when I try to replace In other words: the issue is still the same with naemon 1.4.2 and the 5.1.2-1 version of mod-gearman-module on Debian 12, fetched from download.opensuse.org/repositories/home:/naemon/Debian_12 At least for me 🙂 |
I use it on several debian 12 machines, but i am using it with OMD-Labs which comes with its own gearmand. Had no issues so far. |
I'm currently digging a bit deeper as I found that a plain vanilla install of all packages results in a working configuration. Still a bit at a loss though as in the failing environment I now have identical naemon-core mod-gearman-module packages with identical
but no fix. I'll update this issue as soon as I find out more. |
Turns out it's because I've been running gearmand for ages with So I had no reason to suspect anything wrong with the gearmand setup (that I had not touched for a long time) and the mod-gearman-module suddenly stopped working properly with version 5.1.2 / this commit: 87e2220 I.e. these errors appeared out of nowhere:
But by default in the Debian gearman-job-server package, gearmand is started with What had me puzzled is that the 5.1.0 still worked with gearmand on Anyway, the fix for me is to just remove the Sorry to bother you, maybe this helps someone else later 🙂 |
Hi,
Could there be a regression between 5.1.0 and 5.1.2 in submitting jobs to gearmand?
I'm using a clean Debian 11 install with the packages from OBS (as you recommend). This is from
/var/log/mod-gearman/mod_gearman_neb.log
with debug=4By chance I had the 5.1.0 .deb still in the
/var/cache/apt
of a different testing VM. (note: this deb is from the labs.consol.de repository as I just recently switched, not sure if that matters).If I
dpkg -i
the 5.1.0 one without changing my conffiles, it works again:The text was updated successfully, but these errors were encountered: