Hello, Steve Linabery and I were working through some setup issues with the aggregator today, and hit what appears to be a bug in the deltacloud-client library. When you run 'rake package' and then gem install that, it brings in the latest rest-client (1.6.0). However, if you then try to instantiate a client, it fails with:
/usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.6/lib/deltacloud.rb:301: warning: multiple values for a block parameter (2 for 1) from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.0/lib/restclient/request.rb:218 NoMethodError: undefined method `body' for #<Array:0x7fa60287d250> from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.6/lib/deltacloud.rb:302:in `request' from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.0/lib/restclient/request.rb:218:in `call' from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.0/lib/restclient/request.rb:218:in `process_result' from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.0/lib/restclient/request.rb:169:in `transmit' from /usr/lib/ruby/1.8/net/http.rb:543:in `start' from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.0/lib/restclient/request.rb:166:in `transmit' from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.0/lib/restclient/request.rb:60:in `execute' from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.0/lib/restclient/request.rb:31:in `execute' from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.0/lib/restclient.rb:68:in `get' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.6/lib/deltacloud.rb:301:in `send' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.6/lib/deltacloud.rb:301:in `request' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.6/lib/deltacloud.rb:223:in `discover_entry_points' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.6/lib/deltacloud.rb:68:in `initialize' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.6/lib/deltacloud.rb:33:in `new' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.6/lib/deltacloud.rb:33:in `new' from (irb):7 If you gem uninstall rest-client and install an old version (as new as 1.5.1 worked for me), this error goes away. Not sure if client can be compatible with both versions, or if the gemspec needs to be more specific, but hopefully this is enough detail to resolve this issue. Thanks! -j
