Re: radosgw keeps dying

2012-09-04 Thread Tommi Virtanen
On Sun, Sep 2, 2012 at 6:36 AM, Nick Couchman nick.couch...@seakr.com wrote:
 One additional piece of info...I did find the -d flag (documented in the 
 radosgw-admin man page, but not in the radosgw man page) that keeps the 
 daemon in the foreground and prints messages to stderr.  When I use this flag 
 I get the following:
 [root@desktop-ceph ~]# radosgw -c /etc/ceph/ceph.conf -n 
 client.radosgw.gateway -d
 2012-09-02 07:35:27.495864 423d6940 -1 Initialization timeout, failed to 
 initialize

 I'm not sure where it's timing out, though, what it's trying to contact that 
 it cannot.  Any additional help in getting this going would be greatly 
 appreciated!

Try putting in your ceph.conf:

[client.radosgw.gateway]
debug ms = 1

and see if that gives you more information.

The message you are seeing is because this chunk of code takes too long:
https://github.com/ceph/ceph/blob/v0.48.1argonaut/src/rgw/rgw_main.cc#L401-431
--
To unsubscribe from this list: send the line unsubscribe ceph-devel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


radosgw keeps dying

2012-09-01 Thread Nick Couchman
So, I'm running ceph 0.48.1, I have my mds, mon, and osds up and running, and 
now I'm trying to get radosgw working, as well.  However, I'm running into an 
issue where the radosgw daemon runs for a minute and then exits without any 
explanation - nothing in the log files, system output, etc., to indicate why 
it's quitting.  If I run strace ahead of radosgw I see some Connection timed 
out messages toward the end of the output, but there's no indication as to 
what it's trying to connect to and why it's failing.  Is there any way to get 
radosgw to actually log anything, or send some debug output to the console, so 
I can figure out why it's failing?

Thanks - Nick





This e-mail may contain confidential and privileged material for the sole use 
of the intended recipient.  If this email is not intended for you, or you are 
not responsible for the delivery of this message to the intended recipient, 
please note that this message may contain SEAKR Engineering (SEAKR) 
Privileged/Proprietary Information.  In such a case, you are strictly 
prohibited from downloading, photocopying, distributing or otherwise using this 
message, its contents or attachments in any way.  If you have received this 
message in error, please notify us immediately by replying to this e-mail and 
delete the message from your mailbox.  Information contained in this message 
that does not relate to the business of SEAKR is neither endorsed by nor 
attributable to SEAKR.
--
To unsubscribe from this list: send the line unsubscribe ceph-devel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html