Re: Help with radosGW

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

 



I see that you added your public and cluster networks under an [osd]
section. All daemons use the public network, and OSDs use the cluster
network. Consider moving those settings to [global].
http://ceph.com/docs/master/rados/configuration/network-config-ref/#ceph-networks

Also, I do believe I had a doc bug to fix here.
http://tracker.ceph.com/issues/6182  It is now resolved. The s3gw.fcgi
file should be in /var/www as suggested. However, my chmod instruction
pointed to an incorrect directory. Can you take a look at that and see
if that helps?

On Tue, Sep 17, 2013 at 1:29 AM, Alexis GÜNST HORN
<alexis.gunsthorn@xxxxxxxxxxxx> wrote:
> Hello to all,
>
> I've a big issue with Ceph RadosGW.
> I did a PoC some days ago with radosgw. It worked well.
>
> Ceph version 0.67.3 under CentOS 6.4
>
> Now, I'm installing a new cluster but, I can't succeed. I do not understand why.
> Here is some elements :
>
> ceph.conf:
>
> [global]
> filestore_xattr_use_omap = true
> mon_host = 192.168.0.1,192.168.0.2,192.168.0.3
> fsid = f261d4c5-2a93-43dc-85a9-85211ec7100f
> mon_initial_members = mon-1, mon-2, mon-3
> auth_supported = cephx
> osd_journal_size = 10240
>
> [osd]
> cluster_network = 192.168.0.0/24
> public_network = 192.168.1.0/24
>
>
> [client.radosgw.gateway]
> host = gw-1
> keyring = /etc/ceph/keyring.radosgw.gateway
> rgw socket path = /tmp/radosgw.sock
> log file = /var/log/ceph/radosgw.log
> rgw print continue = false
>
>
>
> I followed this doc to install radosgw :
> http://ceph.com/docs/next/install/rpm/#installing-ceph-object-storage
>
> I start httpd :
> /etc/init.d/httpd start
>
> I start radosgw :
> [root@gw-1]# /etc/init.d/ceph-radosgw start
> Starting radosgw instance(s)...
> 2013-09-17 08:07:11.954248 7f835d7fb820 -1 WARNING: libcurl doesn't
> support curl_multi_wait()
> 2013-09-17 08:07:11.954253 7f835d7fb820 -1 WARNING: cross zone /
> region transfer performance may be affected
>
> I create a user :
> radosgw-admin user create --uid="alexis"
>
> It works.
> Fine.
>
> So now, I connect to the gateway via a client (CyberDuck).
> I can create a bucket : "test".
> Then, I try to upload a file => does not work.
> I have a time out after about 30 secs.
>
> And, of course, the file is not uploaded. A rados df on .rgw.buckets
> show that there is no objects inside.
>
> Here are some logs.
>
> radosgw.log:
> http://pastebin.com/6NNuczC5
> (the last lines are because I stop radosgw, not to pollute the logs)
>
> and httpd.log :
> [Tue Sep 17 08:02:15 2013] [error] [client 46.231.147.8] FastCGI: comm
> with server "/var/www/s3gw.fcgi" aborted: idle timeout (30 sec)
> [Tue Sep 17 08:02:15 2013] [error] [client 46.231.147.8] FastCGI:
> incomplete headers (0 bytes) received from server "/var/www/s3gw.fcgi"
> [Tue Sep 17 08:02:45 2013] [error] [client 46.231.147.8] FastCGI: comm
> with server "/var/www/s3gw.fcgi" aborted: idle timeout (30 sec)
> [Tue Sep 17 08:02:45 2013] [error] [client 46.231.147.8] FastCGI:
> incomplete headers (0 bytes) received from server "/var/www/s3gw.fcgi"
> [Tue Sep 17 08:08:42 2013] [error] [client 46.231.147.8] FastCGI: comm
> with server "/var/www/s3gw.fcgi" aborted: idle timeout (30 sec)
> [Tue Sep 17 08:08:46 2013] [error] [client 46.231.147.8] FastCGI:
> incomplete headers (0 bytes) received from server "/var/www/s3gw.fcgi"
> [Tue Sep 17 08:12:35 2013] [error] [client 46.231.147.8] FastCGI: comm
> with server "/var/www/s3gw.fcgi" aborted: idle timeout (30 sec)
> [Tue Sep 17 08:12:35 2013] [error] [client 46.231.147.8] FastCGI:
> incomplete headers (0 bytes) received from server "/var/www/s3gw.fcgi"
> [Tue Sep 17 08:13:02 2013] [error] [client 46.231.147.8] FastCGI:
> incomplete headers (0 bytes) received from server "/var/www/s3gw.fcgi"
>
>
>
> I'm really diapointed because i can't understand where is the issue.
> Thanks A LOT for your help.
>
> Alexis
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



-- 
John Wilkins
Senior Technical Writer
Intank
john.wilkins@xxxxxxxxxxx
(415) 425-9599
http://inktank.com
_______________________________________________
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