incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Fojtik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DTACLOUD-80) Unable to start vsphere deployment in conductor,/vsphere_driver.rb:207:in `create_instance' undefined method `parent' for nil:NilClass
Date Tue, 13 Sep 2011 17:27:09 GMT

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

Michal Fojtik commented on DTACLOUD-80:
---------------------------------------

A patch with proper exception was pushed in.

> Unable to start vsphere deployment in conductor,/vsphere_driver.rb:207:in `create_instance'
 undefined method `parent' for nil:NilClass
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-80
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-80
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: [root@intel-d3c4702-01 ~]# rpm -qa | grep aeolus
> rubygem-aeolus-image-0.1.0-3.20110824113236git15b6922.fc15.noarch
> aeolus-configure-2.0.2-2.20110830113535git906f985.fc15.noarch
> aeolus-conductor-0.4.0-0.20110906160322gitef6e25d.fc15.noarch
> aeolus-conductor-daemons-0.4.0-0.20110906160322gitef6e25d.fc15.noarch
> aeolus-conductor-doc-0.4.0-0.20110906160322gitef6e25d.fc15.noarch
> aeolus-all-0.4.0-0.20110906160322gitef6e25d.fc15.noarch
> [root@intel-d3c4702-01 ~]# rpm -qa | grep deltacloud
> condor-deltacloud-gahp-7.7.0-0.7.fc15.x86_64
> deltacloud-core-0.3.0-4.fc15.noarch
> rubygem-deltacloud-client-0.4.0-1.1315840501git.noarch
> libdeltacloud-0.9-1.fc15.x86_64
>            Reporter: wes hayutin
>            Assignee: Michal Fojtik
>
> Recreate:
> 1. setup aeolus
> 2. build/push a vsphere template
> 3. create a deployable
> 4. start the deployable
> ./deltacloudd[20204]: 
> Processing /api (for 127.0.0.1 at Tue Sep 13 10:02:25 -0400 2011) [GET] [VSphere]
> ./deltacloudd[20204]: Parameters: {}
> ./deltacloudd[20204]: Provider: 10.16.120.136
> ./deltacloudd[20204]: Authentication: Basic
> ./deltacloudd[20204]: Server: thin 1.2.11 codename Bat-Shit Crazy
> ./deltacloudd[20204]: Accept: application/xml
> ./deltacloudd[20204]: 
> Completed in 0.000000 | 0.000000 | 200 | application/xml | http://127.0.0.1:3006/api
> ./deltacloudd[20204]: 
> Processing /api/instances (for 127.0.0.1 at Tue Sep 13 10:02:25 -0400 2011) [POST] [VSphere]
> ./deltacloudd[20204]: Parameters: {"image_id"=>"factory-image-736fc313-4445-4a94-93d8-7cabb1f5db91",
"hwp_memory"=>"256", "realm_id"=>"datastore1", "name"=>"Condor_localhost_intel-d3c4702-01.rhts.eng.bos.redhat.com#12.0#1315921634",
"keyname"=>"", "hwp_id"=>"default", "hwp_cpu"=>"", "hwp_storage"=>""}
> ./deltacloudd[20204]: Provider: 10.16.120.136
> ./deltacloudd[20204]: Authentication: Basic
> ./deltacloudd[20204]: Server: thin 1.2.11 codename Bat-Shit Crazy
> ./deltacloudd[20204]: Accept: application/xml
> ./deltacloudd[20204]: [NO HANDLED] NoMethodError: undefined method `parent' for nil:NilClass
> ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:281:in `create_instance'
> ././lib/deltacloud/base_driver/exceptions.rb:151:in `call'
> ././lib/deltacloud/base_driver/exceptions.rb:151:in `safely'
> ././lib/deltacloud/drivers/vsphere/vsphere_driver.rb:207:in `create_instance'
> ././server.rb:443
> ././lib/sinatra/rabbit.rb:124:in `instance_eval'
> ././lib/sinatra/rabbit.rb:124:in `POST /api/instances'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1151:in `call'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1151:in `compile!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `instance_eval'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `route_eval'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:708:in `route!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:758:in `process_route'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `catch'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `process_route'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:707:in `route!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `each'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `route!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:843:in `dispatch!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `call!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `instance_eval'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `invoke'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `catch'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `invoke'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `call!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:629:in `call'
> ././lib/sinatra/rack_syslog.rb:48:in `call'
> ././lib/sinatra/rack_date.rb:31:in `call'
> ././lib/sinatra/rack_accept.rb:149:in `call'
> /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/head.rb:9:in `call'
> ././lib/sinatra/rack_driver_select.rb:45:in `call'
> ././lib/sinatra/rack_matrix_params.rb:102: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.3.0/lib/rack/head.rb:9:in `call'
> /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/methodoverride.rb:24:in `call'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in `call'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1303:in `synchronize'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in `call'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/connection.rb:84:in `pre_process'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/connection.rb:82:in `catch'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/connection.rb:82: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.11/lib/thin/connection.rb:54:in `process'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/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.11/lib/thin/backends/base.rb:61:in `start'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/server.rb:159:in `start'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/controllers/controller.rb:86:in `start'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/runner.rb:185:in `send'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/runner.rb:185:in `run_command'
> /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/runner.rb:151:in `run!'
> ./deltacloudd:227
> ./deltacloudd[20204]: 
> Completed in 0.000000 | 0.000000 | 500 | application/xml | http://localhost:3006/api/instances
> ./deltacloudd[20204]: 127.0.0.1 - - [13/Sep/2011 10:02:26] "POST /api/instances HTTP/1.1"
500 256 1.1707

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

        

Mime
View raw message