[opensuse-buildservice] obs worker and repserver services are not getting started
Hi, I am trying to setup a private instance of OBS on my opensuse 11.3 machine. I downloaded and installed the OBS tools from http://download.opensuse.org/repositories/openSUSE:/Tools:/Unstable/openSUSE... But I get the following errors when I try to run these services. linux-uff0:/home/senthil # rcobsworker start Run 1 obsworker using /var/cache/obs/worker cpio: premature end of archive chmod: cannot access `bs_worker': No such file or directory linux-uff0:/home/senthil # rcobsrepserver start Initializing obsrepserver done linux-uff0:/home/senthil # rcobsrepserver status Checking for obsrepserver and running processes: /srv/obs/run/bs_repserver.status: No such file or directory unused linux-uff0:/home/senthil # tail -f /srv/obs/log/rep_server.log ==> /srv/obs/log/rep_server.log <== Unquoted string "c" may clash with future reserved word at /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi/_h2ph_pre.ph line 164. Illegal character in prototype for main::__INT16_C : c at /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi/_h2ph_pre.ph line 164. Can't locate loadable object for module BSSolv in @INC (@INC contains: . build /usr/lib/perl5/site_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/5.12.1 .) at /usr/lib/obs/server//bs_repserver line 66 Compilation failed in require at /usr/lib/obs/server//bs_repserver line 66. BEGIN failed--compilation aborted at /usr/lib/obs/server//bs_repserver line 66. Unquoted string "c" may clash with future reserved word at /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi/_h2ph_pre.ph line 164. Illegal character in prototype for main::__INT16_C : c at /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi/_h2ph_pre.ph line 164. Can't locate loadable object for module BSSolv in @INC (@INC contains: . build /usr/lib/perl5/site_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/5.12.1 .) at /usr/lib/obs/server//bs_repserver line 66 Compilation failed in require at /usr/lib/obs/server//bs_repserver line 66. BEGIN failed--compilation aborted at /usr/lib/obs/server//bs_repserver line 66. Can anybody help me with this please? Thanks, Senthil M -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, Dec 02, 2010 at 05:52:26PM +0000, ext-senthil.muthukalai@nokia.com wrote:
[...] Can't locate loadable object for module BSSolv in @INC (@INC contains: . build /usr/lib/perl5/site_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/5.12.1 .) at /usr/lib/obs/server//bs_repserver line 66
That looks like your 'perl-BSSolv' package is broken. Please reinstall it. "perl -e 'use BSSolv'" should work. Cheers, Michael -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Thanks for your reply Michael. I found a workaround that I didn't follow up on this. The workaround is to reboot the server and all the OBS services start without any issues. But whenever you get to restart obs_worker manually, it doesn't start up. I get the same error, linux-uff0:/home/senthil # rcobsworker start Run 1 obsworker using /var/cache/obs/worker cpio: premature end of archive chmod: cannot access `bs_worker': No such file or directory You have to go for a reboot to solve this. I don't want to live with this workaround. Please help. Thanks, Senthil M -----Original Message----- From: ext Michael Schroeder [mailto:mls@suse.de] Sent: 03 December, 2010 16:05 To: Muthukalai Senthil (EXT-Wipro/Helsinki) Cc: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] obs worker and repserver services are not getting started On Thu, Dec 02, 2010 at 05:52:26PM +0000, ext-senthil.muthukalai@nokia.com wrote:
[...] Can't locate loadable object for module BSSolv in @INC (@INC contains: . build /usr/lib/perl5/site_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/5.12.1 .) at /usr/lib/obs/server//bs_repserver line 66
That looks like your 'perl-BSSolv' package is broken. Please reinstall it. "perl -e 'use BSSolv'" should work. Cheers, Michael -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hello, I am working on OBS QA team for Nokia. We have some packages which are build against MeeGo repo. Due to MeeGo OBS downtime on last monday, all the activities on our local OBS were also stalling. The issue is exactly the same as http://lists.opensuse.org/opensuse-buildservice/2009-09/msg00062.html. I am trying to analyze this. Was this an issue and has it been fixed? If so please provide details. Thanks, Senthil M -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, Jan 07, 2011 at 03:52:47PM +0000, ext-senthil.muthukalai@nokia.com wrote:
I am working on OBS QA team for Nokia. We have some packages which are build against MeeGo repo. Due to MeeGo OBS downtime on last monday, all the activities on our local OBS were also stalling. The issue is exactly the same as http://lists.opensuse.org/opensuse-buildservice/2009-09/msg00062.html. I am trying to analyze this. Was this an issue and has it been fixed?
We did a couple of changes in the innterconnect code, but I'm not sure if they fix your stalls. (For example, the automatic retry for failed requests didn't work.) (A scheduler cold start will certainly fix the stalls, i.e. kill all scheduler processes and restart them.) Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Thanks for the reply Michael. But we did try restarting scheduler and it was still stalling. We could find no logs(scheduler) also being recorded at the downtime. Everything got solved only when the external OBS came up. Can I raise a bug for this? -----Original Message----- From: ext Michael Schroeder [mailto:mls@suse.de] Sent: 07 January, 2011 18:14 To: Muthukalai Senthil (EXT-Wipro/Helsinki) Cc: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] Downtime of external OBS causes the local OBS to hang On Fri, Jan 07, 2011 at 03:52:47PM +0000, ext-senthil.muthukalai@nokia.com wrote:
I am working on OBS QA team for Nokia. We have some packages which are build against MeeGo repo. Due to MeeGo OBS downtime on last monday, all the activities on our local OBS were also stalling. The issue is exactly the same as http://lists.opensuse.org/opensuse-buildservice/2009-09/msg00062.html. I am trying to analyze this. Was this an issue and has it been fixed?
We did a couple of changes in the innterconnect code, but I'm not sure if they fix your stalls. (For example, the automatic retry for failed requests didn't work.) (A scheduler cold start will certainly fix the stalls, i.e. kill all scheduler processes and restart them.) Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, Jan 07, 2011 at 04:41:44PM +0000, ext-senthil.muthukalai@nokia.com wrote:
But we did try restarting scheduler and it was still stalling. We could find no logs(scheduler) also being recorded at the downtime. Everything got solved only when the external OBS came up.
You mean local builds that had nothing to do with the external OBS (i.e. no source link, no repos used etc) also stalled?
Can I raise a bug for this?
You can, but I fear it won't help much. I know of some issues with the interconnect, in fact I'm currently rewriting some parts of the scheduler so that it uses async calls when speaking with a remote server. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Yes. Because we have around 60 projects containing hundreds of packages building against MeeGo repo. And when MeeGo OBS goes down, the full bandwidth of scheduler is spent on resolving the status of MeeGo OBS to update these packages. By this way, the local OBS builds, promotions, OBS WEBUI, logging all got stalled. I am raising a bug for this for tracking purpose. Thanks, Senthil M -----Original Message----- From: ext Michael Schroeder [mailto:mls@suse.de] Sent: 07 January, 2011 19:16 To: Muthukalai Senthil (EXT-Wipro/Helsinki) Cc: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] Downtime of external OBS causes the local OBS to hang On Fri, Jan 07, 2011 at 04:41:44PM +0000, ext-senthil.muthukalai@nokia.com wrote:
But we did try restarting scheduler and it was still stalling. We could find no logs(scheduler) also being recorded at the downtime. Everything got solved only when the external OBS came up.
You mean local builds that had nothing to do with the external OBS (i.e. no source link, no repos used etc) also stalled?
Can I raise a bug for this?
You can, but I fear it won't help much. I know of some issues with the interconnect, in fact I'm currently rewriting some parts of the scheduler so that it uses async calls when speaking with a remote server. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hello, I have 5 worker processes in my OBS instance. Can I have two workers assigned for builds of a particular project/area on the basis of priority? How do I do this? Thanks, Senthil M -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
I found that I can use the following parameters in BSConfig.pm for this. $powerhosts $powerpkgs $specialbuildhost I created two worker instances and set, $powerhosts = ["build1"] But I don't know how do I specify the package name with $powerpkgs. Whatever I give for this, I am not able to restart the scheduler process. And I am able to specify the package/project with $specialbuildhost but am observing the following. The package is built on the specified host only when it is free. Else it is scheduled on a different host. Also if the specified host is free, the other packages/projects are also scheduled on this. Can somebody explain the usage of these parameters and the effect? Thanks, Senthil M -----Original Message----- From: ext ext-senthil.muthukalai@nokia.com [mailto:ext-senthil.muthukalai@nokia.com] Sent: 12 January, 2011 14:58 To: opensuse-buildservice@opensuse.org Subject: [opensuse-buildservice] OBS worker prioritization/allocation Hello, I have 5 worker processes in my OBS instance. Can I have two workers assigned for builds of a particular project/area on the basis of priority? How do I do this? Thanks, Senthil M -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Montag, 17. Januar 2011, 18:26:27 schrieb ext-senthil.muthukalai@nokia.com:
I found that I can use the following parameters in BSConfig.pm for this.
$powerhosts $powerpkgs $specialbuildhost
I created two worker instances and set,
$powerhosts = ["build1"] But I don't know how do I specify the package name with $powerpkgs.
This example is in the current git: +# Special rules to assign some packages to special hosts +# These are +#our $powerhosts = [ +# 'build30', 'build31', 'build32', 'build33', 'build34', 'build35', 'build36', 'build37', +#]; +# +#our $powerpkgs = [ +# 'autoconf', +#]; + +
Whatever I give for this, I am not able to restart the scheduler process.
You need to restart the dispatcher. The scheduler is just generating the jobs.
And I am able to specify the package/project with $specialbuildhost but am observing the following. The package is built on the specified host only when it is free.
specialbuildhost is not supported anymore. It was unfortunatly removed without updating the template file. bye adrian
Else it is scheduled on a different host. Also if the specified host is free, the other packages/projects are also scheduled on this.
Can somebody explain the usage of these parameters and the effect?
Thanks, Senthil M
-----Original Message----- From: ext ext-senthil.muthukalai@nokia.com [mailto:ext-senthil.muthukalai@nokia.com] Sent: 12 January, 2011 14:58 To: opensuse-buildservice@opensuse.org Subject: [opensuse-buildservice] OBS worker prioritization/allocation
Hello,
I have 5 worker processes in my OBS instance. Can I have two workers assigned for builds of a particular project/area on the basis of priority? How do I do this?
Thanks, Senthil M -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Thanks Adrian. While I refer the current GIT for the examples, could you please brief on the scheduling policy of powerhosts? Is it exclusively allocated for the powerpkgs? Pls help. Thanks, Senthil M ________________________________________ From: ext Adrian Schröter [adrian@suse.de] Sent: Monday, January 17, 2011 9:04 PM To: opensuse-buildservice@opensuse.org Cc: Muthukalai Senthil (EXT-Wipro/Helsinki) Subject: Re: [opensuse-buildservice] RE: OBS worker prioritization/allocation Am Montag, 17. Januar 2011, 18:26:27 schrieb ext-senthil.muthukalai@nokia.com:
I found that I can use the following parameters in BSConfig.pm for this.
$powerhosts $powerpkgs $specialbuildhost
I created two worker instances and set,
$powerhosts = ["build1"] But I don't know how do I specify the package name with $powerpkgs.
This example is in the current git: +# Special rules to assign some packages to special hosts +# These are +#our $powerhosts = [ +# 'build30', 'build31', 'build32', 'build33', 'build34', 'build35', 'build36', 'build37', +#]; +# +#our $powerpkgs = [ +# 'autoconf', +#]; + +
Whatever I give for this, I am not able to restart the scheduler process.
You need to restart the dispatcher. The scheduler is just generating the jobs.
And I am able to specify the package/project with $specialbuildhost but am observing the following. The package is built on the specified host only when it is free.
specialbuildhost is not supported anymore. It was unfortunatly removed without updating the template file. bye adrian
Else it is scheduled on a different host. Also if the specified host is free, the other packages/projects are also scheduled on this.
Can somebody explain the usage of these parameters and the effect?
Thanks, Senthil M
-----Original Message----- From: ext ext-senthil.muthukalai@nokia.com [mailto:ext-senthil.muthukalai@nokia.com] Sent: 12 January, 2011 14:58 To: opensuse-buildservice@opensuse.org Subject: [opensuse-buildservice] OBS worker prioritization/allocation
Hello,
I have 5 worker processes in my OBS instance. Can I have two workers assigned for builds of a particular project/area on the basis of priority? How do I do this?
Thanks, Senthil M -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Same issue. My /usr/lib/obs/server/BSConfig.pm lokks like, # List of power hosts that can handle power jobs for the sake of # building critical packages fast. our $powerhosts = ["build1"]; # List of power packages that can be built on power hosts our $powerpkgs = [ "open" ] linux-4kg9:/home/obs # rcobsdispatcher restart Shutting down obsdispatcher done Initializing obsdispatcherstartproc: exit status of parent of /usr/lib/obs/server//bs_dispatch: 255 failed Thanks, Senthil M ________________________________________ From: Muthukalai Senthil (EXT-Wipro/Helsinki) Sent: Tuesday, January 18, 2011 8:21 AM To: adrian@suse.de; opensuse-buildservice@opensuse.org Subject: RE: [opensuse-buildservice] RE: OBS worker prioritization/allocation Thanks Adrian. While I refer the current GIT for the examples, could you please brief on the scheduling policy of powerhosts? Is it exclusively allocated for the powerpkgs? Pls help. Thanks, Senthil M ________________________________________ From: ext Adrian Schröter [adrian@suse.de] Sent: Monday, January 17, 2011 9:04 PM To: opensuse-buildservice@opensuse.org Cc: Muthukalai Senthil (EXT-Wipro/Helsinki) Subject: Re: [opensuse-buildservice] RE: OBS worker prioritization/allocation Am Montag, 17. Januar 2011, 18:26:27 schrieb ext-senthil.muthukalai@nokia.com:
I found that I can use the following parameters in BSConfig.pm for this.
$powerhosts $powerpkgs $specialbuildhost
I created two worker instances and set,
$powerhosts = ["build1"] But I don't know how do I specify the package name with $powerpkgs.
This example is in the current git: +# Special rules to assign some packages to special hosts +# These are +#our $powerhosts = [ +# 'build30', 'build31', 'build32', 'build33', 'build34', 'build35', 'build36', 'build37', +#]; +# +#our $powerpkgs = [ +# 'autoconf', +#]; + +
Whatever I give for this, I am not able to restart the scheduler process.
You need to restart the dispatcher. The scheduler is just generating the jobs.
And I am able to specify the package/project with $specialbuildhost but am observing the following. The package is built on the specified host only when it is free.
specialbuildhost is not supported anymore. It was unfortunatly removed without updating the template file. bye adrian
Else it is scheduled on a different host. Also if the specified host is free, the other packages/projects are also scheduled on this.
Can somebody explain the usage of these parameters and the effect?
Thanks, Senthil M
-----Original Message----- From: ext ext-senthil.muthukalai@nokia.com [mailto:ext-senthil.muthukalai@nokia.com] Sent: 12 January, 2011 14:58 To: opensuse-buildservice@opensuse.org Subject: [opensuse-buildservice] OBS worker prioritization/allocation
Hello,
I have 5 worker processes in my OBS instance. Can I have two workers assigned for builds of a particular project/area on the basis of priority? How do I do this?
Thanks, Senthil M -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-----Original Message----- From: ext-senthil.muthukalai@nokia.com [mailto:ext- senthil.muthukalai@nokia.com] Sent: Tuesday, January 18, 2011 1:48 AM To: adrian@suse.de; opensuse-buildservice@opensuse.org Subject: RE: [opensuse-buildservice] RE: OBS worker prioritization/allocation
Same issue. My /usr/lib/obs/server/BSConfig.pm lokks like,
# List of power hosts that can handle power jobs for the sake of # building critical packages fast. our $powerhosts = ["build1"];
# List of power packages that can be built on power hosts our $powerpkgs = [ "open" ]
[MF] Seems like you are missing a semi-colon in the line above. It should be: our $powerpkgs = [ "open" ]; Cheers, Mal
linux-4kg9:/home/obs # rcobsdispatcher restart Shutting down obsdispatcher done Initializing obsdispatcherstartproc: exit status of parent of /usr/lib/obs/server//bs_dispatch: 255
failed
Thanks, Senthil M
________________________________________ From: Muthukalai Senthil (EXT-Wipro/Helsinki) Sent: Tuesday, January 18, 2011 8:21 AM To: adrian@suse.de; opensuse-buildservice@opensuse.org Subject: RE: [opensuse-buildservice] RE: OBS worker prioritization/allocation
Thanks Adrian. While I refer the current GIT for the examples, could you please brief on the scheduling policy of powerhosts? Is it exclusively allocated for the powerpkgs? Pls help.
Thanks, Senthil M
________________________________________ From: ext Adrian Schröter [adrian@suse.de] Sent: Monday, January 17, 2011 9:04 PM To: opensuse-buildservice@opensuse.org Cc: Muthukalai Senthil (EXT-Wipro/Helsinki) Subject: Re: [opensuse-buildservice] RE: OBS worker prioritization/allocation
I found that I can use the following parameters in BSConfig.pm for
Am Montag, 17. Januar 2011, 18:26:27 schrieb ext- senthil.muthukalai@nokia.com: this.
$powerhosts $powerpkgs $specialbuildhost
I created two worker instances and set,
$powerhosts = ["build1"] But I don't know how do I specify the package name with $powerpkgs.
This example is in the current git:
+# Special rules to assign some packages to special hosts +# These are +#our $powerhosts = [ +# 'build30', 'build31', 'build32', 'build33', 'build34', 'build35', 'build36', 'build37', +#]; +# +#our $powerpkgs = [ +# 'autoconf', +#]; + +
Whatever I give for this, I am not able to restart the scheduler process.
You need to restart the dispatcher. The scheduler is just generating the jobs.
And I am able to specify the package/project with $specialbuildhost but am observing the following. The package is built on the specified host only when it is free.
specialbuildhost is not supported anymore. It was unfortunatly removed without updating the template file.
bye adrian
Else it is scheduled on a different host. Also if the specified host is free, the other packages/projects are also scheduled on this.
Can somebody explain the usage of these parameters and the effect?
Thanks, Senthil M
-----Original Message----- From: ext ext-senthil.muthukalai@nokia.com [mailto:ext-senthil.muthukalai@nokia.com] Sent: 12 January, 2011 14:58 To: opensuse-buildservice@opensuse.org Subject: [opensuse-buildservice] OBS worker prioritization/allocation
Hello,
I have 5 worker processes in my OBS instance. Can I have two workers assigned for builds of a particular project/area on the basis of priority? How do I do this?
Thanks, Senthil M -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse- buildservice+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse- buildservice+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Thanks for pointing out that Malcolm. -----Original Message----- From: ext Malcolm Fernandes [mailto:mfernand@broadcom.com] Sent: 18 January, 2011 20:05 To: Muthukalai Senthil (EXT-Wipro/Helsinki); opensuse-buildservice@opensuse.org Subject: RE: [opensuse-buildservice] RE: OBS worker prioritization/allocation
-----Original Message----- From: ext-senthil.muthukalai@nokia.com [mailto:ext- senthil.muthukalai@nokia.com] Sent: Tuesday, January 18, 2011 1:48 AM To: adrian@suse.de; opensuse-buildservice@opensuse.org Subject: RE: [opensuse-buildservice] RE: OBS worker prioritization/allocation
Same issue. My /usr/lib/obs/server/BSConfig.pm lokks like,
# List of power hosts that can handle power jobs for the sake of # building critical packages fast. our $powerhosts = ["build1"];
# List of power packages that can be built on power hosts our $powerpkgs = [ "open" ]
[MF] Seems like you are missing a semi-colon in the line above. It should be: our $powerpkgs = [ "open" ]; Cheers, Mal
linux-4kg9:/home/obs # rcobsdispatcher restart Shutting down obsdispatcher done Initializing obsdispatcherstartproc: exit status of parent of /usr/lib/obs/server//bs_dispatch: 255
failed
Thanks, Senthil M
________________________________________ From: Muthukalai Senthil (EXT-Wipro/Helsinki) Sent: Tuesday, January 18, 2011 8:21 AM To: adrian@suse.de; opensuse-buildservice@opensuse.org Subject: RE: [opensuse-buildservice] RE: OBS worker prioritization/allocation
Thanks Adrian. While I refer the current GIT for the examples, could you please brief on the scheduling policy of powerhosts? Is it exclusively allocated for the powerpkgs? Pls help.
Thanks, Senthil M
________________________________________ From: ext Adrian Schröter [adrian@suse.de] Sent: Monday, January 17, 2011 9:04 PM To: opensuse-buildservice@opensuse.org Cc: Muthukalai Senthil (EXT-Wipro/Helsinki) Subject: Re: [opensuse-buildservice] RE: OBS worker prioritization/allocation
I found that I can use the following parameters in BSConfig.pm for
Am Montag, 17. Januar 2011, 18:26:27 schrieb ext- senthil.muthukalai@nokia.com: this.
$powerhosts $powerpkgs $specialbuildhost
I created two worker instances and set,
$powerhosts = ["build1"] But I don't know how do I specify the package name with $powerpkgs.
This example is in the current git:
+# Special rules to assign some packages to special hosts +# These are +#our $powerhosts = [ +# 'build30', 'build31', 'build32', 'build33', 'build34', 'build35', 'build36', 'build37', +#]; +# +#our $powerpkgs = [ +# 'autoconf', +#]; + +
Whatever I give for this, I am not able to restart the scheduler process.
You need to restart the dispatcher. The scheduler is just generating the jobs.
And I am able to specify the package/project with $specialbuildhost but am observing the following. The package is built on the specified host only when it is free.
specialbuildhost is not supported anymore. It was unfortunatly removed without updating the template file.
bye adrian
Else it is scheduled on a different host. Also if the specified host is free, the other packages/projects are also scheduled on this.
Can somebody explain the usage of these parameters and the effect?
Thanks, Senthil M
-----Original Message----- From: ext ext-senthil.muthukalai@nokia.com [mailto:ext-senthil.muthukalai@nokia.com] Sent: 12 January, 2011 14:58 To: opensuse-buildservice@opensuse.org Subject: [opensuse-buildservice] OBS worker prioritization/allocation
Hello,
I have 5 worker processes in my OBS instance. Can I have two workers assigned for builds of a particular project/area on the basis of priority? How do I do this?
Thanks, Senthil M -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse- buildservice+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse- buildservice+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Adrian Schröter
-
ext-senthil.muthukalai@nokia.com
-
Malcolm Fernandes
-
Michael Schroeder