-----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