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@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to