deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <>
Subject Re: EC2 driver rewrite (rev 2) + Tobi patches
Date Thu, 25 Nov 2010 10:25:47 GMT
On 19/11/10 13:39 +0200, wrote:
>Theres too much going on in this patch series - I specifically looked 
>at whether the new gem and/or new driver breaks buckets (and wanted 
>to check region support but couldn't get that far).
>I cannot get a bucket listing - looks like its a problem with the aws 
>gem (tried through irb and am getting the same result). Michal you 
>already said that this works for you but it seems Toby had the
>same problem as me so not sure what's going on.
>Trace looks like:
>irb(main):013:0> s3_client.buckets
>#<ArgumentError: wrong number of arguments (2 for 1)>

To better clarify this, this bug exists for Ruby version <= 1.8.6.
So Fedora 13 is affected with this bug (and RHEL5). Anyway, Tobi's patch
should fix this problem, lets wait for appoxy guys.

Btw. meanwhile I tested S3 region support under 1.8.7 and seems like it

irb(main):011:0> s3_client.bucket('mfojtik-awesome-bucket', true, 'public-read', :location
=> :eu)
Closing HTTPS connection to
Opening new HTTPS connection to
=> #<Aws::S3::Bucket:0xb6f81928 @creation_date=nil,
@name="mfojtik-awesome-bucket", @s3=#<Aws::S3:0xb6fa5ad0 

  -- Michal

>/usr/lib/ruby/gems/1.8/gems/aws-2.3.26/lib/awsbase/support.rb:49:in `const_get'/usr/lib/ruby/gems/1.8/gems/aws-2.3.26/lib/awsbase/support.rb:49:in
`constantize'/usr/lib/ruby/gems/1.8/gems/aws-2.3.26/lib/awsbase/support.rb:48:in `each'/usr/lib/ruby/gems/1.8/gems/aws-2.3.26/lib/awsbase/support.rb:48:in
`constantize'/usr/lib/ruby/gems/1.8/gems/aws-2.3.26/lib/s3/right_s3_interface.rb:158:in `generate_rest_request'/usr/lib/ruby/gems/1.8/gems/aws-2.3.26/lib/s3/right_s3_interface.rb:191:in
>Request was:  -none-
>Response was: -none-
>ArgumentError: wrong number of arguments (2 for 1)
>	from 
>	from 
>	from 
>	from 
>	from /usr/lib/ruby/gems/1.8/gems/aws-2.3.26/lib/s3/right_s3_interface.rb:158:in 
>	from /usr/lib/ruby/gems/1.8/gems/aws-2.3.26/lib/s3/right_s3_interface.rb:191:in 
>	from /usr/lib/ruby/gems/1.8/gems/aws-2.3.26/lib/s3/right_s3.rb:83:in 
>	from (irb):13
>On 15/11/10 14:46, wrote:
>>So in this patchbomb you can find all previous EC2 patches and Tobi patches
>>applied on top. This patches should be applied on top of master.
>>  - Fixed/Updated cucumber features
>>  - Added 'state' to Key
>>  - Added Cucumber features for storage_volumes
>>  - Refreshed Mock data
>>-- Michal

Michal Fojtik,
Deltacloud API:

View raw message