QEMU/Libvirt + librbd issue using Luminous 12.2.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 --persistent'

xml contents:
<disk type='network' device='disk' snapshot='no'>
 <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
  <source protocol='rbd' name='libvirt-pool/foo'>
    <host name='X.X.X.X' port='xxxx'/>
    <host name='X.X.X.X' port='xxxx'/>
    <host name='X.X.X.X' port='xxxx'/>
   </source>
   <auth username='libvirt'>
     <secret type='ceph' uuid='XXXX'/>
   </auth>
   <target dev='sdb' bus='scsi'/>
   <shareable/>
</disk>

I receive this error:
~# virsh attach-device $vm foo.xml --persistent
error: Failed to attach device from foo.xml
error: internal error: unable to execute QEMU command 'device_add': Property 'scsi-hd.drive' can't find value 'drive-scsi0-0-0-1'

I've tried different things with the XML, but nothing seems to work, always failing with the above error.  This does _not_ happen with our cluster running 12.2.4, the same exact command with a cluster using an identical configuration (for all intents and purposes).

Any thoughts?  Hard to believe I'm the only one to hit this if it's indeed a bug, but I haven't found anyone else having the issue through interweb searches.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux