problem using _service in a local install OBS
Hello, I have a local install OBS running. Everything works accordingly thanks to the well written documentation. Recently, I have started testing _service. I have added the _service by using the command osc add https://github.com/FreeCAD/FreeCAD.git . When I have run the commit command: osc commit -m "test", I get the following output. Sending _service Transmitting file data Committed revision 20. Waiting for server side source service run ................................................ The waiting goes forever. From my understanding, I know source server (bs_srcserver) needs to connect to source service server (bs_service) in order to run _service. However, I do not see anything happening using strace on bs_service. Also, I have checked the logs in /srv/obs/log, /srv/www/obs/api/log and /srv/obs/service/log and they are no error messages. Also, I have tried to add token using the command osc token --create and triggering it using osc token --trigger <TOKEN> <PROJECT> <PACKAGE>, the result is still the same (Waiting for server side source service run). If anyone has any good suggestions, please let me know. Thanks!
On Dienstag, 15. Februar 2022, 09:22:49 CET kcchen722@gmail.com wrote:
Hello,
I have a local install OBS running. Everything works accordingly thanks to the well written documentation. Recently, I have started testing _service. I have added the _service by using the command osc add https://github.com/FreeCAD/FreeCAD.git . When I have run the commit command: osc commit -m "test", I get the following output. Sending _service Transmitting file data Committed revision 20. Waiting for server side source service run ................................................ The waiting goes forever. From my understanding, I know source server (bs_srcserver) needs to connect to source service server (bs_service) in order to run _service. However, I do not see anything happening using strace on bs_service. Also, I have checked the logs in /srv/obs/log, /srv/www/obs/api/log and /srv/obs/service/log and they are no error messages. Also, I have tried to add token using the command osc token --create and triggering it using osc token --trigger <TOKEN> <PROJECT> <PACKAGE>, the result is still the same (Waiting for server side source service run). If anyone has any good suggestions, please let me know. Thanks!
you may have configured it to use bs_servicedispatch and that one is not running? -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
Thanks Adrian! In case someone asks the same question. Here is what I have done so far: systemctl enable obsservicedispatch.service; systemctl start obsservicedispatch. To see if the dispatch is working, you should see some traces in /srv/obs/service/[0-9]* On Tue, Feb 15, 2022 at 3:25 AM Adrian Schröter <adrian@suse.de> wrote:
On Dienstag, 15. Februar 2022, 09:22:49 CET kcchen722@gmail.com wrote:
Hello,
I have a local install OBS running. Everything works accordingly thanks to the well written documentation. Recently, I have started testing _service. I have added the _service by using the command osc add https://github.com/FreeCAD/FreeCAD.git . When I have run the commit command: osc commit -m "test", I get the following output. Sending _service Transmitting file data Committed revision 20. Waiting for server side source service run ................................................ The waiting goes forever. From my understanding, I know source server (bs_srcserver) needs to connect to source service server (bs_service) in order to run _service. However, I do not see anything happening using strace on bs_service. Also, I have checked the logs in /srv/obs/log, /srv/www/obs/api/log and /srv/obs/service/log and they are no error messages. Also, I have tried to add token using the command osc token --create and triggering it using osc token --trigger <TOKEN> <PROJECT> <PACKAGE>, the result is still the same (Waiting for server side source service run). If anyone has any good suggestions, please let me know. Thanks!
you may have configured it to use bs_servicedispatch and that one is not running?
--
Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
participants (3)
-
Adrian Schröter
-
Kc Chen
-
kcchen722@gmail.com