[opensuse-buildservice] OBS installation problem
Hi, 1) I'm currently installing OBS on top of SLES10 for our internal development project. The installation went fine but the moment I try to add a repository to the the project and I select a distibution + release I get a Errorcode: uncaught_exception Message: unable to walk on path 'SUSE:SLE-10:SDK/standard' error message. This error is raised in /srv/www/obs/frontend/app/models/db_project.rb link_repo = Repository.find_by_project_and_repo_name( path.project, path.repository ) if link_repo.nil? raise RuntimeError, "unable to walk on path '#{path.project}/#{path.repository}'" THe find_by_project_and_repo_name function does an sql query on the repositories table which seems to contain information. What can cause this error? If I create a 'standard' repository like on the wiki suggested I don't get this error. 2) I'm following the instructions on http://en.opensuse.org/Build_Service/Build_Service_Installation_Tutorial/ope... Near the bottom of the page there is a line which says to 'to copy the rpms from the base distribution to /srv/obs/build/openSUSE:10.2/standard/i586/:full/ ' Is there an easy way to copy all these rpms from the cdroms to this location? Or even from a http/ftp source? Thanks in advance, Kind regards Leo -- Leo Eraly <leo at unstable dot be> --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
we have had our first meeting to begin integration of LTSP and KIWI into 10.3 and the EDU-CD . please visit http://en.opensuse.org/LTSP#LTSP5_.5C_KIWI_integration_planning_and_status and feel free to post comments and lend a hand Thanks James -- James Tremblay Director of Technology Newmarket School District Novell CNE 3\4\5 CLE \ NCE in training. http://en.opensuse.org/education --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tuesday, 24. April 2007 14:45, Leo Eraly wrote:
Hi,
1) I'm currently installing OBS on top of SLES10 for our internal development project.
The installation went fine but the moment I try to add a repository to the the project and I select a distibution + release I get a
Errorcode: uncaught_exception Message: unable to walk on path 'SUSE:SLE-10:SDK/standard'
error message. This error is raised in /srv/www/obs/frontend/app/models/db_project.rb
link_repo = Repository.find_by_project_and_repo_name( path.project, path.repository ) if link_repo.nil? raise RuntimeError, "unable to walk on path '#{path.project}/#{path.repository}'"
THe find_by_project_and_repo_name function does an sql query on the repositories table which seems to contain information.
What can cause this error?
This means that your frontend doesn't have a project called 'SUSE:SLE-10:SDK' containing a repository named 'standard', but you try to reference it from another project. For this to work you have to setup your SUSE:SLE-10:SDK project like the openSUSE:10.2 project mentioned in the README.SETUP from the obs rpm.
Kind regards
Leo
Andreas -- Andreas Bauer - Novell - SUSE Internal Tools --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Andreas Bauer wrote:
On Tuesday, 24. April 2007 14:45, Leo Eraly wrote:
Hi,
1) I'm currently installing OBS on top of SLES10 for our internal development project.
The installation went fine but the moment I try to add a repository to the the project and I select a distibution + release I get a
Errorcode: uncaught_exception Message: unable to walk on path 'SUSE:SLE-10:SDK/standard'
error message. This error is raised in /srv/www/obs/frontend/app/models/db_project.rb
link_repo = Repository.find_by_project_and_repo_name( path.project, path.repository ) if link_repo.nil? raise RuntimeError, "unable to walk on path '#{path.project}/#{path.repository}'"
THe find_by_project_and_repo_name function does an sql query on the repositories table which seems to contain information.
What can cause this error?
This means that your frontend doesn't have a project called 'SUSE:SLE-10:SDK' containing a repository named 'standard', but you try to reference it from another project.
For this to work you have to setup your SUSE:SLE-10:SDK project like the openSUSE:10.2 project mentioned in the README.SETUP from the obs rpm.
Thanks Andreas , this seems to work. But I can't seem to figure out how to configure remote workers. I need a x86_64 remote worker and I need a x86_32 remote worker (in xen) So I can install the obs-worker package on the different machines but how do I configure all these different machines to be used in my build system. Can you give me some pointers/examples? Kind regards, Leo -- Leo Eraly <leo at unstable dot be> --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Leo Eraly wrote:
But I can't seem to figure out how to configure remote workers. I need a x86_64 remote worker and I need a x86_32 remote worker (in xen)
So I can install the obs-worker package on the different machines but how do I configure all these different machines to be used in my build system. Can you give me some pointers/examples?
This worked for me: On the worker machine, set OBS_STORAGE_SERVER /etc/sysconfig/obs-worker. Then on the scheduler machine, set $srcserver and $reposerver in /usr/lib/obs/server/BSConfig.pm. BTW couldn't the $srcserver and $reposerver default to http://`hostname -f`:port or something like that? This would make switching from a single-host installation to a distributed setup much easier :) Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Michal Marek wrote:
Leo Eraly wrote:
But I can't seem to figure out how to configure remote workers. I need a x86_64 remote worker and I need a x86_32 remote worker (in xen)
So I can install the obs-worker package on the different machines but how do I configure all these different machines to be used in my build system. Can you give me some pointers/examples?
This worked for me:
On the worker machine, set OBS_STORAGE_SERVER /etc/sysconfig/obs-worker. Then on the scheduler machine, set $srcserver and $reposerver in /usr/lib/obs/server/BSConfig.pm.
BTW couldn't the $srcserver and $reposerver default to
http://`hostname -f`:port
or something like that? This would make switching from a single-host installation to a distributed setup much easier :)
Yes , this seems to work. It took me a while to find out that the workers gets his configuration file from the central server and is therefore overwritten every time you restart your worker. Another small question: Can my sles10 box also build the sles9 packages if a add a SUSE:SLES-9 repository or do I have to run a worker on a sles9 machine to make it work? Kind regards, Leo -- Leo Eraly <leo at unstable dot be> --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Leo Eraly wrote:
Michal Marek wrote:
Leo Eraly wrote:
But I can't seem to figure out how to configure remote workers. I need a x86_64 remote worker and I need a x86_32 remote worker (in xen)
So I can install the obs-worker package on the different machines but how do I configure all these different machines to be used in my build system. Can you give me some pointers/examples?
This worked for me:
On the worker machine, set OBS_STORAGE_SERVER /etc/sysconfig/obs-worker. Then on the scheduler machine, set $srcserver and $reposerver in /usr/lib/obs/server/BSConfig.pm.
BTW couldn't the $srcserver and $reposerver default to
http://`hostname -f`:port
or something like that? This would make switching from a single-host installation to a distributed setup much easier :)
Yes , this seems to work. It took me a while to find out that the workers gets his configuration file from the central server and is therefore overwritten every time you restart your worker.
Another small question: Can my sles10 box also build the sles9 packages if a add a SUSE:SLES-9 repository or do I have to run a worker on a sles9 machine to make it work?
Seems I forgot to add a sles9.conf file to /srv/obs/projects which is needed before any build can take place. Kind regards, -- Leo Eraly <leo at unstable dot be> --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Andreas Bauer
-
James Tremblay
-
Leo Eraly
-
Michal Marek