[SOLVED] RE: failing on 0.67.1 radosgw install

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

 



My radosgw is up now.
There were two problems in my config

1.) I missed to copy the "FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw.sock"  entry from the instructions into my apache config
2.) I did a mistake with the ceph conf, I entered:
	[client.radosgw.gateway]
	host = radosgw01, radosgw02
	...
    in ceph.conf, similar as it is done for mon host or mon intial member
    but correct is
	[client.radosgw.gateway]
	host = radosgw01
	...
	[client.radosgw.gateway]
	host = radosgw02
	...
	
Now the real fun can start, testing

Regards
Andi

-----Original Message-----
From: Fuchs, Andreas (SwissTXT) 
Sent: Dienstag, 20. August 2013 16:34
To: 'ceph-users@xxxxxxxxxxxxxx'
Subject: failing on 0.67.1 radosgw install

Hi

I succesfully setup a ceph cluster with 0.67.1, now I try to get the radosgw on a separate node running

Os=ubuntu 12.04 lts
Install seemed succesfull, but if  I try to access the api I see the following in the logs

Apache2/error.log

2013-08-20 16:22:17.029064 7f927abdf780 -1 warning: unable to create /var/run/ceph: (13) Permission denied
2013-08-20 16:22:17.029343 7f927abdf780 -1 WARNING: libcurl doesn't support curl_multi_wait()
2013-08-20 16:22:17.029348 7f927abdf780 -1 WARNING: cross zone / region transfer performance may be affected [Tue Aug 20 16:22:17 2013] [warn] FastCGI: (dynamic) server "/var/www/s3gw.fcgi" (pid 20793) terminated by calling exit with status '0'

I can fix the /var/run/ceph permission error by

sudo mkdir /var/run/ceph
sudo chown www-data /var/run/ceph

but after restarting the services I still get:

[Tue Aug 20 16:24:45 2013] [notice] FastCGI: process manager initialized (pid 24276) [Tue Aug 20 16:24:45 2013] [notice] Apache/2.2.22 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations [Tue Aug 20 16:25:25 2013] [warn] FastCGI: (dynamic) server "/var/www/s3gw.fcgi" started (pid 24373)
2013-08-20 16:25:25.760621 7f2a63aeb780 -1 WARNING: libcurl doesn't support curl_multi_wait()
2013-08-20 16:25:25.760628 7f2a63aeb780 -1 WARNING: cross zone / region transfer performance may be affected [Tue Aug 20 16:25:25 2013] [warn] FastCGI: (dynamic) server "/var/www/s3gw.fcgi" (pid 24373) terminated by calling exit with status '0'

Also I have over time more and more of those processes:

/usr/bin/radosgw -c /etc/ceph/ceph.conf -n client.radosgw.gateway

Ceph auth list shows

client.radosgw.gateway
        key: checked witj keyfile and correct
        caps: [mon] allow rw
        caps: [osd] allow rwx

config is:

[client.radosgw.gateway]
host = radosgw01, radosgw02
keyring = /etc/ceph/keyring.radosgw.gateway rgw_socket_path = /tmp/radosgw.sock log_file = /var/log/ceph/radosgw.log rgw_dns_name = radosgw01.swisstxt.ch


/var/log/ceph/radosgw.log is empty

Any idea what could be wrong?

Regards
Andi

_______________________________________________
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