[one-users] Sunstone error
Hector Sanjuan
hsanjuan at opennebula.org
Thu Sep 27 07:29:24 PDT 2012
Hello Prithvi,
The exception trace you are seeing is likely caused by
http://dev.opennebula.org/issues/1354
your sunstone server cannot speak to the marketplace endpoint.
If this is because your sunstone server access to the internet is blocked,
then disable de marketplace plugin in /etc/one/sunstone-plugins.yaml:
- plugins/marketplace-tab.js:
:user:
:group:
:ALL: false <------ SET TO FALSE
Otherwise make sure that the marketplace endpoint in
/etc/one/sunstone-server.conf is set correctly to:
:marketplace_url: https://marketplace.c12g.com/appliance
This issue is however not related to your problems creating hosts? Do you
get an error message for that? Is there a problem on creation itself or
they are they rather in ERROR state? Please full attach sunstone.log and
oned.log as well. Thanks!
--
Hector Sanjuan
OpenNebula Developer
En Thu, 27 Sep 2012 15:09:38 +0200, Prithvi Raj
<prithvisupersonic22 at gmail.com> escribió:
> I am not able to connect to the host. Sunstone GUI shows "It appears
> there
> was a server exception and check the server's log". There are errors
> when i
> create and try to add a host. It is not clear from the opennebula
> guide(pdf) the steps to add a host. Is there a way to find this error and
> correct it?
> The contents of sunstone.error file.
>
> SocketError - getaddrinfo: Name or service not known:
> /usr/lib/ruby/1.8/net/http.
> rb:560:in `initialize'
> /usr/lib/ruby/1.8/net/http.rb:560:in `open'
> /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
> /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
> /usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
> /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
> /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
> /usr/lib/ruby/1.8/net/http.rb:542:in `start'
> /usr/lib/one/ruby/cloud/CloudClient.rb:98:in `http_start'
> /usr/lib/one/ruby/cloud/marketplace/marketplace_client.rb:54:in
> `do_request'
> /usr/lib/one/ruby/cloud/marketplace/marketplace_client.rb:35:in `get'
> /usr/lib/one/ruby/cloud/marketplace/marketplace_client.rb:69:in `list'
> /usr/lib/one/sunstone/models/SunstoneMarketplace.rb:29:in
> `get_appliance_pool'
> /usr/lib/one/sunstone/sunstone-server.rb:312:in `GET /marketplace'
> /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
More information about the Users
mailing list