All of lore.kernel.org
 help / color / mirror / Atom feed
* FW: Regarding Ceph Debug Logs
@ 2017-07-14 11:14 Roshni Chatterjee
  0 siblings, 0 replies; only message in thread
From: Roshni Chatterjee @ 2017-07-14 11:14 UTC (permalink / raw)
  To: ceph-devel-u79uwXL29TY76Z2rM5mHXA, ceph-users-Qp0mS5GaXlQ


[-- Attachment #1.1: Type: text/plain, Size: 906 bytes --]

Hi All,

I am new to ceph and I am trying to debug a few scenarios . I have 2 queries as listed below  -
1.Regarding enabling debug logs for ceph
2.Regarding internal processes of ceph

QUERY 1
I have enabled the logs by setting the log level in ceph conf file attached above -

But none of this is generating information that could be used in debugging .
Also ,
The following CLI generates log as attached in cli_log attachment -
What are the following codes in the log like -
7f12a474c700 , 7f12895af700

QUERY 2

While running Ceph on LTTng , I came across multiple processes spawned like tp_osd_tp ,tp_osd_recov, tp_osd_disk, osd_op ,tp_osd_cmd.
Why are these processes being spawned so many times and what is the function if each ?
If someone can share any document/link to understand the ceph internals processes/functions/working would be highly appreciated.

Regards,
Roshni

[-- Attachment #1.2: Type: text/html, Size: 4511 bytes --]

[-- Attachment #2: ceph_config.txt --]
[-- Type: text/plain, Size: 900 bytes --]

[global]
fsid = ebc528fa-61f5-44be-b3df-5af92fce9379
mon_initial_members = ceph-admin
mon_host = 10.0.4.118
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
osd pool default size = 1  # Write an object n times.
osd pool default min size = 1 # Allow writing n copy in a degraded state.
osd pool default pg num = 128
osd pool default pgp num = 128
debug ms = 1/5
debug tp log = 1/20
osd_tracing = true
osd_objectstore_tracing = true
rados_tracing = true
rbd_tracing = true

[mon]
        debug mon = 20
        debug paxos = 1/5
        debug auth = 2

[osd]
        debug osd = 1/5
        debug filestore = 1/5
        debug journal = 1
        debug monc = 5/20

[mds]
        debug mds = 1
        debug mds balancer = 1
        debug mds log = 1
        debug mds migrator = 1

log to syslog = true
err to syslog = true

[-- Attachment #3: cli_log.txt --]
[-- Type: text/plain, Size: 627 bytes --]

root@ceph-admin:/home/cephuser/cluster# rbd --pool mypool snap create --snap mysnap_myimage18 myimage
2017-07-13 17:20:41.107210 7f12a4759100  1 -- :/0 messenger.start
2017-07-13 17:20:41.108308 7f12a4759100  1 -- :/782351370 --> 10.0.4.118:6789/0 -- auth(proto 0 30 bytes epoch 0) v1 -- ?+0 0x557b971d75a0 con 0x557b971d7020
2017-07-13 17:20:41.111972 7f12a474c700  1 -- 10.0.4.118:0/782351370 learned my addr 10.0.4.118:0/782351370
2017-07-13 17:20:41.112625 7f12895af700  1 -- 10.0.4.118:0/782351370 <== mon.0 10.0.4.118:6789/0 1 ==== mon_map magic: 0 v1 ==== 200+0+0 (2014826046 0 0) 0x7f1274000bc0 con 0x557b971d7020

[-- Attachment #4: Type: text/plain, Size: 178 bytes --]

_______________________________________________
ceph-users mailing list
ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-14 11:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-14 11:14 FW: Regarding Ceph Debug Logs Roshni Chatterjee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.