deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marios Andreou (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DTACLOUD-439) Exception is thrown when requesting /api/images against RAX or GoGrid and using JSON
Date Mon, 28 Jan 2013 17:05:12 GMT

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

Marios Andreou updated DTACLOUD-439:
------------------------------------

    Attachment: 0001-Deltacloud-add-hardware-profiles-to-RAX-Gogrid-Image.patch

attached patch (hopefully) addresses this issue

ready for testing/feedback please

tracked at http://tracker.deltacloud.org/set/282
                
> Exception is thrown when requesting /api/images against RAX or GoGrid and using JSON
> ------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-439
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-439
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>            Reporter: Christian Karnath
>            Assignee: Marios Andreou
>         Attachments: 0001-Deltacloud-add-hardware-profiles-to-RAX-Gogrid-Image.patch
>
>
> >> curl -k -H "X-Deltacloud-Driver: gogrid" -u "un:pw" "https://127.0.0.1:4001/api/images?format=json"
> {"code":500,"message":"undefined method `map' for nil:NilClass","error":"NoMethodError"}
> E, [2013-01-25T17:29:31.117057 #24806] ERROR -- 500: [NoMethodError] undefined method
`map' for nil:NilClass
> /home/karnath/dev-deltacloud/deltacloud/server/lib/deltacloud/models/image.rb:37:in `to_hash'
> /home/karnath/dev-deltacloud/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:76:in
`block (3 levels) in filter_all'
> /home/karnath/dev-deltacloud/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:76:in
`map'
> /home/karnath/dev-deltacloud/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:76:in
`block (2 levels) in filter_all'
> /home/karnath/dev-deltacloud/deltacloud/server/lib/sinatra/rack_accept.rb:103:in `call'
> /home/karnath/dev-deltacloud/deltacloud/server/lib/sinatra/rack_accept.rb:103:in `respond_to'
> /home/karnath/dev-deltacloud/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:73:in
`filter_all'
> /home/karnath/dev-deltacloud/deltacloud/server/lib/deltacloud/collections/images.rb:34:in
`block (3 levels) in <class:Images>'
> /var/lib/gems/1.9.1/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:396:in `instance_eval'
> /var/lib/gems/1.9.1/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:396:in `block
in control'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:1265:in `call'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:1265:in `block in compile!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `[]'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `block (3 levels) in
route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:851:in `route_eval'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `block (2 levels) in
route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:872:in `block in process_route'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:870:in `catch'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:870:in `process_route'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:834:in `block in route!'
> /var/lib/gems/1.9.1/gems/sinatra-1.3.3/lib/sinatra/base.rb:833:in `each'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message