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] [Closed] (DTACLOUD-261) Unable to describe in detail a storage snapshot with ec2 driver
Date Thu, 12 Jul 2012 10:04:35 GMT

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

Michal Fojtik closed DTACLOUD-261.
----------------------------------

    Resolution: Duplicate
      Assignee: Michal Fojtik

Please see: DTACLOUD-262
                
> Unable to describe in detail a storage snapshot with ec2 driver
> ---------------------------------------------------------------
>
>                 Key: DTACLOUD-261
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-261
>             Project: DeltaCloud
>          Issue Type: Improvement
>          Components: Server
>         Environment: ubuntu, deltacloud
>            Reporter: Deepika Agrawal
>            Assignee: Michal Fojtik
>            Priority: Critical
>              Labels: deltacloudc, ec2
>
> Hi,
> I tried describing a snapshot in detail using curl, got following response:
> <error status='502' url='/api/storage_snapshots/snap-703acf01?format=xml'>
>   <kind>backend_error</kind>
>   <backend driver='ec2' provider='default'>
>     <code>502</code>
>   </backend>
>   <message><![CDATA[undefined method `to_a' for "snap-703acf01":String]]></message>
>   <backtrace><![CDATA[/var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1307:in
`describe_snapshots'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:613:in
`block in storage_snapshots'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in `safely'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:612:in
`storage_snapshots'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/base_driver.rb:226:in
`storage_snapshot'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:74:in
`block in show'
> /usr/lib/ruby/1.9.1/benchmark.rb:295:in `measure'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:73:in
`show'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/rabbit_helper.rb:29:in
`block (2 levels) in standard_show_operation'
> /var/lib/gems/1.9.1/gems/sinatra-rabbit-1.0.6/lib/sinatra/rabbit/base.rb:387:in `instance_eval'
> /var/lib/gems/1.9.1/gems/sinatra-rabbit-1.0.6/lib/sinatra/rabbit/base.rb:387:in `block
in control'
> ........
> At server side, got following error:
> NoMethodError:undefined method `to_a' for "snap-703acf01":String
> /var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1307:in `describe_snapshots'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:613:in
`block in storage_snapshots'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in `safely'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:612:in
`storage_snapshots'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/base_driver.rb:226:in
`storage_snapshot'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:74:in
`block in show'
> /usr/lib/ruby/1.9.1/benchmark.rb:295:in `measure'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:73:in
`show'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/rabbit_helper.rb:29:in
`block (2 levels) in standard_show_operation'
> /var/lib/gems/1.9.1/gems/sinatra-rabbit-1.0.6/lib/sinatra/rabbit/base.rb:387:in `instance_eval'
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "snap-703acf01":String:
> 	/var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1307:in `describe_snapshots'
> 	/home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:613:in
`block in storage_snapshots'
> 	/home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in
`call'
> 	/home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:173:in
`safely'
> 	/home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:612:in
`storage_snapshots'
> 	/home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/base_driver.rb:226:in
`storage_snapshot'
> 	/home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:74:in
`block in show'
> 	/usr/lib/ruby/1.9.1/benchmark.rb:295:in `measure'
> 	/home/deepika/testgit/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:73:in
`show'
> .....
> 	/var/lib/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:1060:in `block in
spawn_threadpool'
> 172.30.54.46 - - [10/Jul/2012 15:32:02] "GET /api/storage_snapshots/snap-703acf01?format=xml
HTTP/1.1" 502 38235 16.9986

--
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