Re: S3CMD and Ceph

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

 



On 2014-11-27 19:41, Irek Fasikhov wrote:
Hi,Ben!

Do you have problems with permissions. The configuration is fully
operational.

2014-11-27 11:39 GMT+03:00 Ben <b@benjackson.email>:

Even with those settings it doesnt work.

I still get "ERROR: Access to bucket 'BUCKET' was denied'

Radosgw-admin shows me as the owner of the bucket, and when i do
's3cmd ls' by itself, it lists all buckets. But when I do 's3cmd ls
s3://BUCKET' it gives me denied error.

On 27/11/14 19:32, Irek Fasikhov wrote:

I like this work.

[rbd@rbdbackup ~]$ cat .s3cfg
[default]
access_key = 2M4PRTYOGI3AXBZFAXFR
secret_key = LQYFttxRn+7bBJ5rD1Y7ckZCN8XjEInOFY3s9RUR
host_base = s3.XXXXX.ru [1]
host_bucket = %(bucket)s.s3.XXXXX.ru [2]
enable_multipart = True
multipart_chunk_size_mb = 30
use_https = True

2014-11-27 7:43 GMT+03:00 b <b@benjackson.email>:
I'm having some issues with a user in ceph using S3 Browser and
S3cmd

It was previously working.

I can no longer use s3cmd to list the contents of a bucket, i am
getting 403 and 405 errors
When using S3browser, I can see the contents of the bucket, I can
upload files, but i cannot create additional folders within the
bucket (i get 403 error)

The bucket is owned by the user, I am using the correct keys, I
have checked the keys for escape characters, but there are no
slashes in the key.

I'm not sure what else I can do to get this to work.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com [3]

--

С уважением, Фасихов Ирек
Нургаязович
Моб.: +79229045757

--

С уважением, Фасихов Ирек Нургаязович
Моб.: +79229045757

Links:
------
[1] http://s3.XXXXX.ru
[2] http://s.s3.XXXXX.ru
[3] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

I've fixed this, I have a tengine https proxy infront of our radosgw (which is using civetweb), and modifying the way it did the proxy to use the following:
   location /
   {
        proxy_pass http://10.10.130.1;
        proxy_set_header        Host            $host;
        proxy_set_header        X-Real-IP       $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_read_timeout 300;
    }

Can now do stuff as that user.
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux