deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronelle Landy (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (DTACLOUD-157) Creating an image from a Vsphere instance with user data (in a stopped state) results in 'undefined method' error
Date Wed, 07 Mar 2012 20:26:59 GMT

     [ https://issues.apache.org/jira/browse/DTACLOUD-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ronelle Landy reassigned DTACLOUD-157:
--------------------------------------

    Assignee: Michal Fojtik  (was: David Lutterkort)

Assigning to Michal Fojtik.
Unclear if creating an image from a stopped vsphere instance is/should be supported.

                
> Creating an image from a Vsphere instance with user data (in a  stopped state) results
in 'undefined method' error
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-157
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-157
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: deltacloud-core-0.5.0
> vsphere 4.x
>            Reporter: Ronelle Landy
>            Assignee: Michal Fojtik
>
> [rlandy@localhost /]$ curl -X POST -F "name=rlandyImage" -F "instance_id=rlandyUDgui"
--user 'uname:password' "http://ibm-x3200m3-01.rhts.eng.bos.redhat.com:3007/api/images?format=xml"
> <error status='500' url='/api/images?format=xml'>
>   <kind>backend_error</kind>
>   <backend driver='vsphere' provider='10.16.120.136'>
>     <code>500</code>
>   </backend>
>   <message><![CDATA[undefined method `attributes' for #<Array:0x7fccf32d2d60>]]></message>
>   <backtrace>
>     <![CDATA[/usr/share/deltacloud-core/views/images/show.xml.haml:4:in `evaluate_source'
>     /usr/lib/ruby/gems/1.8/gems/tilt-1.3.2/lib/tilt/template.rb:144:in `cached_evaluate'
>     /usr/lib/ruby/gems/1.8/gems/tilt-1.3.2/lib/tilt/template.rb:127:in `evaluate'
>     /usr/lib/ruby/gems/1.8/gems/tilt-1.3.2/lib/tilt/haml.rb:24:in `evaluate'
>     /usr/lib/ruby/gems/1.8/gems/tilt-1.3.2/lib/tilt/template.rb:76:in `render'
>     /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:563:in `render_without_format'
>     /usr/share/deltacloud-core/lib/sinatra/rack_accept.rb:36:in `render'
>     /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:463:in `haml'
>     /usr/share/deltacloud-core/lib/deltacloud/server.rb:263
>     /usr/share/deltacloud-core/lib/sinatra/rack_accept.rb:86:in `call'
>     /usr/share/deltacloud-core/lib/sinatra/rack_accept.rb:86:in `respond_to'
>     /usr/share/deltacloud-core/lib/deltacloud/server.rb:262
>     /usr/share/deltacloud-core/lib/sinatra/rabbit.rb:125:in `instance_eval'
>     /usr/share/deltacloud-core/lib/sinatra/rabbit.rb:125:in `POST /api/images'
>     /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'
>     /usr/share/deltacloud-core/lib/sinatra/rack_date.rb:31:in `call'
>     /usr/share/deltacloud-core/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'
>     /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/showexceptions.rb:21:in `call'
>     /usr/share/deltacloud-core/lib/sinatra/rack_driver_select.rb:45:in `call'
>     /usr/share/deltacloud-core/lib/sinatra/rack_matrix_params.rb:106:in `call'
>     /usr/share/deltacloud-core/lib/sinatra/rack_runtime.rb:36:in `call'
>     /usr/share/deltacloud-core/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/commonlogger.rb:18: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!'
>     /usr/share/deltacloud-core/bin/deltacloudd:235
>     /usr/bin/deltacloudd:5:in `load'
>     /usr/bin/deltacloudd:5]]>
>   </backtrace>
>   <request>
>     <param name='instance_id'>rlandyUDgui</param>
>     <param name='format'>xml</param>
>     <param name='name'>rlandyImage</param>
>   </request>
> </error>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message