[ 
https://issues.apache.org/jira/browse/DTACLOUD-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068940#comment-13068940
 ] 

Michal Fojtik commented on DTACLOUD-55:
---------------------------------------

Can you access https://vsphere.virt.bos.redhat.com from that machine?

> getting SocketError when using deltacloud webui after logging in.
> -----------------------------------------------------------------
>
>                 Key: DTACLOUD-55
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-55
>             Project: DeltaCloud
>          Issue Type: Bug
>            Reporter: wes hayutin
>            Assignee: David Lutterkort
>
> [root@ibm-x3650-05 bin]# git show
> commit 98a5b175b4c0c582e7da93b7252a8db017662c69
> . ./deltacloudd -i vsphere -r $HOSTNAME -p 3006 -e production -t 500
> [root@ibm-x3650-05 bin]# echo $API_PROVIDER
> vsphere.virt.bos.redhat.com
> [root@ibm-x3650-05 bin]# 
> 11.11.224 - - [11/Jul/2011 15:27:58] "GET /images/topbar-bg.png HTTP/1.1" 200 
> 72084 0.0017
> 10.11.11.224 - - [11/Jul/2011 15:27:58] "GET /images/bread-bg.png HTTP/1.1" 
> 200 257 0.0012
> 10.11.11.224 - - [11/Jul/2011 15:27:58] "GET /favicon.ico HTTP/1.1" 200 473 
> 0.0011
> 10.11.11.224 - - [11/Jul/2011 15:28:01] "GET /api/images HTTP/1.1" 401 15 
> 0.0078
> # UNCAUGHT EXCEPTION  ~> '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:67: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:548:in `start'
> /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/trivial_soap.rb:43:in 
> `restart_http'
> /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/trivial_soap.rb:20:in 
> `initialize'
> /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/connection.rb:22:in 
> `initialize'
> /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/vim.rb:34:in `new'
> /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/vim.rb:34:in `connect'
> ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:287:in `new_client'
> ././lib/deltacloud/base_driver/exceptions.rb:118:in `call'
> ././lib/deltacloud/base_driver/exceptions.rb:118:in `safely'
> ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:286:in `new_client'
> ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:72:in `images'
> ././lib/deltacloud/helpers/application_helper.rb:80:in `send'
> ././lib/deltacloud/helpers/application_helper.rb:80:in `filter_all'
> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
> ././lib/deltacloud/helpers/application_helper.rb:79:in `filter_all'
> ././server.rb:184
> ././lib/sinatra/rabbit.rb:113:in `instance_eval'
> ././lib/sinatra/rabbit.rb:113:in `GET /api/images'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `call'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `route'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:521:in 
> `instance_eval'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:521:in 
> `route_eval'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:500:in `route!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `catch'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `route!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `each'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `route!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:601:in `dispatch!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in 
> `instance_eval'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `catch'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call'
> ././lib/sinatra/rack_accept.rb:149:in `call'
> ././lib/sinatra/rack_driver_select.rb:45:in `call'
> ././lib/sinatra/rack_matrix_params.rb:85:in `call'
> ././lib/sinatra/rack_runtime.rb:36:in `call'
> ././lib/sinatra/rack_etag.rb:41:in `call'
> /usr/lib/ruby/gems/1.8/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in
>  `call'
> /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call'
> /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/commonlogger.rb:18:in `call'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in 
> `synchronize'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:76:in 
> `pre_process'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in `catch'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in 
> `pre_process'
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in 
> `call'
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in 
> `spawn_threadpool'
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in 
> `initialize'
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in 
> `new'
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in 
> `spawn_threadpool'
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1049:in 
> `defer'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:54:in `process'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:42:in 
> `receive_data'
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in 
> `run_machine'
> /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in 
> `run'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/backends/base.rb:57:in `start'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/server.rb:156:in `start'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/controllers/controller.rb:80:in
>  `start'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:177:in `send'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:177:in `run_command'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:143:in `run!'
> ./deltacloudd:159
> ##############
> Deltacloud::ExceptionHandler::BackendError - 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:67: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:548:in `start'
>  /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/trivial_soap.rb:43:in 
> `restart_http'
>  /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/trivial_soap.rb:20:in 
> `initialize'
>  /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/connection.rb:22:in 
> `initialize'
>  /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/vim.rb:34:in `new'
>  /usr/lib/ruby/gems/1.8/gems/rbvmomi-1.2.3/lib/rbvmomi/vim.rb:34:in `connect'
>  ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:287:in `new_client'
>  ././lib/deltacloud/base_driver/exceptions.rb:118:in `call'
>  ././lib/deltacloud/base_driver/exceptions.rb:118:in `safely'
>  ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:286:in `new_client'
>  ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:72:in `images'
>  ././lib/deltacloud/helpers/application_helper.rb:80:in `send'
>  ././lib/deltacloud/helpers/application_helper.rb:80:in `filter_all'
>  /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
>  ././lib/deltacloud/helpers/application_helper.rb:79:in `filter_all'
>  ././server.rb:184
>  ././lib/sinatra/rabbit.rb:113:in `instance_eval'
>  ././lib/sinatra/rabbit.rb:113:in `GET /api/images'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `call'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `route'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:521:in 
> `instance_eval'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:521:in 
> `route_eval'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:500:in `route!'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `catch'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:497:in `route!'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `each'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:476:in `route!'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:601:in 
> `dispatch!'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in 
> `instance_eval'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `catch'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:566:in `invoke'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:411:in `call!'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call'
>  ././lib/sinatra/rack_accept.rb:149:in `call'
>  ././lib/sinatra/rack_driver_select.rb:45:in `call'
>  ././lib/sinatra/rack_matrix_params.rb:85:in `call'
>  ././lib/sinatra/rack_runtime.rb:36:in `call'
>  ././lib/sinatra/rack_etag.rb:41:in `call'
>  
> /usr/lib/ruby/gems/1.8/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in
>  `call'
>  /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in 
> `call'
>  /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/commonlogger.rb:18:in `call'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in 
> `synchronize'
>  /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
>  /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:76:in 
> `pre_process'
>  /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in `catch'
>  /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in 
> `pre_process'
>  /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in 
> `call'
>  /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in 
> `spawn_threadpool'
>  /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in 
> `initialize'
>  /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in 
> `new'
>  /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1057:in 
> `spawn_threadpool'
>  /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1049:in 
> `defer'
>  /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:54:in `process'
>  /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:42:in 
> `receive_data'
>  /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in 
> `run_machine'
>  /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in 
> `run'
>  /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/backends/base.rb:57:in 
> `start'
>  /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/server.rb:156:in `start'
>  
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/controllers/controller.rb:80:in
>  `start'
>  /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:177:in `send'
>  /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:177:in 
> `run_command'
>  /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:143:in `run!'
>  ./deltacloudd:159
> 10.11.11.224 - - [11/Jul/2011 15:28:13] "GET /api/images HTTP/1.1" 500 10727 
> 0.0418
> 10.11.11.224 - - [11/Jul/2011 15:28:13] "GET /images/error.png HTTP/1.1" 200 
> 3080 0.0012

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to