Unable to get RadosGW working on CentOS 6

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

 



Environment is CentOS 6.4, Apache, mod_fastcgi (from repoforge, so probably without the continue 100 patches). I'm attempting to install radosgw on the 2nd mon host.

My setup consistently fails when running s3test.py from http://wiki.debian.org/OpenStackCephHowto (with appropriate values filled in, of course. I used /var/www/html instead of /var/www). The radosgw-admin user and subuser commands on that Howto execute and give expected results.

Apache error.log throws (repeated):

[Mon May 13 21:49:02 2013] [warn] FastCGI: (dynamic) server "/var/www/html/s3gw.fcgi" (uid 0, gid 0) restarted (pid 20102)
[Mon May 13 21:49:02 2013] [warn] FastCGI: (dynamic) server "/var/www/html/s3gw.fcgi" (pid 20102) terminated by calling exit with status '0'

virtualhost access log throws (repeated):
10.100.2.2 - - [13/May/2013:21:48:55 -0400] "PUT /my-new-bucket/ HTTP/1.1" 500 538 "-" "Boto/2.5.2 (linux2)"
10.100.2.2 - - [13/May/2013:21:49:30 -0400] "PUT /my-new-bucket/ HTTP/1.1" 500 538 "-" "Boto/2.5.2 (linux2)"

virtualhost error log throws (repeated):
[Mon May 13 21:49:51 2013] [error] [client 10.100.2.2] FastCGI: comm with (dynamic) server "/var/www/html/s3gw.fcgi" aborted: (first read) idle timeout (20 sec)
[Mon May 13 21:49:51 2013] [error] [client 10.100.2.2] FastCGI: incomplete headers (0 bytes) received from server "/var/www/html/s3gw.fcgi"

radosgw log is voluminous because I've got debug ms=1 and debug rgw=20 set, but the most common error message looking bit is about not being able to obtain a lock on gc (garbage collection, I presume) objects. Excerpt at http://pastebin.com/zyAXMLjF

radosgw is being spawned, perhaps to excess, by Apache:
apache   32566  0.5  0.0 5394300 13464 ?       Ssl  21:57   0:00 /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.gateway
apache   32689  0.5  0.0 5394300 13472 ?       Ssl  21:57   0:00 /usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.gateway
[root@controller2 ceph]# ps auxww | grep ceph | wc -l
237

VirtualHost servername matches fqdn. ceph.conf uses short hostname (both are in /etc/hosts pointing to same IP).

Any ideas what might be causing the FastCGI errors? I saw the similar problems originally with fcgid, which was what led me to install mod_fastcgi.

Thanks,

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