Re: Using radosgw with s3cmd: Bucket failure

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

 



Just in case someone stumbles across the same problem:

The option name in ceph.conf is rgw_dns_name - not as described "rgw dns name" at http://ceph.com/docs/next/radosgw/config-ref/ !?

And the hostname needs to be set to your DNS name withouth any wildcard.

Georg


On 06.09.2013 08:51, Georg Höllrigl wrote:
On 23.08.2013 16:24, Yehuda Sadeh wrote:
On Fri, Aug 23, 2013 at 1:47 AM, Tobias Brunner <tobias@xxxxxxxx> wrote:
Hi,

I'm trying to use radosgw with s3cmd:

# s3cmd ls

# s3cmd mb s3://bucket-1
ERROR: S3 error: 405 (MethodNotAllowed):

So there seems to be something missing according to buckets. How can I
create buckets? What do I have to configure on the radosgw side to have
buckets working?


The problem that you have here is that s3cmd uses the virtual host
bucket name mechanism, e.g. it tries to access http://bucket.<host>/
instead of the usual http://<host>/bucket. You can configure the
gateway to support that (set 'rgw dns name = <host>' in your
ceph.conf), however, you'll also need to be able to route all these
requests to your host, using some catch-all dns. The easiest way to go
would be to configure your client to not use that virtual host bucket
name, but I'm not completely sure s3cmd can do that.

Yehuda
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


I'm standing directly at the same problem - but this didn't help. I've
set up the DNS, can reach the subdomains and also the "rgw dns name".
But still the same troubles here :(

Georg
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

--
Dipl.-Ing. (FH) Georg Höllrigl
Technik

________________________________________________________________________________

Xidras GmbH
Stockern 47
3744 Stockern
Austria

Tel:     +43 (0) 2983 201 - 30505
Fax:     +43 (0) 2983 201 - 930505
Email:   georg.hoellrigl@xxxxxxxxxx
Web:     http://www.xidras.com

FN 317036 f | Landesgericht Krems | ATU64485024

________________________________________________________________________________

VERTRAULICHE INFORMATIONEN!
Diese eMail enthält vertrauliche Informationen und ist nur für den berechtigten Empfänger bestimmt. Wenn diese eMail nicht für Sie bestimmt ist, bitten wir Sie,
diese eMail an uns zurückzusenden und anschließend auf Ihrem Computer und
Mail-Server zu löschen. Solche eMails und Anlagen dürfen Sie weder nutzen,
noch verarbeiten oder Dritten zugänglich machen, gleich in welcher Form.
Wir danken für Ihre Kooperation!

CONFIDENTIAL!
This email contains confidential information and is intended for the authorised recipient only. If you are not an authorised recipient, please return the email
to us and then delete it from your computer and mail-server. You may neither
use nor edit any such emails including attachments, nor make them accessible
to third parties in any manner whatsoever.
Thank you for your cooperation

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