I actually had some trouble with this... at one point I did not have a hostname match in ceph.conf (due to an error on my part) and when I tried to start radosgw it would just return with no output. It would be helpful if it could throw or log an error - "failed to start radosgw - no hostname match in ceph.conf" or something along those lines.
>-----Original Message----- >From: Fuchs, Andreas (SwissTXT) [mailto:[email protected]] >Sent: Thursday, October 03, 2013 12:57 AM >To: [email protected]; Gruher, Joseph R >Cc: [email protected] >Subject: RE: [ceph-users] ceph.conf with multiple rados gateways > >If i remember right the init script looks for a hostname match with >client.radosgw.{hostname}, I f this matches he starts the gw > >Andi > >> -----Original Message----- >> From: [email protected] [mailto:ceph-users- >> [email protected]] On Behalf Of [email protected] >> Sent: Mittwoch, 2. Oktober 2013 23:27 >> To: Gruher, Joseph R >> Cc: [email protected] >> Subject: Re: [ceph-users] ceph.conf with multiple rados gateways >> >> Part of our ceph.conf: >> [client.radosgw.gw0] >> host = <gate0> >> keyring = /etc/ceph/keyring.radosgw.gateway >> rgw socket path = /tmp/radosgw.sock >> log file = /var/log/radosgw/radosgw.log >> rgw dns name = <3l>.<domain>.<here> >> rgw thread pool size = 100 >> rgw print continue = false >> debug rgw = 0 >> rgw enable ops log = false >> log to stderr = false >> rgw enable usage log = false >> >> [client.radosgw.gw1] >> host = <gate1> >> keyring = /etc/ceph/keyring.radosgw.gateway >> rgw socket path = /tmp/radosgw.sock >> log file = /var/log/radosgw/radosgw.log >> rgw dns name = <3l>.<domain>.<here> >> rgw thread pool size = 100 >> rgw print continue = false >> debug rgw = 0 >> rgw enable ops log = false >> log to stderr = false >> rgw enable usage log = false >> >> PS: Changed some fields hostnames, clientnames, etc... >> >> -- >> Regards, >> Mikhail >> >> >> On Wed, 2 Oct 2013 21:04:25 +0000 >> "Gruher, Joseph R" <[email protected]> wrote: >> >> > Can anyone provide me a sample ceph.conf with multiple rados >> > gateways? I must not be configuring it correctly and I can't seem >> > to Google up an example or find one in the docs. Thanks! >> > >> > -Joe >> _______________________________________________ >> ceph-users mailing list >> [email protected] >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
