S3 API - Canonical user ID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

I've made list all buckets request and got the following response (the
part of it):

<?xml version="1.0" encoding="UTF-8"?>
<ListAllMyBucketsResult
xmlns="http://s3.amazonaws.com/doc/2006-03-01/";><Owner><ID>someowner</ID><DisplayName>SOMEOWNER</DisplayName></Owner>


note the "someowner" is used as id.
Problem that S3-compatible library that I use crashes on this, it
expects 64 character hex string.

According to S3 docs owner id indeed is 64 char hex string:
http://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html
===
The canonical user ID is a long string, such as
79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be.
===

How to qualify this?

1) Is this bug in CEPH, which allowed person to configure invalid user id?
2) Person who configured CEPH should use 64char id by his own?
3) Bug in library which should not validate this field that way?

(not that I don't have admin access to this instance and do not know
how it's configured, but I assume someone just wrote "someowner"
somewhere in configs, because it was not actually "someowner", but our
company name in lowercase)

ceph version ceph version 10.2.1
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux