incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wes hayutin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DTACLOUD-59) Launching image from an imported template throws error :# No such file or directory - /var/tmp/deltacloud-vsphere-root/task-706
Date Thu, 14 Jul 2011 17:41:00 GMT

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

wes hayutin commented on DTACLOUD-59:
-------------------------------------

This is working for me.. 

0.16.64.78 - - [14/Jul/2011 13:33:06] "GET /api HTTP/1.1" 200 910 0.0332
10.16.64.78 - - [14/Jul/2011 13:33:07] "GET /api/instances HTTP/1.1" 200 14909 3.6808
10.16.64.78 - - [14/Jul/2011 13:33:07] "GET /api HTTP/1.1" 200 910 0.0112
Cloning template lutter-template to 33f49bbf-a0d9-4f54-ba70-0c538d6d1028...
10.16.64.78 - - [14/Jul/2011 13:33:37] "GET /api HTTP/1.1" 200 910 0.0096
10.16.64.78 - - [14/Jul/2011 13:33:39] "GET /api/instances HTTP/1.1" 200 14909 2.3350
10.11.10.4 - - [14/Jul/2011 13:33:55] "GET /api HTTP/1.1" 200 3593 0.0195
10.11.10.4 - - [14/Jul/2011 13:34:04] "GET /api/instances HTTP/1.1" 200 19557 2.4422
10.11.10.4 - - [14/Jul/2011 13:34:04] "GET /images/running.png HTTP/1.1" 200 740 0.0010
10.11.10.4 - - [14/Jul/2011 13:34:04] "GET /images/stopped.png HTTP/1.1" 200 779 0.0008
10.16.64.78 - - [14/Jul/2011 13:34:09] "GET /api HTTP/1.1" 200 910 0.0096
10.11.10.4 - - [14/Jul/2011 13:34:10] "GET /api HTTP/1.1" 200 3593 0.0076
10.16.64.78 - - [14/Jul/2011 13:34:12] "GET /api/instances HTTP/1.1" 200 14909 2.6023
10.11.10.4 - - [14/Jul/2011 13:34:13] "GET /api/images HTTP/1.1" 200 3213 0.9133
10.11.10.4 - - [14/Jul/2011 13:34:15] "GET /api/images/lutter-template HTTP/1.1" 200 2668
0.4017
10.11.10.4 - - [14/Jul/2011 13:34:25] "GET /api/instances/new?image_id=lutter-template HTTP/1.1"
200 5826 0.8621
10.16.64.78 - - [14/Jul/2011 13:34:42] "GET /api HTTP/1.1" 200 910 0.0108
10.16.64.78 - - [14/Jul/2011 13:34:44] "GET /api/instances HTTP/1.1" 200 14909 2.4030
Cloning template lutter-template to launchFromDCWES01...
10.16.64.78 - - [14/Jul/2011 13:35:14] "GET /api HTTP/1.1" 200 910 0.0100
10.16.64.78 - - [14/Jul/2011 13:35:17] "GET /api/instances HTTP/1.1" 200 14909 3.3032
10.16.64.78 - - [14/Jul/2011 13:35:47] "GET /api HTTP/1.1" 200 910 0.0093
10.16.64.78 - - [14/Jul/2011 13:35:50] "GET /api/instances HTTP/1.1" 200 14909 2.4489
10.16.64.78 - - [14/Jul/2011 13:36:20] "GET /api HTTP/1.1" 200 910 0.0096
10.16.64.78 - - [14/Jul/2011 13:36:22] "GET /api/instances HTTP/1.1" 200 14909 2.6074
10.16.64.78 - - [14/Jul/2011 13:36:52] "GET /api HTTP/1.1" 200 910 0.0110
10.16.64.78 - - [14/Jul/2011 13:36:55] "GET /api/instances HTTP/1.1" 200 14909 2.5162
10.16.64.78 - - [14/Jul/2011 13:37:25] "GET /api HTTP/1.1" 200 910 0.0114
10.16.64.78 - - [14/Jul/2011 13:37:28] "GET /api/instances HTTP/1.1" 200 14909 2.6111
10.16.64.78 - - [14/Jul/2011 13:37:58] "GET /api HTTP/1.1" 200 910 0.0110
10.16.64.78 - - [14/Jul/2011 13:38:00] "GET /api/instances HTTP/1.1" 200 14909 2.4183


[root@hp-z200-06 ~]# rpm -qa | grep delta
libdeltacloud-0.9-1.el6.x86_64
rubygem-deltacloud-client-0.3.1-1.el6.noarch
condor-deltacloud-gahp-7.6.0-5dcloud.el6.x86_64
deltacloud-core-0.3.9999-1308927004.el6.noarch

 API_PROVIDER=vsp<snip>om deltacloudd -i vsphere -r $HOSTNAME -p 3006 -e production
-t 500



> Launching  image from an imported template throws error :# No such file or directory
- /var/tmp/deltacloud-vsphere-root/task-706
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-59
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-59
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Client (Ruby)
>         Environment: http://snowstorm.lab.eng.pnq.redhat.com:3005/api/
>            Reporter: Shveta Sachdeva
>            Assignee: David Lutterkort
>              Labels: vmware
>         Attachments: Screenshot-16.png
>
>
> Two recreates :
> 1) import a template from aeolus-image and lanch the deployable , the error can be observed
in deltacloud log
> 2) From Deltacloud API UI , Images , launch template , error can be seen in the UI.
> ========================deltacloud error=========================
> 10.65.201.233 - - [14/Jul/2011 22:12:07] "GET /api/instances HTTP/1.1" 200 14378 40.6811
> 10.65.201.233 - - [14/Jul/2011 22:12:07] "GET /api/ HTTP/1.1" 200 948 0.0065
> 10.65.201.233 - - [14/Jul/2011 22:12:07] "GET /api/ HTTP/1.1" 200 948 0.0198
> # UNCAUGHT EXCEPTION  ~> 'Errno::ENOENT' - 
> # No such file or directory - /var/tmp/deltacloud-vsphere-root/task-706
> # ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:300:in `initialize'
> ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:300:in `open'
> ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:300:in `map_task_to_instance'
> ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:238:in `create_instance'
> ././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:201:in `create_instance'
> ././server.rb:397
> ././lib/sinatra/rabbit.rb:113:in `instance_eval'
> ././lib/sinatra/rabbit.rb:113:in `POST /api/instances'
> /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'
> /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/showexceptions.rb:24: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!'
> ./bin/deltacloudd:159
> ##############
> Deltacloud::ExceptionHandler::BackendError - No such file or directory - /var/tmp/deltacloud-vsphere-root/task-706:
>  ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:300:in `initialize'
>  ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:300:in `open'
>  ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:300:in `map_task_to_instance'
>  ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:238:in `create_instance'
>  ././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:201:in `create_instance'
>  ././server.rb:397
>  ././lib/sinatra/rabbit.rb:113:in `instance_eval'
>  ././lib/sinatra/rabbit.rb:113:in `POST /api/instances'
>  /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'
>  /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/showexceptions.rb:24: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!'
>  ./bin/deltacloudd:159

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

        

Mime
View raw message