Thanks Shain/ceph-users - this seems to have worked and I now have a running gateway: # ps -ef | grep rados apache 3056 1 0 03:56 ? 00:00:10 /usr/bin/radosgw -n client.radosgw.gateway Unfortunately still unable to connect to the gateway though: # swift -V 1.0 -A http://10.40.99.165/auth -U gwuser1:swift -K "kVcKPg1QFu73emgrP7w6JrFs3tvZ4+gLISW+703K" post chtest Auth GET failed: http://10.40.99.165:80/auth/ 403 Forbidden The http server logs don’t really help much either (IP removed): … … xx.xxx.xxx.xxx - - [09/Jul/2013:06:44:33 -0400] "GET /auth/ HTTP/1.1" 403 207 "-" "-" The rados gateway logs don’t seem to have anything regarding this connection. httpd.conf as follows: … … <VirtualHost *:80> ServerAdmin chris.howarth@xxxxxxxx DocumentRoot /var/www ServerName e8c3-dl360g7-09.nam.nsroot.net # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common RewriteEngine On RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1¶ms=$2&%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] <IfModule mod_fastcgi.c> <Directory /var/www> Options +ExecCGI AllowOverride All SetHandler fastcgi-script Order allow,deny Allow from all AuthBasicAuthoritative Off </Directory> FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw.sock </IfModule> AllowEncodedSlashes On ErrorLog /var/log/httpd/error.log CustomLog /var/log/httpd/access.log combined ServerSignature Off </VirtualHost> # cat /var/www/s3gw.fcgi #!/bin/sh exec /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.gateway Many thanks for all your assistance thus far. Chris -----Original Message----- It is that command...however if you are following the docs (like I did)...then you will see that your key is NOT '/etc/ceph/ceph.keyring' it is '/etc/ceph/ceph.client.admin.keyring'. So try: sudo ceph -k /etc/ceph/ceph.client.admin.keyring auth add client.radosgw.gateway -i /etc/ceph/keyring.radosgw.gateway The documentation should be updated. Shain Shain Miley | Manager of Systems and Infrastructure, Digital Media | smiley@xxxxxxx | 202.513.3649 |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com