hi all,
I have a custom OBS instance. Since yesterday I start to observe that any "trigger service" API calls end in blocked/service in progress.
Some repos are in "state needs recalculation!
The only suspicious things I found in log files:
dispatcher.log
400 remote error: /srv/obs/events/lastevents bad last line at /usr/lib/obs/server/BSFileDB.pm line 269.
src_server.log
2018-09-04 15:34:37: [10486] POST (127.0.0.1) /event?type=repository&project=qorus-3.1-stable&repository=Fedora_28&arch=x86_64 127.0.0.1 [10486]: /srv/obs/events/lastevents: bad last line at /usr/lib/obs/server/BSFileDB.pm line 269.
does anybody have a clue what can be wrong?
best regards,
petr
On Sep 04 2018, Petr Vanek petr@yarpen.cz wrote:
400 remote error: /srv/obs/events/lastevents bad last line at /usr/lib/obs/server/BSFileDB.pm line 269.
Looks like the file isn't newline terminated. Could be the leftover of a crash.
Andreas.
On 09/04/2018 03:47 PM, Andreas Schwab wrote:
On Sep 04 2018, Petr Vanek petr@yarpen.cz wrote:
400 remote error: /srv/obs/events/lastevents bad last line at /usr/lib/obs/server/BSFileDB.pm line 269.
Looks like the file isn't newline terminated. Could be the leftover of a crash.
Andreas.
d'oh, you are right! There is some binary trash at the end of the lastevents file.
Thanks for help
On Dienstag, 4. September 2018, 15:42:39 CEST wrote Petr Vanek:
hi all,
I have a custom OBS instance. Since yesterday I start to observe that any "trigger service" API calls end in blocked/service in progress.
Some repos are in "state needs recalculation!
The only suspicious things I found in log files:
dispatcher.log
400 remote error: /srv/obs/events/lastevents bad last line at /usr/lib/obs/server/BSFileDB.pm line 269.
src_server.log
2018-09-04 15:34:37: [10486] POST (127.0.0.1) /event?type=repository&project=qorus-3.1-stable&repository=Fedora_28&arch=x86_64 127.0.0.1 [10486]: /srv/obs/events/lastevents: bad last line at /usr/lib/obs/server/BSFileDB.pm line 269.
does anybody have a clue what can be wrong?
these are most likely corrupt on disk data, but lastevents has nothing todo with your problem.
Check service log file and check if you have configured maybe servicedispatcher to be used (but not running?)
buildservice@lists.opensuse.org