Mailinglist Archive: opensuse-buildservice (124 mails)

< Previous Next >
Re: [opensuse-buildservice] problems after obs migration
On Dienstag, 16. August 2016, 01:56:42 CEST wrote Christian:

testing a migration of an obs 2.6 instance from SLE_11 to a SLE_12 host.

I installed all needed packages
configured services and enabled them.
I dumped and recoverd the database.
I synced the /srv/obs DIR
I adapted the /usr/lib/obs/server/
I adapted the /srv/www/obs/api/config/database.yml
I adapted the /srv/www/obs/api/config/options.yml

The 'anonymous' browsing on the webui works just fine.

but I can't login. getting a 500 could need some help please ...

--- production.log - snip ---
[27740a07-6bdd-49ae-afd8-490ecb58a6eb] [6367:308.19] Started POST
"/user/do_login" for at 2016-08-15 23:44:22 +0000
[27740a07-6bdd-49ae-afd8-490ecb58a6eb] [6367:308.19] Processing by
Webui::UserController#do_login as HTML
[27740a07-6bdd-49ae-afd8-490ecb58a6eb] [6367:308.19] Parameters:
{"utf8"=>"✓", "authenticity_token"=>"_removed_=",
"username"=>"_replaced_", "password"=>"[FILTERED]", "commit"=>"Log In"}
[27740a07-6bdd-49ae-afd8-490ecb58a6eb] [6367:308.19] Anonymous request
to ''
[27740a07-6bdd-49ae-afd8-490ecb58a6eb] [6367:308.21] Completed 500
Internal Server Error in 18ms (ActiveRecord: 0.7ms | Backend: 0.0ms |
XML: 0.0ms)
[27740a07-6bdd-49ae-afd8-490ecb58a6eb] [6367:308.22]
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed):
/usr/lib64/ruby/2.1.0/net/http.rb:920:in `connect'
/usr/lib64/ruby/2.1.0/net/http.rb:920:in `block in connect'
/usr/lib64/ruby/2.1.0/timeout.rb:76:in `timeout'
/usr/lib64/ruby/2.1.0/net/http.rb:920:in `connect'
/usr/lib64/ruby/2.1.0/net/http.rb:863:in `do_start'
/usr/lib64/ruby/2.1.0/net/http.rb:858:in `start'
--- snip ---

What is wrong ?
What did I forget ?

The ruby stack is not trusting your SSL certificate. In 2.6 the webui
is still doing connections to the api for login verification and needs
to trust it.

So, either update to 2.7 where this isn't a case anymore or teach ruby
to trust the certificate.


Adrian Schroeter
email: adrian@xxxxxxx

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284
(AG Nürnberg)

Maxfeldstraße 5
90409 Nürnberg

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups