Mailinglist Archive: opensuse-buildservice (171 mails)

< Previous Next >
[opensuse-buildservice] Setup obs on localhost - create project error.
  • From: 李建 <lijian.gnu@xxxxxxxxx>
  • Date: Wed, 2 Sep 2009 16:40:37 +0800
  • Message-id: <426c385a0909020140q2d04743fy510c123fceaeec0e@xxxxxxxxxxxxxx>
Hi, guys!

I've much question on setup obs on my localhost. :-)

my obs.conf is :
-----------------------------------------
1 $HTTP["host"] =~ "172.16.70.30\.?" {
2 rails_app = "webclient"
3 rails_root = "/srv/www/obs/webclient"
4 rails_procs = 5
5 # production/development are typical values here
6 rails_mode = "production_slave"
7
8 log_root = "/srv/www/obs/webclient/log"
9
10 include "vhosts.d/rails.inc"
11 }
12 $SERVER["socket"] == "172.16.70.30:81\.?" {
13 rails_app = "frontend"
14 rails_root = "/srv/www/obs/frontend"
15 rails_procs = 5
16 # production/development are typical values here
17 rails_mode = "production_slave"
18
19 log_root = "/srv/www/obs/frontend/log"
20
21 include "vhosts.d/rails.inc"
22 }
...
===============================

When I install obs pkgs, and configure database, initialed db.
I access http://172.16.70.30 which is my webclient ip, and
created project.

first, i clicked "Create New Project", the webclient convert to
http://172.16.70.30/project/new

second, I write some info and clicked "Creat Project",

third, the webclient convert to url -- http://172.16.70.30/project/save_new,
then get errors:
-----------------------------------------------
OpenSUSE Webclient Error:

Error Details:
Errorcode: unknown
Message: execution expired

Exception from Webclient:
Timeout::Error: execution expired
Stack Trace:

/usr/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill'
/usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
/usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
/usr/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'
....
==================================

But, the project I created just now have created successed already !
-------------------------------------------------
# cat /srv/obs/projects/GTES\:11.3.xml
<project name="GTES:11.3">
<title>GTES 11.3 test environment</title>
<description>GTES 11.3 test enviroment, at 172.16.70.30 host!

-- Jian Lee</description>
<person role="maintainer" userid="Admin" />
<person role="bugowner" userid="Admin" />
<person role="maintainer" userid="Admin" />
</project>
================================

but when i logout and login with "Admin" account,
clicked "List of All projects" get none .

I'm puzzled on this, anyone can give me a suggest ?

--
Jian Lee [ http://jianlee.ylinux.org ]
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups