[one-users] Unable to login to sunstone as user
Stefan Kooman
stefan at bit.nl
Fri Nov 22 14:17:19 PST 2013
Quoting Daniel Molina (dmolina at opennebula.org):
> You are getting a 500 error from the server, there should be an error
> message in /var/log/one/sunstone.error
I have re-installed oned / sunstone from scratch. If I try to log in as
a user which is not a member of oneadmin group I get the errors in the
log as attached in this mail (sunstone.error). Can you figure out what's
happening here?
Thanks,
Stefan
--
| BIT BV http://www.bit.nl/ Kamer van Koophandel 09090351
| GPG: 0xD14839C6 +31 318 648 688 / info at bit.nl
-------------- next part --------------
== Sinatra/1.3.2 has taken the stage on 9869 for development with backup from Thin
NoMethodError - undefined method `first' for nil:NilClass:
/usr/lib/one/sunstone/sunstone-server.rb:199:in `build_session'
/usr/lib/one/sunstone/sunstone-server.rb:286:in `block in <main>'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1212:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1212:in `block in compile!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:785:in `[]'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:785:in `block (3 levels) in route!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:801:in `route_eval'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:785:in `block (2 levels) in route!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:822:in `block in process_route'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:820:in `catch'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:820:in `process_route'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:784:in `block in route!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:783:in `each'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:783:in `route!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:886:in `dispatch!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:719:in `block in call!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:871:in `block in invoke'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:871:in `catch'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:871:in `invoke'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:719:in `call!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:705:in `call'
/usr/lib/ruby/vendor_ruby/rack/commonlogger.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:225:in `context'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:220:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/xss_header.rb:18:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/path_traversal.rb:16:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/json_csrf.rb:18:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/base.rb:49:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/base.rb:49:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/frame_options.rb:31:in `call'
/usr/lib/ruby/vendor_ruby/rack/nulllogger.rb:9:in `call'
/usr/lib/ruby/vendor_ruby/rack/head.rb:11:in `call'
/usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:21:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/showexceptions.rb:21:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1334:in `block in call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1416:in `synchronize'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1334:in `call'
/usr/lib/ruby/vendor_ruby/thin/connection.rb:80:in `block in pre_process'
/usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `catch'
/usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `pre_process'
/usr/lib/ruby/vendor_ruby/eventmachine.rb:1037:in `call'
/usr/lib/ruby/vendor_ruby/eventmachine.rb:1037:in `block in spawn_threadpool'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: Digital signature
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131122/83d99388/attachment-0002.pgp>
More information about the Users
mailing list