Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-10-02 Thread Andre Goree
On 2018/10/02 2:03 pm, Andre Goree wrote: On 2018/10/02 1:54 pm, Jason Dillaman wrote: On Tue, Oct 2, 2018 at 1:48 PM Andre Goree wrote: I'm actually not so sure the libvirt user has write access to the location -- will libvirt automatically try to write to the file (given that it's a

Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-10-02 Thread Andre Goree
On 2018/10/02 1:54 pm, Jason Dillaman wrote: On Tue, Oct 2, 2018 at 1:48 PM Andre Goree wrote: I'm actually not so sure the libvirt user has write access to the location -- will libvirt automatically try to write to the file (given that it's a setting in ceph.conf)? I just confirmed that

Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-10-02 Thread Jason Dillaman
On Tue, Oct 2, 2018 at 1:48 PM Andre Goree wrote: > > On 2018/10/02 1:29 pm, Jason Dillaman wrote: > > On Tue, Oct 2, 2018 at 1:25 PM Andre Goree wrote: > >> > >> > >> Unfortunately, it would appear that I'm not getting anything in the > >> logs > >> _but_ the creation of the rbd image -- i.e.,

Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-10-02 Thread Andre Goree
On 2018/10/02 1:29 pm, Jason Dillaman wrote: On Tue, Oct 2, 2018 at 1:25 PM Andre Goree wrote: Unfortunately, it would appear that I'm not getting anything in the logs _but_ the creation of the rbd image -- i.e., nothing regarding the attempt to attach it via libvirt. Here are the logs,

Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-10-02 Thread Jason Dillaman
On Tue, Oct 2, 2018 at 1:25 PM Andre Goree wrote: > > On 2018/10/02 10:26 am, Andre Goree wrote: > > On 2018/10/02 9:54 am, Jason Dillaman wrote: > >> Perhaps that pastebin link has the wrong log pasted? The provided log > >> looks like it's associated with the creation of image > >>

Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-10-02 Thread Andre Goree
On 2018/10/02 10:26 am, Andre Goree wrote: On 2018/10/02 9:54 am, Jason Dillaman wrote: Perhaps that pastebin link has the wrong log pasted? The provided log looks like it's associated with the creation of image "32635-b6592790-5519-5184-b5ef-5f16b3523250" and not the attachment of an image to

Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-10-02 Thread Andre Goree
On 2018/10/02 9:54 am, Jason Dillaman wrote: Perhaps that pastebin link has the wrong log pasted? The provided log looks like it's associated with the creation of image "32635-b6592790-5519-5184-b5ef-5f16b3523250" and not the attachment of an image to a VM. On Fri, Sep 28, 2018 at 3:15 PM

Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-10-02 Thread Jason Dillaman
Perhaps that pastebin link has the wrong log pasted? The provided log looks like it's associated with the creation of image "32635-b6592790-5519-5184-b5ef-5f16b3523250" and not the attachment of an image to a VM. On Fri, Sep 28, 2018 at 3:15 PM Andre Goree wrote: > > On 2018/09/28 2:26 pm, Andre

Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-09-28 Thread Andre Goree
On 2018/09/28 2:26 pm, Andre Goree wrote: On 2018/08/21 1:24 pm, Jason Dillaman wrote: Can you collect any librados / librbd debug logs and provide them via pastebin? Just add / tweak the following in your "/etc/ceph/ceph.conf" file's "[client]" section and re-run to gather the logs. [client]

Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-09-28 Thread Andre Goree
On 2018/08/21 1:24 pm, Jason Dillaman wrote: Can you collect any librados / librbd debug logs and provide them via pastebin? Just add / tweak the following in your "/etc/ceph/ceph.conf" file's "[client]" section and re-run to gather the logs. [client] log file = /path/to/a/log/file debug ms = 1

Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-08-21 Thread Jason Dillaman
Can you collect any librados / librbd debug logs and provide them via pastebin? Just add / tweak the following in your "/etc/ceph/ceph.conf" file's "[client]" section and re-run to gather the logs. [client] log file = /path/to/a/log/file debug ms = 1 debug monc = 20 debug objecter = 20 debug

Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-08-21 Thread Konstantin Shalygin
On 08/21/2018 11:44 PM, Andre Goree wrote: Thank you for your reply. Interestingly, the same (or similar enough) settings still fail here.  Which version of libvirt are you using?  I think maybe this is a libvirt or QEMU bug, and not specifically Ceph...? ~# qemu-system-x86_64 --version

Re: [ceph-users] QEMU/Libvirt + librbd issue using Luminous 12.2.7

2018-08-21 Thread Konstantin Shalygin
This issue first started while using Luminous 12.2.5, I upgraded to 12.2.7 and it's still present.  This issue is _not_ present in 12.2.4. With Ceph 12.2.4, using QEMU/KVM + Libvirt, I'm able to mount an rbd image using the following syntax and populated xml: 'virsh attach-device $vm foo.xml