[one-users] Sunstone Error
Daniel Molina
dmolina at opennebula.org
Mon Jul 30 02:40:28 PDT 2012
Hi,
On 30 July 2012 10:54, Bendix Harries <br4ve_cs at web.de> wrote:
> Hi guys,
> I got some issues with my sunstone-server. After updating from opennebula
> 3.0 to 3.6, I get an error when accessing sunstone through the webinterface,
> which is "It appears there was an exception, please check the server's
> log.". For more detailed information I changed line 28 of
> /usr/lib/one/sunstone/public/js/opennebula.js: from: error.error = {message:
> "It appears there was a server exception. Please check server's log."}; to:
> error.error = {message: resp.responseText };
> But I still can't figure out whats wrong there.
Did you restart the sunstone server after upgrading?
Cheers
> The new Error message is :
>
> Error
>
> NameError: uninitialized constant SunstoneServer::DatastorePoolJSON
> /usr/lib/one/sunstone/models/SunstoneServer.rb:62:in `get_pool'
> /usr/lib/one/sunstone/sunstone-server.rb:323:in `GET /:pool'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1151:in `call'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1151:in `compile!'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:724:in `instance_eval'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:724:in `route_eval'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:708:in `route!'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:758:in `process_route'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:755:in `catch'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:755:in `process_route'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:707:in `route!'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:706:in `each'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:706:in `route!'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:843:in `dispatch!'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:644:in `call!'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `instance_eval'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `invoke'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `catch'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `invoke'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:644:in `call!'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:629:in `call'
> /usr/lib/ruby/vendor_ruby/rack/commonlogger.rb:20:in `call'
> /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:195:in `context'
> /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:190:in `call'
> /usr/lib/ruby/vendor_ruby/rack/head.rb:9:in `call'
> /usr/lib/ruby/vendor_ruby/sinatra/showexceptions.rb:21:in `call'
> /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:24:in `call'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1272:in `call'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1303:in `synchronize'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1272:in `call'
> /usr/lib/ruby/vendor_ruby/thin/connection.rb:80: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/thin/connection.rb:53:in `process'
> /usr/lib/ruby/vendor_ruby/thin/connection.rb:38:in `receive_data'
> /usr/lib/ruby/vendor_ruby/eventmachine.rb:257:in `run_machine'
> /usr/lib/ruby/vendor_ruby/eventmachine.rb:257:in `run'
> /usr/lib/ruby/vendor_ruby/thin/backends/base.rb:61:in `start'
> /usr/lib/ruby/vendor_ruby/thin/server.rb:159:in `start'
> /usr/lib/ruby/vendor_ruby/rack/handler/thin.rb:13:in `run'
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1234:in `run!'
> /usr/lib/ruby/vendor_ruby/sinatra/main.rb:25
> /usr/lib/one/sunstone/sunstone-server.rb:414
>
> Best regards
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
More information about the Users
mailing list