[opensuse-buildservice] obs and proxy authentication
Hi all, I'am trying to set up an internal instance of obs version 2.5.5. I followed the guides and all works fine, except the proxy authentication. User who are already registert at the build service have no problem to login, but users who was not registered before get an internal server error. The authentication at the proxy works fine (apache + kerberos) for them. Completed 200 OK in 68ms (Views: 9.6ms | ActiveRecord: 0.4ms | Backend: 0.0ms | XML: 0.0 ms) [8ac1975a-8cd7-4afd-b9c2-67ff1fca5217] [6116:624.76] Started GET "/" for ::1 at 2014-11-12 10:30:07 +0100 [8ac1975a-8cd7-4afd-b9c2-67ff1fca5217] [6116:624.77] Processing by Webui::MainController#index as HTML [312c941a-850a-42ef-ae03-23981e8a6c8e] [6027:706.40] Started GET "/person/p0543101" for ::1 at 2014-11-12 10:30:07 +0100 [312c941a-850a-42ef-ae03-23981e8a6c8e] [6027:706.40] Processing by PersonController#get_userinfo as XML [312c941a-850a-42ef-ae03-23981e8a6c8e] [6027:706.40] Parameters: {"login"=>"p0543101"} [312c941a-850a-42ef-ae03-23981e8a6c8e] [6027:706.40] iChain user extracted from header: p0543101 [312c941a-850a-42ef-ae03-23981e8a6c8e] [6027:706.41] Rendered status.xml.builder (0.8ms) [312c941a-850a-42ef-ae03-23981e8a6c8e] [6027:706.41] Completed 404 Not Found in 8ms (Views: 3.1ms | ActiveRecord: 0.7ms | Backend: 0.0ms | X ML: 0.0ms) [8ac1975a-8cd7-4afd-b9c2-67ff1fca5217] [6116:624.83] Completed 500 Internal Server Error in 62ms [8ac1975a-8cd7-4afd-b9c2-67ff1fca5217] [6116:624.84] ActiveXML::Transport::NotFoundError (<status code="not_found"> <summary>Couldn't find User with login = p0543101</summary> </status> ): lib/activexml/transport.rb:447:in `handle_response' lib/activexml/transport.rb:394:in `http_do' lib/activexml/transport.rb:231:in `direct_http' app/controllers/webui/webui_controller.rb:139:in `authenticate_proxy' app/controllers/webui/webui_controller.rb:113:in `authenticate' activesupport (4.0.3) lib/active_support/callbacks.rb:427:in `_run__4557803593320860530__process_action__callbacks' activesupport (4.0.3) lib/active_support/callbacks.rb:80:in `run_callbacks' actionpack (4.0.3) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.3) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.3) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.3) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.0.3) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.3) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.0.3) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.3) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.3) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.3) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.3) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.3) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.0.3) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.3) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.0.3) lib/action_dispatch/routing/mapper.rb:44:in `call' actionpack (4.0.3) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.0.3) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.0.3) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.0.3) lib/action_dispatch/routing/route_set.rb:680:in `call' config/initializers/wrap_parameters.rb:41:in `call' hoptoad_notifier (2.4.11) lib/hoptoad_notifier/rack.rb:27:in `call' rack (1.5.2) lib/rack/deflater.rb:25:in `call' I tought the obs would create an internal account for everey "trusted" user who come from the proxy. Also a creation by my self does not work, because sign up is disabled in proxy mode. Any suggestions? Tanks in advance Markus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (1)
-
Markus Hartmann