deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "marios@redhat.com" <mandr...@redhat.com>
Subject Re: resource_metadatum_url error
Date Mon, 03 Dec 2012 18:23:18 GMT
Hi Dies:

On 03/12/12 09:43, Koper, Dies wrote:
> I'm trying to run cimi tests file by file and get the following error:
> 
> ruby cimi\cep_test.rb
> 
> The error is on the server, started with deltacloudd.bat -i fgcp -f
> cimi,deltacloud.
> 
> E, [2012-12-03T16:27:55.713448 #8380] ERROR -- 500: [NoMethodError]
> undefined method `resource_metadatum_url' for #<CIMI::Collections::
> ResourceMetadata:0xb20e990>
> 

I can't reproduce this on my f17 box running ruby 1.9.7. I see from your
trace that this is on ruby 1.8.7 - but having said that
http://dev.deltacloud.org/cimi/resource_metadata is serving fine (that
box is on 1.8.7).

Are you still seeing this issue after today's round of git commits?
ResourceMetadata collection is in need of some TLC in general (I have a
git branch locally where I've started to fix this). Hopefully this will
be addressed in next few days - it just wasn't top priority wrt plugfest
etc,

thanks, marios

> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/collection.rb:119
> :in `send'
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/collection.rb:119
> :in `list'
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/collections/resource_met
> adata.rb:24
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.3/lib/sina
> tra/rabbit/base.rb:396:in `instance_eval'
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.3/lib/sina
> tra/rabbit/base.rb:396:in `GET /resource_metadata'
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/bas
> e.rb:1264:in `call'
> 
> Why?
> 
> Regards,
> Dies Koper
> 
> 


Mime
View raw message