New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canonical User ID (OwnerID) might not be 64 hexdigit on non-AWS S3 #18

Closed
robbat2 opened this Issue Jul 25, 2016 · 4 comments

Comments

Projects
None yet
3 participants
@robbat2

robbat2 commented Jul 25, 2016

It was reported to Ceph that Net::Amazon::S3 didn't work with Ceph RGW, as Net::Amazon::S3::Client was expecting the canonical user ID (OwnerID in some parts of the S3 documentation) to be 64 hex characters exactly, and Ceph RGW allows a lot more freedom in that string (printable ascii, length > 0).

Ceph issue link: http://tracker.ceph.com/issues/16806

The S3 specifications are vague on the exact requirements of the string, and describe it in only two places

http://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html says

The canonical user ID is a long string, such as
79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be.

http://docs.aws.amazon.com/AmazonS3/latest/dev/example-walkthroughs-managing-access-example4.html says

The canonical user ID is the Amazon S3–only concept. It is s
64-character obfuscated version of the account ID.

@TJC

This comment has been minimized.

TJC commented Jun 19, 2017

I can confirm I have had this problem too -- and it's also present when using Minio S3.

@TJC

This comment has been minimized.

TJC commented Jun 19, 2017

A simple fix we're using is:

strategicdata@1b9b52d

@ranguard

This comment has been minimized.

Collaborator

ranguard commented Jun 28, 2018

As a side note https://metacpan.org/release/LLAP/Net-Amazon-S3-0.81-TRIAL has been released - testing would be appreciated

branislav-zahradnik-gdc added a commit to branislav-zahradnik-gdc/net-amazon-s3 that referenced this issue Jul 10, 2018

branislav-zahradnik-gdc added a commit to branislav-zahradnik-gdc/net-amazon-s3 that referenced this issue Jul 10, 2018

@ranguard

This comment has been minimized.

Collaborator

ranguard commented Jul 10, 2018

https://metacpan.org/release/LLAP/Net-Amazon-S3-0.83 - please comment if this does not fix it

@ranguard ranguard closed this Jul 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment