[one-users] Sunstone error

Prithvi Raj prithvisupersonic22 at gmail.com
Thu Sep 27 06:09:38 PDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120927/8234d61a/attachment.htm>


More information about the Users mailing list