[one-users] PARTIALLY SOLVED Re: Problem to start Sunstone Server on ONE 4.0.1

Benadik, Jan jan.benadik at atos.net
Tue May 28 07:56:37 PDT 2013


The Sunstone issue:

change in the file /var/lib/one/ruby/oneapps/stage/onechef.rb
<-- require 'OpenNebula'
--> require 'opennebula'

<-- require 'OpenNebula/DocumentJSON'
--> require 'opennebula/document_json'
<-- require 'OpenNebula/DocumentPoolJSON'
--> require 'opennebula/document_pool_json'

Sunstone started now, but OCCI is still unaccessible ...

Jan


Dňa 28.05.2013 15:28, Benadik, Jan wrote / napísal(a):
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:

oneadmin at fsc:~$ sunstone-server start
VNC proxy started
Error executing sunstone-server.
Check /var/log/one/sunstone.error and /var/log/one/sunstone.log for more information

In the /var/log/one/sunstone.error there is:

Requiring "OpenNebula" is deprecated. Use "opennebula".
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- OpenNebula/DocumentJSON (LoadError)
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /usr/lib/one/ruby/oneapps/stage/onechef.rb:22
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /usr/share/opennebula/sunstone/routes/appstage.rb:19
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /usr/share/opennebula/sunstone/sunstone-server.rb:241
        from /usr/share/opennebula/sunstone/sunstone-server.rb:240:in `each'
        from /usr/share/opennebula/sunstone/sunstone-server.rb:240


In the /var/log/one/sunstone.log there is:

--------------------------------------
         Server configuration
--------------------------------------
{:lang=>"en_US",
 :auth=>"sunstone",
 :memcache_host=>"localhost",
 :marketplace_url=>"https://marketplace.c12g.com/appliance"<https://marketplace.c12g.com/appliance>,
 :vnc_proxy_key=>nil,
 :core_auth=>"cipher",
 :memcache_port=>11211,
 :routes=>["appstage", "appflow", "appmarket"],
 :vnc_proxy_port=>29876,
 :vnc_proxy_support_wss=>false,
 :host=>"0.0.0.0",
 :debug_level=>3,
 :port=>9869,
 :one_xmlrpc=>"http://localhost:2633/RPC2"<http://localhost:2633/RPC2>,
 :tmpdir=>"/var/tmp",
 :vnc_proxy_cert=>nil,
 :memcache_namespace=>"opennebula.sunstone",
 :sessions=>"memory"}
--------------------------------------

When I try to start OCCI Server  (everything seems to be OK) and connect to port, the fpollowing error appears:
XML Parsing Error: no element found
Location: http://10.0.5.210:4567/ui
Line Number 1, Column 1:

It seems to problem start after oneapps installation (Sunstone started before).

What's wrong? What I have to do?

Jan

--
[cid:part4.05020309.07090305 at atos.net]
JĂĄn BeĹˆadik
Managed Services - Solution Design Architect
mobile: +421 903 691 634
fax: +421 2 6852 8380
jan.benadik at atos.net<mailto://jan.benadik@atos.net>
Vinohradnicka 6, 971 01 Prievidza
www.sk.atos.net<http://www.sk.atos.net>
__________________________________

[cid:part7.01080608.06040103 at atos.net]



_______________________________________________
Users mailing list
Users at lists.opennebula.org<mailto:Users at lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


--
[cid:part8.05010006.08040807 at atos.net]
Ján Beňadik
Managed Services - Solution Design Architect
mobile: +421 903 691 634
fax: +421 2 6852 8380
jan.benadik at atos.net<mailto://jan.benadik@atos.net>
Vinohradnicka 6, 971 01 Prievidza
www.sk.atos.net<http://www.sk.atos.net>
__________________________________

[cid:part11.08030802.01010106 at atos.net]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130528/04f99483/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT00001.gif
Type: image/gif
Size: 281 bytes
Desc: ATT00001.gif
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130528/04f99483/attachment-0008.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT00002.gif
Type: image/gif
Size: 1723 bytes
Desc: ATT00002.gif
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130528/04f99483/attachment-0009.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ciara.gif
Type: image/gif
Size: 281 bytes
Desc: ciara.gif
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130528/04f99483/attachment-0010.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atos.gif
Type: image/gif
Size: 1723 bytes
Desc: atos.gif
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130528/04f99483/attachment-0011.gif>


More information about the Users mailing list