Re: rados gateway

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

 



Yehuda Sadeh <yehuda <at> inktank.com> writes:

> 
> On Wed, Apr 17, 2013 at 7:54 AM, proguest <proguest1942 <at> hotmail.com> 
wrote:
> > hi,
> > I really need some help for my ceph radosgw.
> > stuck on it for a really long time.
> >
> > I followed by the ceph document
> > http://ceph.com/docs/master/start/quick-rgw/
> >
> > without any error or warnimg.
> >
> > i can even use radosgw-admin to create user successfully.
> >
> > But, I cant get into cephfs neither S3 nor swift.
> >
> > #swift -A http://<radosgw-host>/auth -U <user> -K <key> post test
> >
> > only responded Auth GET failed: http://<radosgw-host>:80 404 Not Found
> >
> > How can I solve this problem...? I really need a help
> >
> 
> Hard to know without additional info. It looks though as you might
> have apache config issues (if you're using apache).
> 
> Yehuda
hi Yehuda

thanks for replied me.
It's only stardard setting with radosgw document.
here's /etc/apache2/httpd.conf  only 1 line

ServerName node74

and here's /etc/apache2/sites-enabled  (just follow the website)

FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw.sock
<VirtualHost *:80>
        ServerName node74
        ServerAdmin proguest1942@xxxxxxxxxxx
        DocumentRoot /var/www
</VirtualHost>

RewriteEngine On
RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1&params=$2&%
{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

<VirtualHost *:80>

        <IfModule mod_fastcgi.c>
                <Directory /var/www>
                        Options +ExecCGI
                        AllowOverride All
                        SetHandler fastcgi-script
                        Order allow,deny
                        Allow from all
                        AuthBasicAuthoritative Off
                </Directory>
        </IfModule>

        AllowEncodedSlashes On
        ErrorLog /var/log/apache2/error.log
        CustomLog /var/log/apache2/access.log combined
        ServerSignature Off
</VirtualHost>

without any other edit.
Also create a fcgi file named s3gw.fcgi in /var/www/
here's s3gw.fcgi

#!/bin/sh
exec /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.gateway

I don't know what's wrong with my radosgw..



--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux