Re: issues with Swift and ceph

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

 



On Mon, Dec 2, 2013 at 4:39 PM, jheryl williams <jherylw@xxxxxxxxx> wrote:
> Hello ,
>
> I have been looking all over the net to find a solution to my problem and I
> came across one that you helped someone else with. I was wondering if you
> can assist me as well. I pretty much created a ceph cluster from the step by
> step procedure off of ceph.com. My issue is when enter the swift command to
> test, i get the following message:
>
>
> esguser@ubuntu-ceph01:~/esg-cluster$ swift -V 1.0 -A
> http://radosgw.esg-ceph.com/auth -U esguser:swift -K
> Jb5aADPzf9R0yKLm+wXGHsV3Db+e6X0nV7E6mvFz post test
> Auth GET failed: http://radosgw.esg-ceph.com:80/auth/ 404 Not Found
>
> I made sure I was using the swift keys for authentication...
>
>
> I checked my apache log and this is what it says....
>
> [Mon Dec 02 16:23:46 2013] [error] [client 10.8.12.122] File does not exist:
> /var/www/auth
>
> I checked the /var/www/auth and I do not see a auth file or folder there.
>
>
> my rgw.conf file is as follows.. (/etc/apache2/sites-enabled/rgw.conf)
>
> FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw.sock
>
> <VirtualHost *:80>
>         ServerName esg-ceph.com
>         ServerAdmin jheryl.williams@xxxxxxx
>         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]

The rewrite rule needs to be within the VirtualHost section.

Yehuda

>
> <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>
>
> </VirtualHost>
>
> <VirtualHost *:80>
>
>         AllowEncodedSlashes On
>         ErrorLog /var/log/apache2/error.log
>         CustomLog /var/log/apache2/access.log combined
>         ServerSignature Off
> </VirtualHost>
>
> Any assistance would be greatly appreciated.....
>
> Thank you in advance,
>
> Jheryl Williams
>
>
>
>
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux