Multi tenanted radosgw with Keystone and public buckets

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

 



Hi, another question relating to multi tenanted RGW.

Let's do the working case 1st. For a user that still uses the global
namespace, if I set a bucket as world readable (header
"X-Container-Read: .r:*") then I can fetch objects from the bucket via a
url like (e.g bucket0, object0):

http://host/swift/v1/bucket0/object0

Now suppose I do the same for a bucket (bucket1) that is in a private
namespace (i.e set the header again). Now there appears to be no way to
access the bucket w/o authentication. i.e:

http://host/swift/v1/bucket1/object1

Gets a no-such-bucket (if tried w/o auth). Now I can see the actual path
via radosgw-admin:

$ sudo radosgw-admin bucket list
[
    "bucket0",
    "195b20a3f8264ac38e7d917f605476fa/bucket1"
]

However attempting the obvious guessed url of:

http://host/swift/v1/195b20a3f8264ac38e7d917f605476fa/bucket1/object1

gets a no-such-bucket as well. Is there are way to get public access of
objects in private namespaces - or is the private designation intended
to make this impossible?

Cheers

Mark


_______________________________________________
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