[opensuse-buildservice] Setup obs on localhost - create project error.
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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Mittwoch, 2. September 2009 10:40:37 schrieb 李建:
Hi, guys!
I've much question on setup obs on my localhost. :-)
Do you have configure the api server in the web server config ? /srv/www/obs/webclient/config/environments/production_slave.rb bye adrian
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 ?
-- 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
Hi, Adrian thanks for you help ! yes, I modified the /srv/www/obs/webclient/config/environments/production_slave.rb . First I modified the obs.conf to : ------------------------------------------- ... 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 } ... ================================ So, I modified the /srv/www/obs/webclient/config/environments/production_slave.rb ------------------------------------- ... 23 FRONTEND_HOST = "172..16.70.30" 24 FRONTEND_PORT = 81 ... ======================= And, It have "craete project error" Now , I use the default obs.conf ---------------------------------------- ... 12 $HTTP["host"] =~ "127.0.42.2\.?" { ... ========================== Use the default /srv/www/obs/webclient/config/environments/production_slave.rb: -------------------------------------------------- ... 23 FRONTEND_HOST = "127.0.42.2" 24 FRONTEND_PORT = 80 ... ============================= Last, I have "create project error" yet. My start service is : -------------------------------- /etc/init.d/mysqld start rcobsrepserver start rcobssrcserver start rcobsscheduler start rcobsworker start rcobsdispatcher start rcobspublisher start /etc/init.d/lighttpd start ================= Anyone can help me ? thanks, 2009/9/2 Adrian Schröter <adrian@suse.de>:
Am Mittwoch, 2. September 2009 10:40:37 schrieb 李建:
Hi, guys!
I've much question on setup obs on my localhost. :-)
Do you have configure the api server in the web server config ?
/srv/www/obs/webclient/config/environments/production_slave.rb
bye adrian
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 ?
--
Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- Jian Lee [ http://jianlee.ylinux.org ] -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
I never setup that, but i find strange the "?" in "$SERVER["socket"] == "172.16.70.30:81\.?"" this is not a classic network syntax ? this ip is the localhost ? 2009/9/2 李建 <lijian.gnu@gmail.com>:
Hi, Adrian
thanks for you help !
yes, I modified the /srv/www/obs/webclient/config/environments/production_slave.rb .
First I modified the obs.conf to : ------------------------------------------- ... 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 } ... ================================
So, I modified the /srv/www/obs/webclient/config/environments/production_slave.rb ------------------------------------- ... 23 FRONTEND_HOST = "172..16.70.30" 24 FRONTEND_PORT = 81 ... =======================
And, It have "craete project error"
Now , I use the default obs.conf ---------------------------------------- ... 12 $HTTP["host"] =~ "127.0.42.2\.?" { ... ==========================
Use the default /srv/www/obs/webclient/config/environments/production_slave.rb: -------------------------------------------------- ... 23 FRONTEND_HOST = "127.0.42.2" 24 FRONTEND_PORT = 80 ... =============================
Last, I have "create project error" yet.
My start service is : -------------------------------- /etc/init.d/mysqld start rcobsrepserver start rcobssrcserver start rcobsscheduler start rcobsworker start rcobsdispatcher start rcobspublisher start /etc/init.d/lighttpd start =================
Anyone can help me ?
thanks,
2009/9/2 Adrian Schröter <adrian@suse.de>:
Am Mittwoch, 2. September 2009 10:40:37 schrieb 李建:
Hi, guys!
I've much question on setup obs on my localhost. :-)
Do you have configure the api server in the web server config ?
/srv/www/obs/webclient/config/environments/production_slave.rb
bye adrian
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 ?
--
Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- Jian Lee [ http://jianlee.ylinux.org ] -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- I have no special talents. I am only passionately curious -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
I'm not sure that mean about "?" in ""$SERVER["socket"] == "172.16.70.30:81\.?"", I just modified from "$HTTP["host"] =~ "127.0.42.2\.?"" Now, I've use the default obs.conf, but when I use "Admin"/"opensuse" login, clicked "List of All projects", the url convert to "http://127.0.42.1/project/show?project=deleted" almost. What's the mean about "delected" project ? Thanks, 2009/9/2 Petit Eric <surfzoid@gmail.com>:
I never setup that, but i find strange the "?" in "$SERVER["socket"] == "172.16.70.30:81\.?"" this is not a classic network syntax ? this ip is the localhost ?
2009/9/2 李建 <lijian.gnu@gmail.com>:
Hi, Adrian
thanks for you help !
yes, I modified the /srv/www/obs/webclient/config/environments/production_slave.rb .
First I modified the obs.conf to : ------------------------------------------- ... 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 } ... ================================
So, I modified the /srv/www/obs/webclient/config/environments/production_slave.rb ------------------------------------- ... 23 FRONTEND_HOST = "172..16.70.30" 24 FRONTEND_PORT = 81 ... =======================
And, It have "craete project error"
Now , I use the default obs.conf ---------------------------------------- ... 12 $HTTP["host"] =~ "127.0.42.2\.?" { ... ==========================
Use the default /srv/www/obs/webclient/config/environments/production_slave.rb: -------------------------------------------------- ... 23 FRONTEND_HOST = "127.0.42.2" 24 FRONTEND_PORT = 80 ... =============================
Last, I have "create project error" yet.
My start service is : -------------------------------- /etc/init.d/mysqld start rcobsrepserver start rcobssrcserver start rcobsscheduler start rcobsworker start rcobsdispatcher start rcobspublisher start /etc/init.d/lighttpd start =================
Anyone can help me ?
thanks,
2009/9/2 Adrian Schröter <adrian@suse.de>:
Am Mittwoch, 2. September 2009 10:40:37 schrieb 李建:
Hi, guys!
I've much question on setup obs on my localhost. :-)
Do you have configure the api server in the web server config ?
/srv/www/obs/webclient/config/environments/production_slave.rb
bye adrian
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 ?
--
Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- Jian Lee [ http://jianlee.ylinux.org ] -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- Cordially.
Small Eric Quotations of the days: --------------------------------------------------------------------------- I have no special talents. I am only passionately curious
-- Jian Lee [ http://jianlee.ylinux.org ] -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Petit Eric
-
李建