Hi, I installed ceph object gateway and I have put one test object onto storage. I can see it with rados -p mytest ls How do I setup ceph that users can access (download,upload) files to this pool? Kind regards, Rok
How do I setup ceph that user can access objects from one pool from browser?
S3 is not a browser friendly protocol. There isn't a way to get user-friendly output via the browser alone, you need some form of client that speaks the S3 REST protocol. The most commonly used one by us is s3cmd, which is a command line utility. A quick google search finds some web-based clients, such as this one: https://github.com/rufuspollock/s3-bucket-listing I've never used it, so I cannot say how well it works. Daniel On Wed, Oct 16, 2019 at 8:49 AM <rjaklic@gmail.com> wrote:
How do I setup ceph that user can access objects from one pool from browser? _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Den ons 16 okt. 2019 kl 15:43 skrev Daniel Gryniewicz <dang@redhat.com>:
S3 is not a browser friendly protocol. There isn't a way to get user-friendly output via the browser alone, you need some form of client that speaks the S3 REST protocol. The most commonly used one by us is s3cmd, which is a command line utility. A quick google search finds some web-based clients, such as this one: https://github.com/rufuspollock/s3-bucket-listing I've never used it, so I cannot say how well it works.
Then again, if the S3 user uploads with Public = Read (for instance with 's3cmd put -P object s3://bucketname') then you get a http(s):// URL back that can be used to read the object anonymously with a browser. But yes, listing the object dir is best used with an S3 client.
How do I setup ceph that user can access objects from one pool from
browser?
-- May the most significant bit of your life be positive.
participants (4)
-
Daniel Gryniewicz
-
Janne Johansson
-
rjaklic@gmail.com
-
Rok Jaklič