Am Dienstag, 13. August 2013, 23:53:17 schrieb Jorge Hernandez:
Hey guys,
I finally could put an OBS appliance together, I logged in as Admin and tried to create my first project and got an error 500, I checked /srv/www/obs/api/log/production.log and all it says is:
[^[[32mINFO ^[[0m|# 3623] Started GET "/source/home:Admin/_meta" for 1.2.3.4 at 2013-08-13 19:24:06 +0000 [^[[32mINFO ^[[0m|# 3623] Processing by SourceController#project_meta as XML [^[[32mINFO ^[[0m|# 3623] Parameters: {"project"=>"home:Admin"} [^[[32mINFO ^[[0m|# 3623] Rendered status.xml.builder (0.2ms) [^[[32mINFO ^[[0m|# 3623] Completed 404 Not Found in 6ms (Views: 0.6ms
| ActiveRecord: 0.6ms | Backend: 0.0ms | XML: 0.0ms)
[^[[32mINFO ^[[0m|# 3623] Started PUT "/source/home:Admin/_meta" for 1.2.3.4 at 2013-08-13 19:24:06 +0000 [^[[32mINFO ^[[0m|# 3623] Processing by SourceController#project_meta as XML [^[[32mINFO ^[[0m|# 3623] Parameters: {"project"=>"home:Admin"} [^[[32mINFO ^[[0m|# 3623] Rendered text template (0.0ms) [^[[32mINFO ^[[0m|# 3623] Completed 500 Internal Server Error in 92ms (Views: 0.5ms | ActiveRecord: 9.0ms | Backend: 3.0ms | XML: 0.0ms)
Also, webui/log/production.log has this:
[^[[32mINFO ^[[0m|# 3725] Authenticated request to "/project/save_new?method=post" from Admin [^[[31mERROR^[[0m|# 3725] --> caught EOFError: end of file reached, retrying with new HTTP connection [^[[32mINFO ^[[0m|# 3725] Completed 500 Internal Server Error in 793ms
[^[[31mFATAL^[[0m|# 3725] ActiveXML::Transport::Error (<status code='500' origin='backend'> <summary>access denied by $ipaccess rules</summary>
Any ideas what can cause that?
To my untrained eyes it looks like it did not allow me to create it (access denied) so please let me know if I need to adjust something in the config files.
This comes from the backend, you do not allow your api instance to write to bs_srcserver (and _repserver?). If you are in a trusted network, you may just comment out the ipaccess lines in BSConfig.pm and restart the backend. -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org