All of lore.kernel.org
 help / color / mirror / Atom feed
* debugging librbd to a VM
@ 2016-08-26 21:08 Deneau, Tom
  2016-08-29  8:03 ` Mykola Golub
  0 siblings, 1 reply; 7+ messages in thread
From: Deneau, Tom @ 2016-08-26 21:08 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

I have two small clusters configured with the same version of Ceph and the same OS version.
(different processor hardware)

On these clusters I have bootable RBD images that I expect a VM to boot from.
On one cluster, the VM does not boot from the image.  On the other cluster, it boots fine.
On the failing cluster, a VM can boot fine from the base qcow2 image from which the rbd image was created.  It's only rbd images that are causing problems for the VM.

I would like to enable some debug logging that could tell where the two clusters are diverging.

I tried adding
        debug rbd = 20
        log file = /tmp/cbt/ceph/log/$name.log

I do see some rbd debug messages to stderr during operations like rbd clone, etc. but I don't see any log files created in /tmp/cbt/ceph or /var/log/ceph or any messages when librbd is being used by say qemu-img convert, or by qemu-kvm.

Is there a way to see detailed debug messages for librbd?

Or is there a better way to see where things are diverging between these two clusters?
(note: I tried lttng but could not get it to record anything)

-- Tom

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-30  4:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-26 21:08 debugging librbd to a VM Deneau, Tom
2016-08-29  8:03 ` Mykola Golub
2016-08-29 18:33   ` Deneau, Tom
2016-08-30  4:54     ` Mykola Golub
2016-08-29 22:29   ` Brad Hubbard
2016-08-29 22:53     ` Deneau, Tom
2016-08-29 23:12       ` Brad Hubbard

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.