<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,<br/></div><div>I stopped sunstone before upgrade and started it afterwards, besides that I started and stopped it several times now. But it still doesn't work.<br/>
<br/></div><div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;">
<b>Gesendet:</b> Montag, 30. Juli 2012 um 11:40 Uhr<br/>
<b>Von:</b> "Daniel Molina" <dmolina@opennebula.org><br/>
<b>An:</b> "Bendix Harries" <br4ve_cs@web.de><br/>
<b>Cc:</b> Opennebula <users@lists.opennebula.org><br/>
<b>Betreff:</b> Re: [one-users] Sunstone Error
<br/></div>
<div name="quoted-content">
Hi,<br/>
<br/>
On 30 July 2012 10:54, Bendix Harries <br4ve_cs@web.de> wrote:<br/>
> Hi guys,<br/>
> I got some issues with my sunstone-server. After updating from opennebula<br/>
> 3.0 to 3.6, I get an error when accessing sunstone through the webinterface,<br/>
> which is "It appears there was an exception, please check the server's<br/>
> log.". For more detailed information I changed line 28 of<br/>
> /usr/lib/one/sunstone/public/js/opennebula.js: from: error.error = {message:<br/>
> "It appears there was a server exception. Please check server's log."}; to:<br/>
> error.error = {message: resp.responseText };<br/>
> But I still can't figure out whats wrong there.<br/>
<br/>
Did you restart the sunstone server after upgrading?<br/>
<br/>
Cheers<br/>
<br/>
> The new Error message is :<br/>
><br/>
> Error<br/>
><br/>
> NameError: uninitialized constant SunstoneServer::DatastorePoolJSON<br/>
> /usr/lib/one/sunstone/models/SunstoneServer.rb:62:in `get_pool'<br/>
> /usr/lib/one/sunstone/sunstone-server.rb:323:in `GET /:pool'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1151:in `call'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1151:in `compile!'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:724:in `instance_eval'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:724:in `route_eval'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:708:in `route!'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:758:in `process_route'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:755:in `catch'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:755:in `process_route'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:707:in `route!'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:706:in `each'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:706:in `route!'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:843:in `dispatch!'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:644:in `call!'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `instance_eval'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `invoke'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `catch'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:808:in `invoke'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:644:in `call!'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:629:in `call'<br/>
> /usr/lib/ruby/vendor_ruby/rack/commonlogger.rb:20:in `call'<br/>
> /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:195:in `context'<br/>
> /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:190:in `call'<br/>
> /usr/lib/ruby/vendor_ruby/rack/head.rb:9:in `call'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/showexceptions.rb:21:in `call'<br/>
> /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:24:in `call'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1272:in `call'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1303:in `synchronize'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1272:in `call'<br/>
> /usr/lib/ruby/vendor_ruby/thin/connection.rb:80:in `pre_process'<br/>
> /usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `catch'<br/>
> /usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `pre_process'<br/>
> /usr/lib/ruby/vendor_ruby/thin/connection.rb:53:in `process'<br/>
> /usr/lib/ruby/vendor_ruby/thin/connection.rb:38:in `receive_data'<br/>
> /usr/lib/ruby/vendor_ruby/eventmachine.rb:257:in `run_machine'<br/>
> /usr/lib/ruby/vendor_ruby/eventmachine.rb:257:in `run'<br/>
> /usr/lib/ruby/vendor_ruby/thin/backends/base.rb:61:in `start'<br/>
> /usr/lib/ruby/vendor_ruby/thin/server.rb:159:in `start'<br/>
> /usr/lib/ruby/vendor_ruby/rack/handler/thin.rb:13:in `run'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1234:in `run!'<br/>
> /usr/lib/ruby/vendor_ruby/sinatra/main.rb:25<br/>
> /usr/lib/one/sunstone/sunstone-server.rb:414<br/>
><br/>
> Best regards<br/>
><br/>
><br/>
> _______________________________________________<br/>
> Users mailing list<br/>
> Users@lists.opennebula.org<br/>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br/>
><br/>
<br/>
<br/>
<br/>
-- <br/>
Daniel Molina<br/>
Project Engineer<br/>
OpenNebula - The Open Source Solution for Data Center Virtualization<br/>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | dmolina@opennebula.org | @OpenNebula<br/>
</div>
</div><div><br/><br/></div></div></body></html>