[opensuse-buildservice] custom OBS: blocked - service in progress forever
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 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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?) -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Andreas Schwab
-
Petr Vanek