deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh A (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DTACLOUD-260) Deleting a volume with ec2 driver: Response is not correct
Date Thu, 09 Aug 2012 13:20:19 GMT

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

Ramesh A closed DTACLOUD-260.
-----------------------------


Closing this issue as per the reporters comment.
                
> Deleting a volume with ec2 driver: Response is not correct
> ----------------------------------------------------------
>
>                 Key: DTACLOUD-260
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-260
>             Project: DeltaCloud
>          Issue Type: Improvement
>          Components: Server
>         Environment: ubuntu, deltacloud
>            Reporter: Deepika Agrawal
>            Assignee: Michal Fojtik
>              Labels: deltacloudd, ec2
>         Attachments: Response_delete_volume.png
>
>
> Hi,
> I tried deleting a storage volume with ec2 driver using curl. Although the volume is
deleted (I have checked from AWS console), but I got following response at the server:
> TypeError:can't convert Symbol into Integer
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:566:in
`[]'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:566:in
`storage_volumes'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/base_driver.rb:222:in
`storage_volume'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:591:in
`block in destroy_storage_volume'
> /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:587:in
`destroy_storage_volume'
> /home/deepika/testgit/deltacloud/server/lib/deltacloud/collections/storage_volumes.rb:87:in
`block (3 levels) in <class:StorageVolumes>'
> /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'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `call'
> Deltacloud::ExceptionHandler::ProviderError - can't convert Symbol into Integer:
> 	/home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:566:in
`[]'
> 	/home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:566:in
`storage_volumes'
> 	/home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/base_driver.rb:222:in
`storage_volume'
> 	/home/deepika/testgit/deltacloud/server/lib/deltacloud/drivers/ec2/ec2_driver.rb:591:in
`block in destroy_storage_volume'
> 	/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:587:in
`destroy_storage_volume'
> 	/home/deepika/testgit/deltacloud/server/lib/deltacloud/collections/storage_volumes.rb:87:in
`block (3 levels) in <class:StorageVolumes>'
> 	/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'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `call'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `block in compile!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `[]'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `block (3 levels)
in route!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:801:in `route_eval'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `block (2 levels)
in route!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:822:in `block in process_route'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:820:in `catch'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:820:in `process_route'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:784:in `block in route!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:783:in `each'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:783:in `route!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:766:in `forward'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:835:in `route_missing'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:796:in `route!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:792:in `route!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
> 	/var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
> 	/var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in
`call'
> 	/var/lib/gems/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in
`call'
> .........
> 172.30.54.46 - - [10/Jul/2012 14:54:16] "DELETE /api/storage_volumes/vol-e44e9f85?format=xml
HTTP/1.1" 502 44669 54.4987

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