Corporate Home Open Source Home
Syndicate content
Eucalyptus
4 replies [Last post]
aimon
Offline
Joined: 07/01/2009

Hi, having issue trying to create Walrus bucket using right_aws gem v 1.10.0.

Euca 1.6.1 x86_64
CentOS 5.4

I have tried two different users with same issue. Key is correct as I have used it with euca2ools. Clocks are sync'd on both servers. Have you seen this issue before?

Thanks,

Aimon

neil
Offline
Joined: 04/28/2009
Can you post a code snippet?

Can you post a code snippet?

How are you trying to do this?

This is what I do usually,

s3 = RightAws::S3.new(aws_access_key_id=ENV['EC2_ACCESS_KEY'], aws_secret_access_key=ENV['EC2_SECRET_KEY'])

bucket = RightAws::S3::Bucket.create(s3, 'testbucket', true)

aimon
Offline
Joined: 07/01/2009
s3 =

s3 = RightAws::S3Interface.new(@s3_access_key, @s3_secret_key, :server => @s3_host, :port => @s3_port, :protocol => @s3_protocol, :service => '/services/Walrus' )
@s3.create_bucket(@s3_bucket)

Note, I can list the buckets without issue.. Only create bucket fails. I also tried with your code and I get same issue. Also I have done this on other Euca installs and it works. So I have no idea why on this euca install it does not.. I was able to upload EMIs etc without issue,

Aimon

aimon
Offline
Joined: 07/01/2009
btw exact error is from the

btw exact error is from the cloud-error.log

17:42:25 [MessageStackHandler:New I/O server worker #1-11] ERROR com.eucalyptus.ws.AuthenticationException: User authentication failed. Unable to obtain query key
com.eucalyptus.ws.AuthenticationException: User authentication failed. Unable to obtain query key

Aimon

aimon
Offline
Joined: 07/01/2009
nm

nm