[one-users] OpenNebula 2.2 Sunstone Error : Unable to Login

KING LABS kinglabs.in at gmail.com
Tue Apr 5 22:12:40 PDT 2011


Hi ,

I have been trying to install and configure 2.2 with Sunstone. I unable to
login into the sunstone . The details of the error are as follows when I log
in as a normal user on the frontend.

Also when i try while logged in as oneadmin I get

oneadmin at frontend:~$ sunstone-server start
/usr/bin/sunstone-server: line 70: /var/log/one/sunstone.log: Permission
denied
sunstone-server started
oneadmin at frontend:~$


Please correct me if I am missing anything.







-------------------------------------------------------------------------------------------------------------------------------------------------------------



RuntimeError - ONE_AUTH file not present:
 /usr/lib/one/ruby/OpenNebula.rb:93:in `initialize'
 /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `new'
 /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `authorize'
 /usr/lib/one/sunstone/sunstone-server.rb:48:in `build_session'
 /usr/lib/one/sunstone/sunstone-server.rb:120:in `POST /login'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in `call'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in `compile!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in
`instance_eval'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in
`route_eval'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:693:in `route!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:741:in
`process_route'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in `catch'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in
`process_route'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:692:in `route!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in `each'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in `route!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:826:in `dispatch!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in `call!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in
`instance_eval'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `invoke'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `catch'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `invoke'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in `call!'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:604:in `call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:63:in
`context'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:58:in
`call'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/showexceptions.rb:21:in
`call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/methodoverride.rb:24:in `call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in `call'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in `call'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1276:in
`synchronize'
 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in `call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/lint.rb:48:in `_call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/lint.rb:36:in `call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/showexceptions.rb:24:in `call'
 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in `call'
 /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'
 /usr/lib/ruby/1.8/rack/chunked.rb:15:in `call'
 /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
 /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
 /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
 /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
 /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
 /usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'
 /usr/lib/ruby/1.8/eventmachine.rb:240:in `run'
 /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
 /usr/lib/ruby/1.8/thin/server.rb:156:in `start'
 /usr/lib/ruby/1.8/rack/handler/thin.rb:14:in `run'
 /usr/lib/ruby/1.8/rack/server.rb:155:in `start'
 /usr/lib/ruby/1.8/rack/server.rb:83:in `start'
 /usr/bin/rackup:4
127.0.0.1 - - [06/Apr/2011 01:07:05] "POST /login HTTP/1.1" 500 138892
0.0876
127.0.0.1 - - [06/Apr/2011 01:07:05] "POST /login HTTP/1.1" 500 138892
0.0885
^C
king at frontend:~$
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110406/8970abbd/attachment-0002.htm>


More information about the Users mailing list