[ https://issues.apache.org/jira/browse/DTACLOUD-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marios Andreou updated DTACLOUD-419: ------------------------------------ Attachment: 0001-Fix-for-DTACLOUD-419-Typos-in-Intance-model-to_hash.patch thanks - yes there were a couple more typos there - new patch for testing when you can please :) also tracked at http://tracker.deltacloud.org/set/256 > Exception is thrown when requesting all instances against openstack or > eucalyptus and using JSON > ------------------------------------------------------------------------------------------------ > > Key: DTACLOUD-419 > URL: https://issues.apache.org/jira/browse/DTACLOUD-419 > Project: DeltaCloud > Issue Type: Bug > Components: Server > Environment: Debian 6.0.6, ruby 1.9.2p0, deltacloud development > Reporter: Christian Karnath > Assignee: Marios Andreou > Attachments: > 0001-Fix-for-DTACLOUD-419-Typos-in-Intance-model-to_hash.patch > > > The following exception is thrown when requesting all instances against > openstack or eucalyptus and using JSON as an output format: > "GET /api/instances HTTP/1.1" 500 53 1.4123 > E, [2013-01-15T20:43:06.182957 #23978] ERROR -- 500: [NoMethodError] user > /home/karnath/dev-deltacloud/deltacloud/server/lib/deltacloud/models/instance.rb:107:in > `method_missing' > /home/karnath/dev-deltacloud/deltacloud/server/lib/deltacloud/models/instance.rb:75:in > `to_hash' > /home/karnath/dev-deltacloud/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:72:in > `block (3 levels) in filter_all' > /home/karnath/dev-deltacloud/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:72:in > `map' > /home/karnath/dev-deltacloud/deltacloud/server/lib/deltacloud/helpers/deltacloud_helper.rb:72: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:69:in > `filter_all' > /home/karnath/dev-deltacloud/deltacloud/server/lib/deltacloud/helpers/rabbit_helper.rb:22:in > `block (2 levels) in standard_index_operation' > /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!' -- 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