<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>You seem to be right the whole sunstone folder doesn't exist in /var/lib/one. But how am I supposed to see the new webinterface then? Is there a way to fix this? <br/></div><div>Thanks for your help <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 16:11 Uhr<br/>
<b>Von:</b> "Daniel Molina" <dmolina@opennebula.org><br/>
<b>An:</b> "Bendix Harries" <br4ve_cs@web.de><br/>
<b>Cc:</b> users@lists.opennebula.org<br/>
<b>Betreff:</b> Re: Re: [one-users] Sunstone Error
<br/></div>
<div name="quoted-content">
It looks like the code you're running is not updated. Could you please<br/>
check the content of the<br/>
/var/lib/one/sunstone/model/OpenNebulaJSON/PoolJSON.rb file?<br/>
<br/>
It should look like this:<br/>
<br/>
---------8<------<br/>
...<br/>
require 'OpenNebulaJSON/JSONUtils'<br/>
<br/>
module OpenNebulaJSON<br/>
class HostPoolJSON < OpenNebula::HostPool; include JSONUtils; end<br/>
class VirtualMachinePoolJSON < OpenNebula::VirtualMachinePool;<br/>
include JSONUtils; end<br/>
class VirtualNetworkPoolJSON < OpenNebula::VirtualNetworkPool;<br/>
include JSONUtils; end<br/>
class ImagePoolJSON < OpenNebula::ImagePool; include JSONUtils; end<br/>
class TemplatePoolJSON < OpenNebula::TemplatePool; include JSONUtils; end<br/>
class GroupPoolJSON < OpenNebula::GroupPool; include JSONUtils; end<br/>
class UserPoolJSON < OpenNebula::UserPool; include JSONUtils; end<br/>
class AclPoolJSON < OpenNebula::AclPool; include JSONUtils; end<br/>
class ClusterPoolJSON < OpenNebula::ClusterPool; include JSONUtils; end<br/>
class DatastorePoolJSON < OpenNebula::DatastorePool; include JSONUtils; end<br/>
end<br/>
------>8--------<br/>
<br/>
Cheers<br/>
<br/>
On 30 July 2012 15:11, Bendix Harries <br4ve_cs@web.de> wrote:<br/>
> Hi,<br/>
> I stopped sunstone before upgrade and started it afterwards, besides that I<br/>
> started and stopped it several times now. But it still doesn't work.<br/>
><br/>
> Gesendet: Montag, 30. Juli 2012 um 11:40 Uhr<br/>
> Von: "Daniel Molina" <dmolina@opennebula.org><br/>
> An: "Bendix Harries" <br4ve_cs@web.de><br/>
> Cc: Opennebula <users@lists.opennebula.org><br/>
> Betreff: Re: [one-users] Sunstone Error<br/>
> 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<br/>
>> 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 =<br/>
>> {message:<br/>
>> "It appears there was a server exception. Please check server's log."};<br/>
>> 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/>
><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>