ambertch
ambertch

Reputation: 7649

RIAK-CS Unable to create bucket using s3cmd - AccessDenied

I have the following setup: riak 1.4.12, riakcs 1.5.3, stanchion 1.5.0

I am able to list bucket contents, and the authentication works (I get a response when listing or trying to remove a bucket, PUT a file) but get an AccessDenied error when trying to create a bucket.

I found this thread http://riak-users.197444.n3.nabble.com/RIAK-CS-Unable-to-create-bucket-using-s3cmd-AccessDenied-td4032375.html and tried adding signature_v2 = True to .s3cfg with no success, and I've also tried three versions of s3cmd (1.5.0, 1.5.0alpha, 1.0.1) I also tried creating a bucket using the python library boto, which also gives an access denied error.

I'm stumped :( any suggestions on where I should look next would be greatly appreciated! Not sure where there are logs for individual operations against Riak-cs - I've set lager log level to debug and wasn't able to see anything in the logs.

Thanks! Ambert

Upvotes: 1

Views: 512

Answers (1)

Yusuke NOJIMA
Yusuke NOJIMA

Reputation: 255

I posted the same question to riak-users mailing list, and got an answer!

In my case, I had to set the admin.key and admin.secret in /etc/stanchion/stanchion.conf. After setting them, s3cmd mb succeeded.

Upvotes: 3

Related Questions