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 |
[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
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
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com