Adolf Augustin
2015-Nov-24 12:33 UTC
[libvirt-users] libvirtd doesn't attach Sheepdog storage VDI disk correctly
Hi, I am trying to use libvirt with sheepdog. I am using Debian 8 stable with libvirt V1.21.0 I am encountering a Problem which already has been reported. ================================================================See here: http://www.spinics.net/lists/virt-tools/msg08363.html ================================================================ qemu/libvirtd is not setting the path Variable correctly. Every time I convert an image to sheepdog ============================================qemu-img convert /home/user/temp/debian-8.2.0-amd64-CD-1.iso sheepdog:debian.iso =========================================== the dump of the image says ============================================virsh # vol-dumpxml --pool herd debian.iso <volume type='network'> <name>debian.iso</name> <key>herd/debian.iso</key> <source> </source> <capacity unit='bytes'>657457152</capacity> <allocation unit='bytes'>658505728</allocation> <target> <path>debian.iso</path> <format type='unknown'/> </target> </volume> ============================================= It should read ==============================================... <path>sheepdog:debian.iso</path> ... ============================================== I ungraded the system to Debain testing now running: ===============================================virsh # version Compiled against library: libvirt 1.2.21 Using library: libvirt 1.2.21 Using API: QEMU 1.2.21 Running hypervisor: QEMU 2.4.0 =============================================== The Problem ist still existent. It should have been solved in libvirt 1.2.17 See here: https://libvirt.org/news.html ====================================================.... update sheepdog client] update sheepdog client path (Vasiliy Tolstov), ..... ==================================================== Nevertheless it doesn't work in Debian 8 testing (libvirt 1.2.21). -- Best regards Adolf Augustin E-mail: adolf.augustin@zettamail.de PGP-Key: 0xC4709AFE Fingerprint: 1806 35FA CAE8 0202 B7AF 12B9 5956 5BC0 C470 9AFE
Vasiliy Tolstov
2015-Nov-30 07:57 UTC
Re: [libvirt-users] libvirtd doesn't attach Sheepdog storage VDI disk correctly
2015-11-24 15:33 GMT+03:00 Adolf Augustin <adolf.augustin@zettamail.de>:> t should have been solved in libvirt 1.2.17 > > See here: https://libvirt.org/news.html > > ====================================================> .... > update sheepdog client] update sheepdog client path (Vasiliy Tolstov), > ..... > ====================================================> > Nevertheless it doesn't work in Debian 8 testing (libvirt 1.2.21).This commit does not related to you issue. Also how you define the volume ? -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru
Adolf Augustin
2015-Nov-30 10:30 UTC
Re: [libvirt-users] libvirtd doesn't attach Sheepdog storage VDI disk correctly
Hi, I tried two different approaches. 1.) Convert an existing Image with qemu-img ===============================================qemu-img convert -t directsync lubuntu-14.04.3-desktop-i386.iso sheepdog:lubuntu1404.iso ================================================ results in ===================================================root@orion2:/var/lib/libvirt/xml# virsh vol-dumpxml --pool herd lubuntu1404.iso <volume type='network'> <name>lubuntu1404.iso</name> <key>herd/lubuntu1404.iso</key> <source> </source> <capacity unit='bytes'>750780416</capacity> <allocation unit='bytes'>750780416</allocation> <target> <path>lubuntu1404.iso</path> <format type='unknown'/> </target> </volume> ===================================================== 2.) creating a new volum using an xml-file (myvol.xml) ===================================================<volume> <name>myvol</name> <key>sheep/myvol</key> <source> </source> <capacity unit='bytes'>53687091200</capacity> <allocation unit='bytes'>53687091200</allocation> <target> <path>sheepdog:myvol</path> <format type='unknown'/> <permissions> <mode>00</mode> <owner>0</owner> <group>0</group> </permissions> </target> </volume> ==================================================== now creating the volume =======================================================virsh vol-create herd myvol.xml ======================================================== and now you see: =========================================================root@orion2:/var/lib/libvirt/xml# virsh vol-dumpxml --pool herd myvol <volume type='network'> <name>myvol</name> <key>herd/myvol</key> <source> </source> <capacity unit='bytes'>53687091200</capacity> <allocation unit='bytes'>0</allocation> <target> <path>myvol</path> <format type='unknown'/> <permissions> <mode>00</mode> <owner>0</owner> <group>0</group> </permissions> </target> </volume> ========================================================== Is it possible to modify the path-variable manually ? Am 30.11.2015 um 08:57 schrieb Vasiliy Tolstov:> 2015-11-24 15:33 GMT+03:00 Adolf Augustin <adolf.augustin@zettamail.de>: >> t should have been solved in libvirt 1.2.17 >> >> See here: https://libvirt.org/news.html >> >> ====================================================>> .... >> update sheepdog client] update sheepdog client path (Vasiliy Tolstov), >> ..... >> ====================================================>> >> Nevertheless it doesn't work in Debian 8 testing (libvirt 1.2.21). > > > This commit does not related to you issue. Also how you define the volume ? >-- Best regards Adolf Augustin E-mail: adolf.augustin@zettamail.de PGP-Key: 0xC4709AFE Fingerprint: 1806 35FA CAE8 0202 B7AF 12B9 5956 5BC0 C470 9AFE
Possibly Parallel Threads
- Re: libvirtd doesn't attach Sheepdog storage VDI disk correctly
- Re: libvirtd doesn't attach Sheepdog storage VDI disk correctly
- virt-manager 1.3.1 - broken ?? (Ubuntu 14.04 )
- libvirt support for sheepdog file system
- problem with sheepdog backend when creating a pool