Re: rgw bucket creation fails

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

 



On Mon, Nov 4, 2013 at 6:40 AM, Corin Langosch
<corin.langosch@xxxxxxxxxxx> wrote:
> Hi,
>
> using ceph 0.67.4 I followed http://ceph.com/docs/master/radosgw/. I can
> connect using s3cmd (test configuration succeeds), so the user credentials
> and everything else seems to be running as it should. But when doing a
> "s3cmd mb s3://test" the radosgw returns a "405 Method Not Allowed"
> (connection captured with wireshark). The radosgw logs don't contain anythin
> related to this.
>
> What am I doing wrong?
>

This was answered off list on irc, but for the sake of completeness
I'll answer here too. The issue is that s3cmd uses a virtual bucket
host name. E.g., instead of http://<host>/bucket, it sends request to
http://<bucket>.<host>, so in order for the gateway to identify which
bucket is being used, it needs to be configured with the host name. So
adding the following under the relevant section in your ceph.conf
should solve the issue:

  rgw dns name = <host>

Yehuda
_______________________________________________
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