<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
The Sunstone issue:<br>
<br>
change in the file /var/lib/one/ruby/oneapps/stage/onechef.rb<br>
<-- require 'OpenNebula'<br>
--> require 'opennebula'<br>
<br>
<-- require 'OpenNebula/DocumentJSON'<br>
--> require 'opennebula/document_json'<br>
<-- require 'OpenNebula/DocumentPoolJSON'<br>
--> require 'opennebula/document_pool_json'<br>
<br>
Sunstone started now, but OCCI is still unaccessible ...<br>
<br>
Jan<br>
<br>
<br>
<div class="moz-cite-prefix">Dňa 28.05.2013 15:28, Benadik, Jan wrote / napísal(a):<br>
</div>
<blockquote cite="mid:51A4B0D9.7090403@atos.net" type="cite">I've installed ONE 4.0.1 and Oneapps 3.8.3 on Ubuntu 12.04 Server (from tarball for Ubuntu 12.10). When I try to start Sunstone, the following message appears:<br>
<small><br>
oneadmin@fsc:~$ sunstone-server start<br>
VNC proxy started<br>
Error executing sunstone-server.<br>
Check /var/log/one/sunstone.error and /var/log/one/sunstone.log for more information<br>
</small><br>
In the <b>/var/log/one/sunstone.error</b> there is:<br>
<br>
<small>Requiring "OpenNebula" is deprecated. Use "opennebula".<br>
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- OpenNebula/DocumentJSON (LoadError)<br>
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'<br>
        from /usr/lib/one/ruby/oneapps/stage/onechef.rb:22<br>
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'<br>
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'<br>
        from /usr/share/opennebula/sunstone/routes/appstage.rb:19<br>
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'<br>
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'<br>
        from /usr/share/opennebula/sunstone/sunstone-server.rb:241<br>
        from /usr/share/opennebula/sunstone/sunstone-server.rb:240:in `each'<br>
        from /usr/share/opennebula/sunstone/sunstone-server.rb:240<br>
                                                                  </small><br>
<br>
In the <b>/var/log/one/sunstone.log</b> there is:<br>
<small><br>
--------------------------------------<br>
         Server configuration<br>
--------------------------------------<br>
{:lang=>"en_US",<br>
 :auth=>"sunstone",<br>
 :memcache_host=>"localhost",<br>
 :marketplace_url=><a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="https://marketplace.c12g.com/appliance">"https://marketplace.c12g.com/appliance"</a>,<br>
 :vnc_proxy_key=>nil,<br>
 :core_auth=>"cipher",<br>
 :memcache_port=>11211,<br>
 :routes=>["appstage", "appflow", "appmarket"],<br>
 :vnc_proxy_port=>29876,<br>
 :vnc_proxy_support_wss=>false,<br>
 :host=>"0.0.0.0",<br>
 :debug_level=>3,<br>
 :port=>9869,<br>
 :one_xmlrpc=><a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://localhost:2633/RPC2">"http://localhost:2633/RPC2"</a>,<br>
 :tmpdir=>"/var/tmp",<br>
 :vnc_proxy_cert=>nil,<br>
 :memcache_namespace=>"opennebula.sunstone",<br>
 :sessions=>"memory"}<br>
--------------------------------------<br>
</small><br>
When I try to start OCCI Server  (everything seems to be OK) and connect to port, the fpollowing error appears:<br>
<small>XML Parsing Error: no element found<br>
Location: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://10.0.5.210:4567/ui">
http://10.0.5.210:4567/ui</a><br>
Line Number 1, Column 1:</small><br>
<br>
It seems to problem start after oneapps installation (Sunstone started before).<br>
<br>
<b>What's wrong?</b><b> What I have to do?</b><br>
<br>
Jan<br>
<br>
<div class="moz-signature">-- <br>
<title></title>
<font size="3" face="Helvetica"><img alt="" src="cid:part4.05020309.07090305@atos.net" height="15" width="252"><br>
<b>JĂĄn BeĹˆadik</b><br>
<font size="2" face="Helvetica">Managed Services - Solution Design Architect<br>
mobile: +421 903 691 634<br>
fax: +421 2 6852 8380<br>
<a moz-do-not-send="true" href="mailto://jan.benadik@atos.net">jan.benadik@atos.net</a><br>
Vinohradnicka 6, 971 01 Prievidza<br>
<a moz-do-not-send="true" href="http://www.sk.atos.net">www.sk.atos.net</a><br>
__________________________________<br>
<br>
<img alt="" src="cid:part7.01080608.06040103@atos.net" height="58" width="261"><br>
</font></font></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
<br>
<div class="moz-signature">-- <br>
<title></title>
<font size="3" face="Helvetica"><img alt="" src="cid:part8.05010006.08040807@atos.net" height="15" width="252"><br>
<b>Ján Beňadik</b><br>
<font size="2" face="Helvetica">Managed Services - Solution Design Architect<br>
mobile: +421 903 691 634<br>
fax: +421 2 6852 8380<br>
<a href="mailto://jan.benadik@atos.net">jan.benadik@atos.net</a><br>
Vinohradnicka 6, 971 01 Prievidza<br>
<a href="http://www.sk.atos.net">www.sk.atos.net</a><br>
__________________________________<br>
<br>
<img alt="" src="cid:part11.08030802.01010106@atos.net" height="58" width="261"><br>
</font></font></div>
</blockquote>
</body>
</html>