You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Deepika Agrawal (JIRA)" <ji...@apache.org> on 2012/07/04 09:26:36 UTC
[jira] [Created] (DTACLOUD-249) unable to describe in detail a
storage volume with ec2 driver
Deepika Agrawal created DTACLOUD-249:
----------------------------------------
Summary: unable to describe in detail a storage volume with ec2 driver
Key: DTACLOUD-249
URL: https://issues.apache.org/jira/browse/DTACLOUD-249
Project: DeltaCloud
Issue Type: Bug
Components: Server, Website
Environment: Ubuntu 11.10 , deltacloud1.0.0
Reporter: Deepika Agrawal
Priority: Critical
While clicking on any storage volume through web-ui, getting the below response:
502 - Backend Server Error
undefined method `to_a' for "vol-e63acc87":String
Server message
Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String
Original request URI
/api/storage_volumes/vol-e63acc87
At server side, following error has occurred;
NoMethodError:undefined method `to_a' for "vol-e63acc87":String
/var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1190:in `describe_volumes'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/ec2/ec2_driver.rb:568:in `block in storage_volumes'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/exceptions.rb:173:in `call'
.....
Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String:
--
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
[jira] [Updated] (DTACLOUD-249) unable to describe in detail a
storage volume with ec2 driver
Posted by "Deepika Agrawal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepika Agrawal updated DTACLOUD-249:
-------------------------------------
Description:
While clicking on any storage volume through web-ui, getting the below response: (screenshot attached)
502 - Backend Server Error
undefined method `to_a' for "vol-e63acc87":String
Server message
Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String
Original request URI
/api/storage_volumes/vol-e63acc87
At server side, following error has occurred;
NoMethodError:undefined method `to_a' for "vol-e63acc87":String
/var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1190:in `describe_volumes'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/ec2/ec2_driver.rb:568:in `block in storage_volumes'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/exceptions.rb:173:in `call'
.....
Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String:
.....
172.30.54.46 - - [04/Jul/2012 12:48:05] "GET /api/storage_volumes/vol-e63acc87 HTTP/1.1" 502 207496 16.4262
was:
While clicking on any storage volume through web-ui, getting the below response:
502 - Backend Server Error
undefined method `to_a' for "vol-e63acc87":String
Server message
Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String
Original request URI
/api/storage_volumes/vol-e63acc87
At server side, following error has occurred;
NoMethodError:undefined method `to_a' for "vol-e63acc87":String
/var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1190:in `describe_volumes'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/ec2/ec2_driver.rb:568:in `block in storage_volumes'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/exceptions.rb:173:in `call'
.....
Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String:
> unable to describe in detail a storage volume with ec2 driver
> -------------------------------------------------------------
>
> Key: DTACLOUD-249
> URL: https://issues.apache.org/jira/browse/DTACLOUD-249
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server, Website
> Environment: Ubuntu 11.10 , deltacloud1.0.0
> Reporter: Deepika Agrawal
> Priority: Critical
> Labels: deltacloudd, ec2
> Attachments: Storage_volume_response.png
>
>
> While clicking on any storage volume through web-ui, getting the below response: (screenshot attached)
> 502 - Backend Server Error
> undefined method `to_a' for "vol-e63acc87":String
> Server message
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String
> Original request URI
> /api/storage_volumes/vol-e63acc87
> At server side, following error has occurred;
> NoMethodError:undefined method `to_a' for "vol-e63acc87":String
> /var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1190:in `describe_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/ec2/ec2_driver.rb:568:in `block in storage_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> .....
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String:
> .....
> 172.30.54.46 - - [04/Jul/2012 12:48:05] "GET /api/storage_volumes/vol-e63acc87 HTTP/1.1" 502 207496 16.4262
--
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
[jira] [Commented] (DTACLOUD-249) unable to describe in detail a
storage volume with ec2 driver
Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406448#comment-13406448 ]
Marios Andreou commented on DTACLOUD-249:
-----------------------------------------
Hi Deepika - seems like you hit a ruby 1.8 vs 1.9 compatibility issue (I see from your trace you're on ruby 1.9.1 - had some issues installing that but was able to reproduce the problem with ruby 1.9.2):
[marios@name deltacloud]$ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [i386-linux]
[marios@name deltacloud]$ irb
irb(main):001:0> "String".to_a
=> ["String"]
irb(main):002:0> exit
[marios@name server]$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
[marios@name server]$ irb
1.9.2-p290 :001 > "String".to_a
NoMethodError: undefined method `to_a' for "String":String
from (irb):1
from /home/marios/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `<main>'
1.9.2-p290 :002 > exit
You can see from the first line of your trace that this problem is hit on the aws gem side of things:
/var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1190:in `describe_volumes'
I just pushed a fix on our (deltacloud) side that will guard against this. If you are able to get the latest code (e.g. git clone git://git.apache.org/deltacloud.git - see http://deltacloud.apache.org/getting-sources.html ) you'll see the fix (i.e. the problem should disappear) - otherwise, a new gem should be out soon with this fix
thanks for reporting the issue,
marios
> unable to describe in detail a storage volume with ec2 driver
> -------------------------------------------------------------
>
> Key: DTACLOUD-249
> URL: https://issues.apache.org/jira/browse/DTACLOUD-249
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server, Website
> Environment: Ubuntu 11.10 , deltacloud1.0.0
> Reporter: Deepika Agrawal
> Assignee: Marios Andreou
> Priority: Critical
> Labels: deltacloudd, ec2
> Attachments: Storage_volume_response.png
>
>
> While clicking on any storage volume through web-ui, getting the below response: (screenshot attached)
> 502 - Backend Server Error
> undefined method `to_a' for "vol-e63acc87":String
> Server message
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String
> Original request URI
> /api/storage_volumes/vol-e63acc87
> At server side, following error has occurred;
> NoMethodError:undefined method `to_a' for "vol-e63acc87":String
> /var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1190:in `describe_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/ec2/ec2_driver.rb:568:in `block in storage_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> .....
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String:
> .....
> 172.30.54.46 - - [04/Jul/2012 12:48:05] "GET /api/storage_volumes/vol-e63acc87 HTTP/1.1" 502 207496 16.4262
--
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
[jira] [Resolved] (DTACLOUD-249) unable to describe in detail a
storage volume with ec2 driver
Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marios Andreou resolved DTACLOUD-249.
-------------------------------------
Resolution: Fixed
resolved by commit cc070f155f8ce74d35dd45fd55d15f41fd675860
> unable to describe in detail a storage volume with ec2 driver
> -------------------------------------------------------------
>
> Key: DTACLOUD-249
> URL: https://issues.apache.org/jira/browse/DTACLOUD-249
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server, Website
> Environment: Ubuntu 11.10 , deltacloud1.0.0
> Reporter: Deepika Agrawal
> Assignee: Marios Andreou
> Priority: Critical
> Labels: deltacloudd, ec2
> Attachments: Storage_volume_response.png
>
>
> While clicking on any storage volume through web-ui, getting the below response: (screenshot attached)
> 502 - Backend Server Error
> undefined method `to_a' for "vol-e63acc87":String
> Server message
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String
> Original request URI
> /api/storage_volumes/vol-e63acc87
> At server side, following error has occurred;
> NoMethodError:undefined method `to_a' for "vol-e63acc87":String
> /var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1190:in `describe_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/ec2/ec2_driver.rb:568:in `block in storage_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> .....
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String:
> .....
> 172.30.54.46 - - [04/Jul/2012 12:48:05] "GET /api/storage_volumes/vol-e63acc87 HTTP/1.1" 502 207496 16.4262
--
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
[jira] [Updated] (DTACLOUD-249) unable to describe in detail a
storage volume with ec2 driver
Posted by "Deepika Agrawal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepika Agrawal updated DTACLOUD-249:
-------------------------------------
Attachment: Storage_volume_response.png
> unable to describe in detail a storage volume with ec2 driver
> -------------------------------------------------------------
>
> Key: DTACLOUD-249
> URL: https://issues.apache.org/jira/browse/DTACLOUD-249
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server, Website
> Environment: Ubuntu 11.10 , deltacloud1.0.0
> Reporter: Deepika Agrawal
> Priority: Critical
> Labels: deltacloudd, ec2
> Attachments: Storage_volume_response.png
>
>
> While clicking on any storage volume through web-ui, getting the below response:
> 502 - Backend Server Error
> undefined method `to_a' for "vol-e63acc87":String
> Server message
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String
> Original request URI
> /api/storage_volumes/vol-e63acc87
> At server side, following error has occurred;
> NoMethodError:undefined method `to_a' for "vol-e63acc87":String
> /var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1190:in `describe_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/ec2/ec2_driver.rb:568:in `block in storage_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> .....
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String:
--
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
[jira] [Closed] (DTACLOUD-249) unable to describe in detail a
storage volume with ec2 driver
Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marios Andreou closed DTACLOUD-249.
-----------------------------------
> unable to describe in detail a storage volume with ec2 driver
> -------------------------------------------------------------
>
> Key: DTACLOUD-249
> URL: https://issues.apache.org/jira/browse/DTACLOUD-249
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server, Website
> Environment: Ubuntu 11.10 , deltacloud1.0.0
> Reporter: Deepika Agrawal
> Assignee: Marios Andreou
> Priority: Critical
> Labels: deltacloudd, ec2
> Attachments: Storage_volume_response.png
>
>
> While clicking on any storage volume through web-ui, getting the below response: (screenshot attached)
> 502 - Backend Server Error
> undefined method `to_a' for "vol-e63acc87":String
> Server message
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String
> Original request URI
> /api/storage_volumes/vol-e63acc87
> At server side, following error has occurred;
> NoMethodError:undefined method `to_a' for "vol-e63acc87":String
> /var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1190:in `describe_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/ec2/ec2_driver.rb:568:in `block in storage_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> .....
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String:
> .....
> 172.30.54.46 - - [04/Jul/2012 12:48:05] "GET /api/storage_volumes/vol-e63acc87 HTTP/1.1" 502 207496 16.4262
--
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
[jira] [Commented] (DTACLOUD-249) unable to describe in detail a
storage volume with ec2 driver
Posted by "Deepika Agrawal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406852#comment-13406852 ]
Deepika Agrawal commented on DTACLOUD-249:
------------------------------------------
Hi Marios, I tried this and got the same output that you have mentioned.
deepika@deepika-OptiPlex-GX280:~$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
deepika@deepika-OptiPlex-GX280:~$ irb
irb(main):001:0> "String".to_a
NoMethodError: undefined method `to_a' for "String":String
from (irb):1
from /usr/bin/irb:12:in `<main>'
irb(main):002:0> exit
deepika@deepika-OptiPlex-GX280:~$
Thanks.
> unable to describe in detail a storage volume with ec2 driver
> -------------------------------------------------------------
>
> Key: DTACLOUD-249
> URL: https://issues.apache.org/jira/browse/DTACLOUD-249
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server, Website
> Environment: Ubuntu 11.10 , deltacloud1.0.0
> Reporter: Deepika Agrawal
> Assignee: Marios Andreou
> Priority: Critical
> Labels: deltacloudd, ec2
> Attachments: Storage_volume_response.png
>
>
> While clicking on any storage volume through web-ui, getting the below response: (screenshot attached)
> 502 - Backend Server Error
> undefined method `to_a' for "vol-e63acc87":String
> Server message
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String
> Original request URI
> /api/storage_volumes/vol-e63acc87
> At server side, following error has occurred;
> NoMethodError:undefined method `to_a' for "vol-e63acc87":String
> /var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1190:in `describe_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/ec2/ec2_driver.rb:568:in `block in storage_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> .....
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String:
> .....
> 172.30.54.46 - - [04/Jul/2012 12:48:05] "GET /api/storage_volumes/vol-e63acc87 HTTP/1.1" 502 207496 16.4262
--
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
[jira] [Assigned] (DTACLOUD-249) unable to describe in detail a
storage volume with ec2 driver
Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marios Andreou reassigned DTACLOUD-249:
---------------------------------------
Assignee: Marios Andreou
> unable to describe in detail a storage volume with ec2 driver
> -------------------------------------------------------------
>
> Key: DTACLOUD-249
> URL: https://issues.apache.org/jira/browse/DTACLOUD-249
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server, Website
> Environment: Ubuntu 11.10 , deltacloud1.0.0
> Reporter: Deepika Agrawal
> Assignee: Marios Andreou
> Priority: Critical
> Labels: deltacloudd, ec2
> Attachments: Storage_volume_response.png
>
>
> While clicking on any storage volume through web-ui, getting the below response: (screenshot attached)
> 502 - Backend Server Error
> undefined method `to_a' for "vol-e63acc87":String
> Server message
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String
> Original request URI
> /api/storage_volumes/vol-e63acc87
> At server side, following error has occurred;
> NoMethodError:undefined method `to_a' for "vol-e63acc87":String
> /var/lib/gems/1.9.1/gems/aws-2.5.6/lib/ec2/ec2.rb:1190:in `describe_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/ec2/ec2_driver.rb:568:in `block in storage_volumes'
> /var/lib/gems/1.9.1/gems/deltacloud-core-1.0.0/lib/deltacloud/drivers/exceptions.rb:173:in `call'
> .....
> Deltacloud::ExceptionHandler::ProviderError - undefined method `to_a' for "vol-e63acc87":String:
> .....
> 172.30.54.46 - - [04/Jul/2012 12:48:05] "GET /api/storage_volumes/vol-e63acc87 HTTP/1.1" 502 207496 16.4262
--
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