
------=_Part_4086_1777656894.1367880336890 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I'm trying to export a VM from KVM. It's a Fedora14 machine. I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name It starts to buid the umage but in the end I have an error message: virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information Something wrong with the guestfs? Jose -- Jose Ferradeira http://www.logicworks.pt ------=_Part_4086_1777656894.1367880336890 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><body><div style="font-family: Times New Roman; font-size: 10pt; color: #000000"><div>I'm trying to export a VM from KVM. It's a Fedora14 machine.<br></div><div>I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name<br></div><div><br></div><div>It starts to buid the umage but in the end I have an error message:<br></div><div>virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information<br><br></div><div>Something wrong with the guestfs?<br></div><div><br></div><div>Jose<br></div><div><br></div><div>-- <br></div><div><span name="x"></span><hr style="width: 100%; height: 2px;" data-mce-style="width: 100%; height: 2px;">Jose Ferradeira<br>http://www.logicworks.pt<br><span name="x"></span><br></div></div></body></html> ------=_Part_4086_1777656894.1367880336890--

checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory<br>pick= ed vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc1= 8.x86_64 exists<br>checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is = a directory<br>picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/m= odules/3.8.11-200.fc18.x86_64 exists<br>checking modpath /lib/modules/3.8.8= -202.fc18.x86_64 is a directory<br>picked vmlinuz-3.8.8-202.fc18.x86_64 bec= ause modpath /lib/modules/3.8.8-202.fc18.x86_64 exists<br>supermin helper [= 00002ms] finished creating kernel<br>supermin helper [00003ms] visiting /us= r/lib64/guestfs/supermin.d<br>supermin helper [00003ms] visiting /usr/lib64= /guestfs/supermin.d/base.img<br>supermin helper [00010ms] visiting /usr/lib= 64/guestfs/supermin.d/daemon.img<br>supermin helper [00052ms] visiting /usr= /lib64/guestfs/supermin.d/hostfiles<br>supermin helper [00748ms] visiting /= usr/lib64/guestfs/supermin.d/init.img<br>supermin helper [00762ms] visiting= /usr/lib64/guestfs/supermin.d/udev-rules.img<br>supermin helper [00770ms] = adding kernel modules<br>supermin helper [00898ms] finished creating applia= nce<br>libguestfs: checksum of existing appliance: 7705d920c064a722def20ac2= 5b6fb162ceec1019efac541dacfea976a5540326<br>libguestfs: [06509ms] begin bui= lding supermin appliance<br>libguestfs: [06509ms] run supermin-helper<br>li= bguestfs: command: run: febootstrap-supermin-helper<br>libguestfs: command:= run: \ --verbose<br>libguestfs: command: run: \ -u 36<br>libguestfs: comma= nd: run: \ -g 36<br>libguestfs: command: run: \ --copy-kernel<br>libguestfs= : command: run: \ -f ext2<br>libguestfs: command: run: \ /usr/lib64/guestfs= /supermin.d<br>libguestfs: command: run: \ x86_64<br>libguestfs: command: r= un: \ /var/tmp/guestfs.uYx5Jb/kernel<br>libguestfs: command: run: \ /var/tm=
supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d<br>superm= in helper [02563ms] visiting /usr/lib64/guestfs/supermin.d/base.img<br>supe= rmin helper [11451ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img<br>= supermin helper [11522ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles<= br>supermin helper [38004ms] visiting /usr/lib64/guestfs/supermin.d/init.im= g<br>supermin helper [38010ms] visiting /usr/lib64/guestfs/supermin.d/udev-= rules.img<br>supermin helper [38016ms] adding kernel modules<br>supermin he= lper [62584ms] closing ext2 filesystem<br>supermin helper [62585ms] finishe= d creating appliance<br>libguestfs: [69110ms] finished building supermin ap=
------=_Part_4137_807461807.1367884371957 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit This is what I get if run LIBGUESTFS_DEBUG=1 virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name Fedora14.qcow2: 100% [===============================================]D 0h59m31s libguestfs: create: flags = 0, handle = 0x2d8fdd0 libguestfs: launch: attach-method=libvirt libguestfs: launch: tmpdir=/tmp/libguestfs4jk5Wh libguestfs: launch: umask=0022 libguestfs: launch: euid=36 libguestfs: libvirt version = 10002 (0.10.2) libguestfs: [00000ms] connect to libvirt libguestfs: opening libvirt handle: URI = NULL, auth = virConnectAuthPtrDefault, flags = 0 libguestfs: successfully opened libvirt handle: conn = 0x2d7b690 libguestfs: [00164ms] get libvirt capabilities libguestfs: [05465ms] parsing capabilities XML libguestfs: [05467ms] build appliance libguestfs: command: run: febootstrap-supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ -u 36 libguestfs: command: run: \ -g 36 libguestfs: command: run: \ -f checksum libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ x86_64 supermin helper [00002ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00002ms] inputs[0] = /usr/lib64/guestfs/supermin.d checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists supermin helper [00002ms] finished creating kernel supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d/base.img supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img supermin helper [00052ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles supermin helper [00748ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [00762ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img supermin helper [00770ms] adding kernel modules supermin helper [00898ms] finished creating appliance libguestfs: checksum of existing appliance: 7705d920c064a722def20ac25b6fb162ceec1019efac541dacfea976a5540326 libguestfs: [06509ms] begin building supermin appliance libguestfs: [06509ms] run supermin-helper libguestfs: command: run: febootstrap-supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ -u 36 libguestfs: command: run: \ -g 36 libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ x86_64 libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/kernel libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/initrd libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/root supermin helper [00001ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.uYx5Jb/kernel, initrd = /var/tmp/guestfs.uYx5Jb/initrd, appliance = /var/tmp/guestfs.uYx5Jb/root supermin helper [00001ms] inputs[0] = /usr/lib64/guestfs/supermin.d checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists supermin helper [00110ms] finished creating kernel supermin helper [02561ms] finished mke2fs supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d/base.img supermin helper [11451ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img supermin helper [11522ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles supermin helper [38004ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [38010ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img supermin helper [38016ms] adding kernel modules supermin helper [62584ms] closing ext2 filesystem supermin helper [62585ms] finished creating appliance libguestfs: [69110ms] finished building supermin appliance libguestfs: command: run: rm libguestfs: command: run: \ -rf /var/tmp/guestfs.uYx5Jb libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -b /var/tmp/.guestfs-36/root.14358 libguestfs: command: run: \ -o backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot1 Formatting '/tmp/libguestfs4jk5Wh/snapshot1', fmt=qcow2 size=4294967296 backing_file='/var/tmp/.guestfs-36/root.14358' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -b /tmp/etlVovb09U libguestfs: command: run: \ -o backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot2 Formatting '/tmp/libguestfs4jk5Wh/snapshot2', fmt=qcow2 size=446464 backing_file='/tmp/etlVovb09U' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off libguestfs: [69351ms] create libvirt XML virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information libguestfs: closing guestfs handle 0x2d8fdd0 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfs4jk5Wh ----- Mensagem original ----- De: suporte@logicworks.pt Para: Users@ovirt.org Enviadas: Segunda-feira, 6 Maio, 2013 23:45:36 Assunto: [Users] v2v error I'm trying to export a VM from KVM. It's a Fedora14 machine. I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name It starts to buid the umage but in the end I have an error message: virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information Something wrong with the guestfs? Jose -- Jose Ferradeira http://www.logicworks.pt _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ------=_Part_4137_807461807.1367884371957 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: Times New Roman; font-size: 10pt; co= lor: #000000"><div>This is what I get if run LIBGUESTFS_DEBUG=3D1 virt-v2v = -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.loc= al:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name<br></div><div><b= r></div><div>Fedora14.qcow2: 100% [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D]D 0h59m31s<br>libguestfs: create: flags =3D 0, = handle =3D 0x2d8fdd0<br>libguestfs: launch: attach-method=3Dlibvirt<br>libg= uestfs: launch: tmpdir=3D/tmp/libguestfs4jk5Wh<br>libguestfs: launch: umask= =3D0022<br>libguestfs: launch: euid=3D36<br>libguestfs: libvirt version =3D= 10002 (0.10.2)<br>libguestfs: [00000ms] connect to libvirt<br>libguestfs: = opening libvirt handle: URI =3D NULL, auth =3D virConnectAuthPtrDefault, fl= ags =3D 0<br>libguestfs: successfully opened libvirt handle: conn =3D 0x2d7= b690<br>libguestfs: [00164ms] get libvirt capabilities<br>libguestfs: [0546= 5ms] parsing capabilities XML<br>libguestfs: [05467ms] build appliance<br>l= ibguestfs: command: run: febootstrap-supermin-helper<br>libguestfs: command= : run: \ --verbose<br>libguestfs: command: run: \ -u 36<br>libguestfs: comm= and: run: \ -g 36<br>libguestfs: command: run: \ -f checksum<br>libguestfs:= command: run: \ /usr/lib64/guestfs/supermin.d<br>libguestfs: command: run:= \ x86_64<br>supermin helper [00002ms] whitelist =3D (not specified), host_= cpu =3D x86_64, kernel =3D (null), initrd =3D (null), appliance =3D (null)<= br>supermin helper [00002ms] inputs[0] =3D /usr/lib64/guestfs/supermin.d<br= p/guestfs.uYx5Jb/initrd<br>libguestfs: command: run: \ /var/tmp/guestfs.uYx= 5Jb/root<br>supermin helper [00001ms] whitelist =3D (not specified), host_c= pu =3D x86_64, kernel =3D /var/tmp/guestfs.uYx5Jb/kernel, initrd =3D /var/t= mp/guestfs.uYx5Jb/initrd, appliance =3D /var/tmp/guestfs.uYx5Jb/root<br>sup= ermin helper [00001ms] inputs[0] =3D /usr/lib64/guestfs/supermin.d<br>check= ing modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory<br>picked vml= inuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_= 64 exists<br>checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a dire= ctory<br>picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules= /3.8.11-200.fc18.x86_64 exists<br>checking modpath /lib/modules/3.8.8-202.f= c18.x86_64 is a directory<br>picked vmlinuz-3.8.8-202.fc18.x86_64 because m= odpath /lib/modules/3.8.8-202.fc18.x86_64 exists<br>supermin helper [00110m= s] finished creating kernel<br>supermin helper [02561ms] finished mke2fs<br= pliance<br>libguestfs: command: run: rm<br>libguestfs: command: run: \ -rf = /var/tmp/guestfs.uYx5Jb<br>libguestfs: command: run: qemu-img<br>libguestfs= : command: run: \ create<br>libguestfs: command: run: \ -f qcow2<br>libgues= tfs: command: run: \ -b /var/tmp/.guestfs-36/root.14358<br>libguestfs: comm= and: run: \ -o backing_fmt=3Draw<br>libguestfs: command: run: \ /tmp/libgue= stfs4jk5Wh/snapshot1<br>Formatting '/tmp/libguestfs4jk5Wh/snapshot1', fmt= =3Dqcow2 size=3D4294967296 backing_file=3D'/var/tmp/.guestfs-36/root.14358'= backing_fmt=3D'raw' encryption=3Doff cluster_size=3D65536 lazy_refcounts= =3Doff<br>libguestfs: command: run: qemu-img<br>libguestfs: command: run: \= create<br>libguestfs: command: run: \ -f qcow2<br>libguestfs: command: run= : \ -b /tmp/etlVovb09U<br>libguestfs: command: run: \ -o backing_fmt=3Draw<= br>libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot2<br>Formattin= g '/tmp/libguestfs4jk5Wh/snapshot2', fmt=3Dqcow2 size=3D446464 backing_file= =3D'/tmp/etlVovb09U' backing_fmt=3D'raw' encryption=3Doff cluster_size=3D65= 536 lazy_refcounts=3Doff<br>libguestfs: [69351ms] create libvirt XML<br>vir= t-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTF= S_DEBUG=3D1 for more information<br>libguestfs: closing guestfs handle 0x2d= 8fdd0 (state 0)<br>libguestfs: command: run: rm<br>libguestfs: command: run= : \ -rf /tmp/libguestfs4jk5Wh<br><br></div><div><br></div><div><br></div><h= r id=3D"zwchr"><div style=3D"color:#000;font-weight:normal;font-style:norma= l;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12p= t;"><b>De: </b>suporte@logicworks.pt<br><b>Para: </b>Users@ovirt.org<br><b>= Enviadas: </b>Segunda-feira, 6 Maio, 2013 23:45:36<br><b>Assunto: </b>[User= s] v2v error<br><div><br></div><div style=3D"font-family: Times New Roman; = font-size: 10pt; color: #000000"><div>I'm trying to export a VM from KVM. I= t's a Fedora14 machine.<br></div><div>I run: virt-v2v -i libvirt -ic qemu+s= sh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of = qcow2 -oa sparse -n ovirtmgmt VM_Name<br></div><div><br></div><div>It start= s to buid the umage but in the end I have an error message:<br></div><div>v= irt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUES= TFS_DEBUG=3D1 for more information<br><div><br></div></div><div>Something w= rong with the guestfs?<br></div><div><br></div><div>Jose<br></div><div><br>= </div><div>-- <br></div><div><span></span><hr style=3D"width: 100%; height:= 2px;">Jose Ferradeira<br>http://www.logicworks.pt<br><span></span><br></di= v></div><br>_______________________________________________<br>Users mailin= g list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<= br></div><div><br></div></div></body></html> ------=_Part_4137_807461807.1367884371957--

This is a multi-part message in MIME format. --------------010206040401030402090605 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi, I had the same problem some weeks ago. After many hours of try an error I went another way. I made a new VM on the ovirt engine with the same parameter than the kvm VM. Especially the "Allocation Policy" of the virtual disk is important (Preallocated for raw images and Thin Provision for qcow images). Then I export the VM. Then I copy the image from the KVM server to the ovirt export folder and override the empty one. Please check the permissions. Now you can import the VM. I go this way with a lot of linux and windows VMs. Regards, Michael Am 07.05.2013 01:52, schrieb suporte@logicworks.pt:
This is what I get if run LIBGUESTFS_DEBUG=1 virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name
Fedora14.qcow2: 100% [===============================================]D 0h59m31s libguestfs: create: flags = 0, handle = 0x2d8fdd0 libguestfs: launch: attach-method=libvirt libguestfs: launch: tmpdir=/tmp/libguestfs4jk5Wh libguestfs: launch: umask=0022 libguestfs: launch: euid=36 libguestfs: libvirt version = 10002 (0.10.2) libguestfs: [00000ms] connect to libvirt libguestfs: opening libvirt handle: URI = NULL, auth = virConnectAuthPtrDefault, flags = 0 libguestfs: successfully opened libvirt handle: conn = 0x2d7b690 libguestfs: [00164ms] get libvirt capabilities libguestfs: [05465ms] parsing capabilities XML libguestfs: [05467ms] build appliance libguestfs: command: run: febootstrap-supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ -u 36 libguestfs: command: run: \ -g 36 libguestfs: command: run: \ -f checksum libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ x86_64 supermin helper [00002ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00002ms] inputs[0] = /usr/lib64/guestfs/supermin.d checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists supermin helper [00002ms] finished creating kernel supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d/base.img supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img supermin helper [00052ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles supermin helper [00748ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [00762ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img supermin helper [00770ms] adding kernel modules supermin helper [00898ms] finished creating appliance libguestfs: checksum of existing appliance: 7705d920c064a722def20ac25b6fb162ceec1019efac541dacfea976a5540326 libguestfs: [06509ms] begin building supermin appliance libguestfs: [06509ms] run supermin-helper libguestfs: command: run: febootstrap-supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ -u 36 libguestfs: command: run: \ -g 36 libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ x86_64 libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/kernel libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/initrd libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/root supermin helper [00001ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.uYx5Jb/kernel, initrd = /var/tmp/guestfs.uYx5Jb/initrd, appliance = /var/tmp/guestfs.uYx5Jb/root supermin helper [00001ms] inputs[0] = /usr/lib64/guestfs/supermin.d checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists supermin helper [00110ms] finished creating kernel supermin helper [02561ms] finished mke2fs supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d/base.img supermin helper [11451ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img supermin helper [11522ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles supermin helper [38004ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [38010ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img supermin helper [38016ms] adding kernel modules supermin helper [62584ms] closing ext2 filesystem supermin helper [62585ms] finished creating appliance libguestfs: [69110ms] finished building supermin appliance libguestfs: command: run: rm libguestfs: command: run: \ -rf /var/tmp/guestfs.uYx5Jb libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -b /var/tmp/.guestfs-36/root.14358 libguestfs: command: run: \ -o backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot1 Formatting '/tmp/libguestfs4jk5Wh/snapshot1', fmt=qcow2 size=4294967296 backing_file='/var/tmp/.guestfs-36/root.14358' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -b /tmp/etlVovb09U libguestfs: command: run: \ -o backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot2 Formatting '/tmp/libguestfs4jk5Wh/snapshot2', fmt=qcow2 size=446464 backing_file='/tmp/etlVovb09U' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off libguestfs: [69351ms] create libvirt XML virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information libguestfs: closing guestfs handle 0x2d8fdd0 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfs4jk5Wh
------------------------------------------------------------------------ *De: *suporte@logicworks.pt *Para: *Users@ovirt.org *Enviadas: *Segunda-feira, 6 Maio, 2013 23:45:36 *Assunto: *[Users] v2v error
I'm trying to export a VM from KVM. It's a Fedora14 machine. I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name
It starts to buid the umage but in the end I have an error message: virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information
Something wrong with the guestfs?
Jose
-- ------------------------------------------------------------------------ Jose Ferradeira http://www.logicworks.pt
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Mit freundlichen Grüßen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150 --------------010206040401030402090605 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> Hi,<br> I had the same problem some weeks ago. After many hours of try an error I went another way.<br> I made a new VM on the ovirt engine with the same parameter than the kvm VM. Especially the "Allocation Policy" of the virtual disk is important (Preallocated for raw images and Thin Provision for qcow images). Then I export the VM. Then I copy the image from the KVM server to the ovirt export folder and override the empty one. Please check the permissions. Now you can import the VM. <br> I go this way with a lot of linux and windows VMs.<br> <br> Regards, Michael<br> <br> <br> Am 07.05.2013 01:52, schrieb <a class="moz-txt-link-abbreviated" href="mailto:suporte@logicworks.pt">suporte@logicworks.pt</a>: <blockquote cite="mid:1061424856.4138.1367884371959.JavaMail.root@logicworks.pt" type="cite"> <div style="font-family: Times New Roman; font-size: 10pt; color: #000000"> <div>This is what I get if run LIBGUESTFS_DEBUG=1 virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name<br> </div> <div><br> </div> <div>Fedora14.qcow2: 100% [===============================================]D 0h59m31s<br> libguestfs: create: flags = 0, handle = 0x2d8fdd0<br> libguestfs: launch: attach-method=libvirt<br> libguestfs: launch: tmpdir=/tmp/libguestfs4jk5Wh<br> libguestfs: launch: umask=0022<br> libguestfs: launch: euid=36<br> libguestfs: libvirt version = 10002 (0.10.2)<br> libguestfs: [00000ms] connect to libvirt<br> libguestfs: opening libvirt handle: URI = NULL, auth = virConnectAuthPtrDefault, flags = 0<br> libguestfs: successfully opened libvirt handle: conn = 0x2d7b690<br> libguestfs: [00164ms] get libvirt capabilities<br> libguestfs: [05465ms] parsing capabilities XML<br> libguestfs: [05467ms] build appliance<br> libguestfs: command: run: febootstrap-supermin-helper<br> libguestfs: command: run: \ --verbose<br> libguestfs: command: run: \ -u 36<br> libguestfs: command: run: \ -g 36<br> libguestfs: command: run: \ -f checksum<br> libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d<br> libguestfs: command: run: \ x86_64<br> supermin helper [00002ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)<br> supermin helper [00002ms] inputs[0] = /usr/lib64/guestfs/supermin.d<br> checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists<br> supermin helper [00002ms] finished creating kernel<br> supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d<br> supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d/base.img<br> supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img<br> supermin helper [00052ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles<br> supermin helper [00748ms] visiting /usr/lib64/guestfs/supermin.d/init.img<br> supermin helper [00762ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img<br> supermin helper [00770ms] adding kernel modules<br> supermin helper [00898ms] finished creating appliance<br> libguestfs: checksum of existing appliance: 7705d920c064a722def20ac25b6fb162ceec1019efac541dacfea976a5540326<br> libguestfs: [06509ms] begin building supermin appliance<br> libguestfs: [06509ms] run supermin-helper<br> libguestfs: command: run: febootstrap-supermin-helper<br> libguestfs: command: run: \ --verbose<br> libguestfs: command: run: \ -u 36<br> libguestfs: command: run: \ -g 36<br> libguestfs: command: run: \ --copy-kernel<br> libguestfs: command: run: \ -f ext2<br> libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d<br> libguestfs: command: run: \ x86_64<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/kernel<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/initrd<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/root<br> supermin helper [00001ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.uYx5Jb/kernel, initrd = /var/tmp/guestfs.uYx5Jb/initrd, appliance = /var/tmp/guestfs.uYx5Jb/root<br> supermin helper [00001ms] inputs[0] = /usr/lib64/guestfs/supermin.d<br> checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists<br> supermin helper [00110ms] finished creating kernel<br> supermin helper [02561ms] finished mke2fs<br> supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d<br> supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d/base.img<br> supermin helper [11451ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img<br> supermin helper [11522ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles<br> supermin helper [38004ms] visiting /usr/lib64/guestfs/supermin.d/init.img<br> supermin helper [38010ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img<br> supermin helper [38016ms] adding kernel modules<br> supermin helper [62584ms] closing ext2 filesystem<br> supermin helper [62585ms] finished creating appliance<br> libguestfs: [69110ms] finished building supermin appliance<br> libguestfs: command: run: rm<br> libguestfs: command: run: \ -rf /var/tmp/guestfs.uYx5Jb<br> libguestfs: command: run: qemu-img<br> libguestfs: command: run: \ create<br> libguestfs: command: run: \ -f qcow2<br> libguestfs: command: run: \ -b /var/tmp/.guestfs-36/root.14358<br> libguestfs: command: run: \ -o backing_fmt=raw<br> libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot1<br> Formatting '/tmp/libguestfs4jk5Wh/snapshot1', fmt=qcow2 size=4294967296 backing_file='/var/tmp/.guestfs-36/root.14358' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off<br> libguestfs: command: run: qemu-img<br> libguestfs: command: run: \ create<br> libguestfs: command: run: \ -f qcow2<br> libguestfs: command: run: \ -b /tmp/etlVovb09U<br> libguestfs: command: run: \ -o backing_fmt=raw<br> libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot2<br> Formatting '/tmp/libguestfs4jk5Wh/snapshot2', fmt=qcow2 size=446464 backing_file='/tmp/etlVovb09U' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off<br> libguestfs: [69351ms] create libvirt XML<br> virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information<br> libguestfs: closing guestfs handle 0x2d8fdd0 (state 0)<br> libguestfs: command: run: rm<br> libguestfs: command: run: \ -rf /tmp/libguestfs4jk5Wh<br> <br> </div> <div><br> </div> <div><br> </div> <hr id="zwchr"> <div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b><a class="moz-txt-link-abbreviated" href="mailto:suporte@logicworks.pt">suporte@logicworks.pt</a><br> <b>Para: </b><a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <b>Enviadas: </b>Segunda-feira, 6 Maio, 2013 23:45:36<br> <b>Assunto: </b>[Users] v2v error<br> <div><br> </div> <div style="font-family: Times New Roman; font-size: 10pt; color: #000000"> <div>I'm trying to export a VM from KVM. It's a Fedora14 machine.<br> </div> <div>I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name<br> </div> <div><br> </div> <div>It starts to buid the umage but in the end I have an error message:<br> </div> <div>virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information<br> <div><br> </div> </div> <div>Something wrong with the guestfs?<br> </div> <div><br> </div> <div>Jose<br> </div> <div><br> </div> <div>-- <br> </div> <div><span></span> <hr style="width: 100%; height: 2px;">Jose Ferradeira<br> <a class="moz-txt-link-freetext" href="http://www.logicworks.pt">http://www.logicworks.pt</a><br> <span></span><br> </div> </div> <br> _______________________________________________<br> Users mailing list<br> <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a><br> </div> <div><br> </div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- Mit freundlichen Grüßen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150 </pre> </body> </html> --------------010206040401030402090605--

------=_Part_645_2479486.1367925871636 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Michael,=20 Thanks. One question, Myexported VM has the name Fedora, how can I identify= it on the system?=20 In the export domain i have=20 drwxr-xr-x. 2 vdsm kvm 4096 Apr 12 17:07 dom_md=20 drwxr-xr-x. 3 vdsm kvm 4096 May 7 10:57 images=20 drwxr-xr-x. 4 vdsm kvm 4096 Apr 12 17:08 master=20 and in=20 /mnt/398da79f-53e1-43dd-8836-e58edd4de975/images/2a95635c-3e1b-45a6-be8c-fa= 66317b6475=20 I have=20 -rw-rw----. 1 vdsm kvm 1073741824 May 7 10:59 f89d8ca3-f65c-45a0-8f2e-df2f0= 5014d0b=20 -rw-r--r--. 1 vdsm kvm 269 May 7 10:57 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b= .meta=20 which one is the exported VM?=20 ----- Original Message ----- From: "Michael Wagenknecht" <Wagenknecht@FuH-E.de>=20 To: users@ovirt.org=20 Sent: Ter=C3=A7a-feira, 7 de Maio de 2013 7:33:49=20 Subject: Re: [Users] v2v error=20 Hi,=20 I had the same problem some weeks ago. After many hours of try an error I w= ent another way.=20 I made a new VM on the ovirt engine with the same parameter than the kvm VM= . Especially the "Allocation Policy" of the virtual disk is important (Prea= llocated for raw images and Thin Provision for qcow images). Then I export = the VM. Then I copy the image from the KVM server to the ovirt export folde= r and override the empty one. Please check the permissions. Now you can imp= ort the VM.=20 I go this way with a lot of linux and windows VMs.=20 Regards, Michael=20 Am 07.05.2013 01:52, schrieb suporte@logicworks.pt :=20 This is what I get if run LIBGUESTFS_DEBUG=3D1 virt-v2v -i libvirt -ic qemu= +ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -o= f qcow2 -oa sparse -n ovirtmgmt VM_Name=20 Fedora14.qcow2: 100% [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D]D 0h59m31s=20 libguestfs: create: flags =3D 0, handle =3D 0x2d8fdd0=20 libguestfs: launch: attach-method=3Dlibvirt=20 libguestfs: launch: tmpdir=3D/tmp/libguestfs4jk5Wh=20 libguestfs: launch: umask=3D0022=20 libguestfs: launch: euid=3D36=20 libguestfs: libvirt version =3D 10002 (0.10.2)=20 libguestfs: [00000ms] connect to libvirt=20 libguestfs: opening libvirt handle: URI =3D NULL, auth =3D virConnectAuthPt= rDefault, flags =3D 0=20 libguestfs: successfully opened libvirt handle: conn =3D 0x2d7b690=20 libguestfs: [00164ms] get libvirt capabilities=20 libguestfs: [05465ms] parsing capabilities XML=20 libguestfs: [05467ms] build appliance=20 libguestfs: command: run: febootstrap-supermin-helper=20 libguestfs: command: run: \ --verbose=20 libguestfs: command: run: \ -u 36=20 libguestfs: command: run: \ -g 36=20 libguestfs: command: run: \ -f checksum=20 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d=20 libguestfs: command: run: \ x86_64=20 supermin helper [00002ms] whitelist =3D (not specified), host_cpu =3D x86_6= 4, kernel =3D (null), initrd =3D (null), appliance =3D (null)=20 supermin helper [00002ms] inputs[0] =3D /usr/lib64/guestfs/supermin.d=20 checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory=20 picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203= .fc18.x86_64 exists=20 checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory=20 picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-2= 00.fc18.x86_64 exists=20 checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory=20 picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202= .fc18.x86_64 exists=20 supermin helper [00002ms] finished creating kernel=20 supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d=20 supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d/base.img= =20 supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img= =20 supermin helper [00052ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles= =20 supermin helper [00748ms] visiting /usr/lib64/guestfs/supermin.d/init.img= =20 supermin helper [00762ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules= .img=20 supermin helper [00770ms] adding kernel modules=20 supermin helper [00898ms] finished creating appliance=20 libguestfs: checksum of existing appliance: 7705d920c064a722def20ac25b6fb16= 2ceec1019efac541dacfea976a5540326=20 libguestfs: [06509ms] begin building supermin appliance=20 libguestfs: [06509ms] run supermin-helper=20 libguestfs: command: run: febootstrap-supermin-helper=20 libguestfs: command: run: \ --verbose=20 libguestfs: command: run: \ -u 36=20 libguestfs: command: run: \ -g 36=20 libguestfs: command: run: \ --copy-kernel=20 libguestfs: command: run: \ -f ext2=20 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d=20 libguestfs: command: run: \ x86_64=20 libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/kernel=20 libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/initrd=20 libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/root=20 supermin helper [00001ms] whitelist =3D (not specified), host_cpu =3D x86_6= 4, kernel =3D /var/tmp/guestfs.uYx5Jb/kernel, initrd =3D /var/tmp/guestfs.u= Yx5Jb/initrd, appliance =3D /var/tmp/guestfs.uYx5Jb/root=20 supermin helper [00001ms] inputs[0] =3D /usr/lib64/guestfs/supermin.d=20 checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory=20 picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203= .fc18.x86_64 exists=20 checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory=20 picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-2= 00.fc18.x86_64 exists=20 checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory=20 picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202= .fc18.x86_64 exists=20 supermin helper [00110ms] finished creating kernel=20 supermin helper [02561ms] finished mke2fs=20 supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d=20 supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d/base.img= =20 supermin helper [11451ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img= =20 supermin helper [11522ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles= =20 supermin helper [38004ms] visiting /usr/lib64/guestfs/supermin.d/init.img= =20 supermin helper [38010ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules= .img=20 supermin helper [38016ms] adding kernel modules=20 supermin helper [62584ms] closing ext2 filesystem=20 supermin helper [62585ms] finished creating appliance=20 libguestfs: [69110ms] finished building supermin appliance=20 libguestfs: command: run: rm=20 libguestfs: command: run: \ -rf /var/tmp/guestfs.uYx5Jb=20 libguestfs: command: run: qemu-img=20 libguestfs: command: run: \ create=20 libguestfs: command: run: \ -f qcow2=20 libguestfs: command: run: \ -b /var/tmp/.guestfs-36/root.14358=20 libguestfs: command: run: \ -o backing_fmt=3Draw=20 libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot1=20 Formatting '/tmp/libguestfs4jk5Wh/snapshot1', fmt=3Dqcow2 size=3D4294967296= backing_file=3D'/var/tmp/.guestfs-36/root.14358' backing_fmt=3D'raw' encry= ption=3Doff cluster_size=3D65536 lazy_refcounts=3Doff=20 libguestfs: command: run: qemu-img=20 libguestfs: command: run: \ create=20 libguestfs: command: run: \ -f qcow2=20 libguestfs: command: run: \ -b /tmp/etlVovb09U=20 libguestfs: command: run: \ -o backing_fmt=3Draw=20 libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot2=20 Formatting '/tmp/libguestfs4jk5Wh/snapshot2', fmt=3Dqcow2 size=3D446464 bac= king_file=3D'/tmp/etlVovb09U' backing_fmt=3D'raw' encryption=3Doff cluster_= size=3D65536 lazy_refcounts=3Doff=20 libguestfs: [69351ms] create libvirt XML=20 virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUE= STFS_DEBUG=3D1 for more information=20 libguestfs: closing guestfs handle 0x2d8fdd0 (state 0)=20 libguestfs: command: run: rm=20 libguestfs: command: run: \ -rf /tmp/libguestfs4jk5Wh=20 ----- Original Message ----- De: suporte@logicworks.pt=20 Para: Users@ovirt.org=20 Enviadas: Segunda-feira, 6 Maio, 2013 23:45:36=20 Assunto: [Users] v2v error=20 I'm trying to export a VM from KVM. It's a Fedora14 machine.=20 I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -o= s nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name= =20 It starts to buid the umage but in the end I have an error message:=20 virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUE= STFS_DEBUG=3D1 for more information=20 Something wrong with the guestfs?=20 Jose=20 --=20 Jose Ferradeira=20 http://www.logicworks.pt=20 _______________________________________________=20 Users mailing list=20 Users@ovirt.org=20 http://lists.ovirt.org/mailman/listinfo/users=20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/= users=20 --=20 Mit freundlichen Gr=C3=BC=C3=9Fen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Gesch=C3=A4ftsf=C3=BChrer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150=20 _______________________________________________=20 Users mailing list=20 Users@ovirt.org=20 http://lists.ovirt.org/mailman/listinfo/users=20 ------=_Part_645_2479486.1367925871636 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><= div style=3D'font-family: arial,helvetica,sans-serif; font-size: 10pt; colo= r: #000000'>Hi Michael,<br><br>Thanks. One question, Myexported VM has the = name Fedora, how can I identify it on the system?<br>In the export domain i= have<br>drwxr-xr-x. 2 vdsm kvm 4096 Apr 12 17:07 dom_md<br>drwxr-xr-x. 3 v= dsm kvm 4096 May 7 10:57 images<br>drwxr-xr-x. 4 vdsm kvm 4096 Apr 12= 17:08 master<br><br>and in<br>/mnt/398da79f-53e1-43dd-8836-e58edd4de975/im= ages/2a95635c-3e1b-45a6-be8c-fa66317b6475<br>I have<br>-rw-rw----. 1 vdsm k= vm 1073741824 May 7 10:59 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b<br>-rw= -r--r--. 1 vdsm kvm 269 May = 7 10:57 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b.meta<br><br>which one is the = exported VM?<br><br><hr id=3D"zwchr"><div style=3D"color: rgb(0, 0, 0); fon= t-weight: normal; font-style: normal; text-decoration: none; font-family: H= elvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Michael Wagenkne= cht" <Wagenknecht@FuH-E.de><br><b>To: </b>users@ovirt.org<br><b>Sent:= </b>Ter=C3=A7a-feira, 7 de Maio de 2013 7:33:49<br><b>Subject: </b>Re: [Us= ers] v2v error<br><br> =20 =20 =20 Hi,<br> I had the same problem some weeks ago. After many hours of try an error I went another way.<br> I made a new VM on the ovirt engine with the same parameter than the kvm VM. Especially the "Allocation Policy" of the virtual disk is important (Preallocated for raw images and Thin Provision for qcow images). Then I export the VM. Then I copy the image from the KVM server to the ovirt export folder and override the empty one. Please check the permissions. Now you can import the VM. <br> I go this way with a lot of linux and windows VMs.<br> <br> Regards, Michael<br> <br> <br> Am 07.05.2013 01:52, schrieb <a class=3D"moz-txt-link-abbreviated" href= =3D"mailto:suporte@logicworks.pt" target=3D"_blank">suporte@logicworks.pt</= a>: <blockquote cite=3D"mid:1061424856.4138.1367884371959.JavaMail.root@log= icworks.pt"> <div style=3D"font-family: Times New Roman; font-size: 10pt; color: r= gb(0, 0, 0);"> <div>This is what I get if run LIBGUESTFS_DEBUG=3D1 virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name<br> </div> <div><br> </div> <div>Fedora14.qcow2: 100% [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D]D 0h59m31s<br> libguestfs: create: flags =3D 0, handle =3D 0x2d8fdd0<br> libguestfs: launch: attach-method=3Dlibvirt<br> libguestfs: launch: tmpdir=3D/tmp/libguestfs4jk5Wh<br> libguestfs: launch: umask=3D0022<br> libguestfs: launch: euid=3D36<br> libguestfs: libvirt version =3D 10002 (0.10.2)<br> libguestfs: [00000ms] connect to libvirt<br> libguestfs: opening libvirt handle: URI =3D NULL, auth =3D virConnectAuthPtrDefault, flags =3D 0<br> libguestfs: successfully opened libvirt handle: conn =3D 0x2d7b690<br> libguestfs: [00164ms] get libvirt capabilities<br> libguestfs: [05465ms] parsing capabilities XML<br> libguestfs: [05467ms] build appliance<br> libguestfs: command: run: febootstrap-supermin-helper<br> libguestfs: command: run: \ --verbose<br> libguestfs: command: run: \ -u 36<br> libguestfs: command: run: \ -g 36<br> libguestfs: command: run: \ -f checksum<br> libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d<br> libguestfs: command: run: \ x86_64<br> supermin helper [00002ms] whitelist =3D (not specified), host_cpu =3D x86_64, kernel =3D (null), initrd =3D (null), applia= nce =3D (null)<br> supermin helper [00002ms] inputs[0] =3D /usr/lib64/guestfs/supermin.d<br> checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists<br> supermin helper [00002ms] finished creating kernel<br> supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d<br> supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d/base.img<br> supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img<br> supermin helper [00052ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles<br> supermin helper [00748ms] visiting /usr/lib64/guestfs/supermin.d/init.img<br> supermin helper [00762ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img<br> supermin helper [00770ms] adding kernel modules<br> supermin helper [00898ms] finished creating appliance<br> libguestfs: checksum of existing appliance: 7705d920c064a722def20ac25b6fb162ceec1019efac541dacfea976a5540326<= br> libguestfs: [06509ms] begin building supermin appliance<br> libguestfs: [06509ms] run supermin-helper<br> libguestfs: command: run: febootstrap-supermin-helper<br> libguestfs: command: run: \ --verbose<br> libguestfs: command: run: \ -u 36<br> libguestfs: command: run: \ -g 36<br> libguestfs: command: run: \ --copy-kernel<br> libguestfs: command: run: \ -f ext2<br> libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d<br> libguestfs: command: run: \ x86_64<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/kernel<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/initrd<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/root<br> supermin helper [00001ms] whitelist =3D (not specified), host_cpu =3D x86_64, kernel =3D /var/tmp/guestfs.uYx5Jb/kernel, initrd =3D /var/tmp/guestfs.uYx5Jb/initrd, appliance =3D /var/tmp/guestfs.uYx5Jb/root<br> supermin helper [00001ms] inputs[0] =3D /usr/lib64/guestfs/supermin.d<br> checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists<br> supermin helper [00110ms] finished creating kernel<br> supermin helper [02561ms] finished mke2fs<br> supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d<br> supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d/base.img<br> supermin helper [11451ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img<br> supermin helper [11522ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles<br> supermin helper [38004ms] visiting /usr/lib64/guestfs/supermin.d/init.img<br> supermin helper [38010ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img<br> supermin helper [38016ms] adding kernel modules<br> supermin helper [62584ms] closing ext2 filesystem<br> supermin helper [62585ms] finished creating appliance<br> libguestfs: [69110ms] finished building supermin appliance<br> libguestfs: command: run: rm<br> libguestfs: command: run: \ -rf /var/tmp/guestfs.uYx5Jb<br> libguestfs: command: run: qemu-img<br> libguestfs: command: run: \ create<br> libguestfs: command: run: \ -f qcow2<br> libguestfs: command: run: \ -b /var/tmp/.guestfs-36/root.14358<br=
libguestfs: command: run: \ -o backing_fmt=3Draw<br> libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot1<br> Formatting '/tmp/libguestfs4jk5Wh/snapshot1', fmt=3Dqcow2 size=3D4294967296 backing_file=3D'/var/tmp/.guestfs-36/root.14358= ' backing_fmt=3D'raw' encryption=3Doff cluster_size=3D65536 lazy_refcounts=3Doff<br> libguestfs: command: run: qemu-img<br> libguestfs: command: run: \ create<br> libguestfs: command: run: \ -f qcow2<br> libguestfs: command: run: \ -b /tmp/etlVovb09U<br> libguestfs: command: run: \ -o backing_fmt=3Draw<br> libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot2<br> Formatting '/tmp/libguestfs4jk5Wh/snapshot2', fmt=3Dqcow2 size=3D446464 backing_file=3D'/tmp/etlVovb09U' backing_fmt=3D'raw= ' encryption=3Doff cluster_size=3D65536 lazy_refcounts=3Doff<br> libguestfs: [69351ms] create libvirt XML<br> virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=3D1 for more information<br> libguestfs: closing guestfs handle 0x2d8fdd0 (state 0)<br> libguestfs: command: run: rm<br> libguestfs: command: run: \ -rf /tmp/libguestfs4jk5Wh<br> <br> </div> <div><br> </div> <div><br> </div> <hr id=3D"zwchr"> <div style=3D"color: rgb(0, 0, 0); font-weight: normal; font-style:= normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; fo= nt-size: 12pt;"><b>De: </b><a class=3D"moz-txt-link-abbreviated" href=3D"mailto:suporte@= logicworks.pt" target=3D"_blank">suporte@logicworks.pt</a><br> <b>Para: </b><a class=3D"moz-txt-link-abbreviated" href=3D"mailto= :Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br> <b>Enviadas: </b>Segunda-feira, 6 Maio, 2013 23:45:36<br> <b>Assunto: </b>[Users] v2v error<br> <div><br> </div> <div style=3D"font-family: Times New Roman; font-size: 10pt; colo= r: rgb(0, 0, 0);"> <div>I'm trying to export a VM from KVM. It's a Fedora14 machine.<br> </div> <div>I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name<br> </div> <div><br> </div> <div>It starts to buid the umage but in the end I have an error message:<br> </div> <div>virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=3D1 for more information<= br> <div><br> </div> </div> <div>Something wrong with the guestfs?<br> </div> <div><br> </div> <div>Jose<br> </div> <div><br> </div> <div>-- <br> </div> <div><span></span> <hr style=3D"width: 100%; height: 2px;">Jose Ferradeira<br> <a class=3D"moz-txt-link-freetext" href=3D"http://www.logicwo= rks.pt" target=3D"_blank">http://www.logicworks.pt</a><br> <span></span><br> </div> </div> <br> _______________________________________________<br> Users mailing list<br> <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users@ovirt.= org" target=3D"_blank">Users@ovirt.org</a><br> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovirt.org= /mailman/listinfo/users" target=3D"_blank">http://lists.ovirt.org/mailman/l= istinfo/users</a><br> </div> <div><br> </div> </div> <br> <fieldset class=3D"mimeAttachmentHeader"></fieldset> <br> <pre>_______________________________________________ Users mailing list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users@ovirt.org" targe= t=3D"_blank">Users@ovirt.org</a> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovirt.org/mailman/l= istinfo/users" target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/us= ers</a> </pre> </blockquote> <br> <pre class=3D"moz-signature">--=20 Mit freundlichen Gr=C3=BC=C3=9Fen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Gesch=C3=A4ftsf=C3=BChrer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150 </pre> <br>_______________________________________________<br>Users mailing list= <br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></d= iv><br></div></body></html> ------=_Part_645_2479486.1367925871636--

This is a multi-part message in MIME format. --------------050904070309040709090909 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, the folder images/<imgId> contains the virtual disks. Every disk in a separate folder. You can ignore the .meta file in the images folder. The other one is the image file. You can check it with the command: qemu-img info f89d8ca3-f65c-45a0-8f2e-df2f05014d0b The folder master/vms/<vmId> contains a description file of the vm in the .ovf format. When your VM uses more than one virtual disks, there you can find the imgId of the disks. Regards, Michael Am 07.05.2013 13:24, schrieb suporte@logicworks.pt:
Hi Michael,
Thanks. One question, Myexported VM has the name Fedora, how can I identify it on the system? In the export domain i have drwxr-xr-x. 2 vdsm kvm 4096 Apr 12 17:07 dom_md drwxr-xr-x. 3 vdsm kvm 4096 May 7 10:57 images drwxr-xr-x. 4 vdsm kvm 4096 Apr 12 17:08 master
and in /mnt/398da79f-53e1-43dd-8836-e58edd4de975/images/2a95635c-3e1b-45a6-be8c-fa66317b6475 I have -rw-rw----. 1 vdsm kvm 1073741824 May 7 10:59 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b -rw-r--r--. 1 vdsm kvm 269 May 7 10:57 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b.meta
which one is the exported VM?
------------------------------------------------------------------------ *From: *"Michael Wagenknecht" <Wagenknecht@FuH-E.de> *To: *users@ovirt.org *Sent: *Terça-feira, 7 de Maio de 2013 7:33:49 *Subject: *Re: [Users] v2v error
Hi, I had the same problem some weeks ago. After many hours of try an error I went another way. I made a new VM on the ovirt engine with the same parameter than the kvm VM. Especially the "Allocation Policy" of the virtual disk is important (Preallocated for raw images and Thin Provision for qcow images). Then I export the VM. Then I copy the image from the KVM server to the ovirt export folder and override the empty one. Please check the permissions. Now you can import the VM. I go this way with a lot of linux and windows VMs.
Regards, Michael
Am 07.05.2013 01:52, schrieb suporte@logicworks.pt:
This is what I get if run LIBGUESTFS_DEBUG=1 virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name
Fedora14.qcow2: 100% [===============================================]D 0h59m31s libguestfs: create: flags = 0, handle = 0x2d8fdd0 libguestfs: launch: attach-method=libvirt libguestfs: launch: tmpdir=/tmp/libguestfs4jk5Wh libguestfs: launch: umask=0022 libguestfs: launch: euid=36 libguestfs: libvirt version = 10002 (0.10.2) libguestfs: [00000ms] connect to libvirt libguestfs: opening libvirt handle: URI = NULL, auth = virConnectAuthPtrDefault, flags = 0 libguestfs: successfully opened libvirt handle: conn = 0x2d7b690 libguestfs: [00164ms] get libvirt capabilities libguestfs: [05465ms] parsing capabilities XML libguestfs: [05467ms] build appliance libguestfs: command: run: febootstrap-supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ -u 36 libguestfs: command: run: \ -g 36 libguestfs: command: run: \ -f checksum libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ x86_64 supermin helper [00002ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00002ms] inputs[0] = /usr/lib64/guestfs/supermin.d checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists supermin helper [00002ms] finished creating kernel supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d/base.img supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img supermin helper [00052ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles supermin helper [00748ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [00762ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img supermin helper [00770ms] adding kernel modules supermin helper [00898ms] finished creating appliance libguestfs: checksum of existing appliance: 7705d920c064a722def20ac25b6fb162ceec1019efac541dacfea976a5540326 libguestfs: [06509ms] begin building supermin appliance libguestfs: [06509ms] run supermin-helper libguestfs: command: run: febootstrap-supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ -u 36 libguestfs: command: run: \ -g 36 libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ x86_64 libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/kernel libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/initrd libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/root supermin helper [00001ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.uYx5Jb/kernel, initrd = /var/tmp/guestfs.uYx5Jb/initrd, appliance = /var/tmp/guestfs.uYx5Jb/root supermin helper [00001ms] inputs[0] = /usr/lib64/guestfs/supermin.d checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists supermin helper [00110ms] finished creating kernel supermin helper [02561ms] finished mke2fs supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d/base.img supermin helper [11451ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img supermin helper [11522ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles supermin helper [38004ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [38010ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img supermin helper [38016ms] adding kernel modules supermin helper [62584ms] closing ext2 filesystem supermin helper [62585ms] finished creating appliance libguestfs: [69110ms] finished building supermin appliance libguestfs: command: run: rm libguestfs: command: run: \ -rf /var/tmp/guestfs.uYx5Jb libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -b /var/tmp/.guestfs-36/root.14358 libguestfs: command: run: \ -o backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot1 Formatting '/tmp/libguestfs4jk5Wh/snapshot1', fmt=qcow2 size=4294967296 backing_file='/var/tmp/.guestfs-36/root.14358' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -b /tmp/etlVovb09U libguestfs: command: run: \ -o backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot2 Formatting '/tmp/libguestfs4jk5Wh/snapshot2', fmt=qcow2 size=446464 backing_file='/tmp/etlVovb09U' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off libguestfs: [69351ms] create libvirt XML virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information libguestfs: closing guestfs handle 0x2d8fdd0 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfs4jk5Wh
------------------------------------------------------------------------ *De: *suporte@logicworks.pt *Para: *Users@ovirt.org *Enviadas: *Segunda-feira, 6 Maio, 2013 23:45:36 *Assunto: *[Users] v2v error
I'm trying to export a VM from KVM. It's a Fedora14 machine. I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name
It starts to buid the umage but in the end I have an error message: virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information
Something wrong with the guestfs?
Jose
-- ------------------------------------------------------------------------ Jose Ferradeira http://www.logicworks.pt
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Mit freundlichen Grüßen
Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Mit freundlichen Grüßen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150 --------------050904070309040709090909 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> Hi,<br> the folder images/<imgId> contains the virtual disks. Every disk in a separate folder. <br> You can ignore the .meta file in the images folder.<br> The other one is the image file. You can check it with the command:<br> qemu-img info f89d8ca3-f65c-45a0-8f2e-df2f05014d0b<br> <br> The folder master/vms/<vmId> contains a description file of the vm in the .ovf format.<br> When your VM uses more than one virtual disks, there you can find the imgId of the disks.<br> <br> Regards, Michael<br> <br> <br> Am 07.05.2013 13:24, schrieb <a class="moz-txt-link-abbreviated" href="mailto:suporte@logicworks.pt">suporte@logicworks.pt</a>: <blockquote cite="mid:31679512.646.1367925871638.JavaMail.ferra@pc-ferra" type="cite"> <style type="text/css">p { margin: 0; }</style> <div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000">Hi Michael,<br> <br> Thanks. One question, Myexported VM has the name Fedora, how can I identify it on the system?<br> In the export domain i have<br> drwxr-xr-x. 2 vdsm kvm 4096 Apr 12 17:07 dom_md<br> drwxr-xr-x. 3 vdsm kvm 4096 May 7 10:57 images<br> drwxr-xr-x. 4 vdsm kvm 4096 Apr 12 17:08 master<br> <br> and in<br> /mnt/398da79f-53e1-43dd-8836-e58edd4de975/images/2a95635c-3e1b-45a6-be8c-fa66317b6475<br> I have<br> -rw-rw----. 1 vdsm kvm 1073741824 May 7 10:59 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b<br> -rw-r--r--. 1 vdsm kvm 269 May 7 10:57 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b.meta<br> <br> which one is the exported VM?<br> <br> <hr id="zwchr"> <div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Michael Wagenknecht" <a class="moz-txt-link-rfc2396E" href="mailto:Wagenknecht@FuH-E.de"><Wagenknecht@FuH-E.de></a><br> <b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a><br> <b>Sent: </b>Terça-feira, 7 de Maio de 2013 7:33:49<br> <b>Subject: </b>Re: [Users] v2v error<br> <br> Hi,<br> I had the same problem some weeks ago. After many hours of try an error I went another way.<br> I made a new VM on the ovirt engine with the same parameter than the kvm VM. Especially the "Allocation Policy" of the virtual disk is important (Preallocated for raw images and Thin Provision for qcow images). Then I export the VM. Then I copy the image from the KVM server to the ovirt export folder and override the empty one. Please check the permissions. Now you can import the VM. <br> I go this way with a lot of linux and windows VMs.<br> <br> Regards, Michael<br> <br> <br> Am 07.05.2013 01:52, schrieb <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:suporte@logicworks.pt" target="_blank">suporte@logicworks.pt</a>: <blockquote cite="mid:1061424856.4138.1367884371959.JavaMail.root@logicworks.pt"> <div style="font-family: Times New Roman; font-size: 10pt; color: rgb(0, 0, 0);"> <div>This is what I get if run LIBGUESTFS_DEBUG=1 virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name<br> </div> <div><br> </div> <div>Fedora14.qcow2: 100% [===============================================]D 0h59m31s<br> libguestfs: create: flags = 0, handle = 0x2d8fdd0<br> libguestfs: launch: attach-method=libvirt<br> libguestfs: launch: tmpdir=/tmp/libguestfs4jk5Wh<br> libguestfs: launch: umask=0022<br> libguestfs: launch: euid=36<br> libguestfs: libvirt version = 10002 (0.10.2)<br> libguestfs: [00000ms] connect to libvirt<br> libguestfs: opening libvirt handle: URI = NULL, auth = virConnectAuthPtrDefault, flags = 0<br> libguestfs: successfully opened libvirt handle: conn = 0x2d7b690<br> libguestfs: [00164ms] get libvirt capabilities<br> libguestfs: [05465ms] parsing capabilities XML<br> libguestfs: [05467ms] build appliance<br> libguestfs: command: run: febootstrap-supermin-helper<br> libguestfs: command: run: \ --verbose<br> libguestfs: command: run: \ -u 36<br> libguestfs: command: run: \ -g 36<br> libguestfs: command: run: \ -f checksum<br> libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d<br> libguestfs: command: run: \ x86_64<br> supermin helper [00002ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)<br> supermin helper [00002ms] inputs[0] = /usr/lib64/guestfs/supermin.d<br> checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists<br> supermin helper [00002ms] finished creating kernel<br> supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d<br> supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d/base.img<br> supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img<br> supermin helper [00052ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles<br> supermin helper [00748ms] visiting /usr/lib64/guestfs/supermin.d/init.img<br> supermin helper [00762ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img<br> supermin helper [00770ms] adding kernel modules<br> supermin helper [00898ms] finished creating appliance<br> libguestfs: checksum of existing appliance: 7705d920c064a722def20ac25b6fb162ceec1019efac541dacfea976a5540326<br> libguestfs: [06509ms] begin building supermin appliance<br> libguestfs: [06509ms] run supermin-helper<br> libguestfs: command: run: febootstrap-supermin-helper<br> libguestfs: command: run: \ --verbose<br> libguestfs: command: run: \ -u 36<br> libguestfs: command: run: \ -g 36<br> libguestfs: command: run: \ --copy-kernel<br> libguestfs: command: run: \ -f ext2<br> libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d<br> libguestfs: command: run: \ x86_64<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/kernel<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/initrd<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/root<br> supermin helper [00001ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.uYx5Jb/kernel, initrd = /var/tmp/guestfs.uYx5Jb/initrd, appliance = /var/tmp/guestfs.uYx5Jb/root<br> supermin helper [00001ms] inputs[0] = /usr/lib64/guestfs/supermin.d<br> checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists<br> supermin helper [00110ms] finished creating kernel<br> supermin helper [02561ms] finished mke2fs<br> supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d<br> supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d/base.img<br> supermin helper [11451ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img<br> supermin helper [11522ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles<br> supermin helper [38004ms] visiting /usr/lib64/guestfs/supermin.d/init.img<br> supermin helper [38010ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img<br> supermin helper [38016ms] adding kernel modules<br> supermin helper [62584ms] closing ext2 filesystem<br> supermin helper [62585ms] finished creating appliance<br> libguestfs: [69110ms] finished building supermin appliance<br> libguestfs: command: run: rm<br> libguestfs: command: run: \ -rf /var/tmp/guestfs.uYx5Jb<br> libguestfs: command: run: qemu-img<br> libguestfs: command: run: \ create<br> libguestfs: command: run: \ -f qcow2<br> libguestfs: command: run: \ -b /var/tmp/.guestfs-36/root.14358<br> libguestfs: command: run: \ -o backing_fmt=raw<br> libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot1<br> Formatting '/tmp/libguestfs4jk5Wh/snapshot1', fmt=qcow2 size=4294967296 backing_file='/var/tmp/.guestfs-36/root.14358' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off<br> libguestfs: command: run: qemu-img<br> libguestfs: command: run: \ create<br> libguestfs: command: run: \ -f qcow2<br> libguestfs: command: run: \ -b /tmp/etlVovb09U<br> libguestfs: command: run: \ -o backing_fmt=raw<br> libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot2<br> Formatting '/tmp/libguestfs4jk5Wh/snapshot2', fmt=qcow2 size=446464 backing_file='/tmp/etlVovb09U' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off<br> libguestfs: [69351ms] create libvirt XML<br> virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information<br> libguestfs: closing guestfs handle 0x2d8fdd0 (state 0)<br> libguestfs: command: run: rm<br> libguestfs: command: run: \ -rf /tmp/libguestfs4jk5Wh<br> <br> </div> <div><br> </div> <div><br> </div> <hr id="zwchr"> <div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>De: </b><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:suporte@logicworks.pt" target="_blank">suporte@logicworks.pt</a><br> <b>Para: </b><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <b>Enviadas: </b>Segunda-feira, 6 Maio, 2013 23:45:36<br> <b>Assunto: </b>[Users] v2v error<br> <div><br> </div> <div style="font-family: Times New Roman; font-size: 10pt; color: rgb(0, 0, 0);"> <div>I'm trying to export a VM from KVM. It's a Fedora14 machine.<br> </div> <div>I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name<br> </div> <div><br> </div> <div>It starts to buid the umage but in the end I have an error message:<br> </div> <div>virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information<br> <div><br> </div> </div> <div>Something wrong with the guestfs?<br> </div> <div><br> </div> <div>Jose<br> </div> <div><br> </div> <div>-- <br> </div> <div><span></span> <hr style="width: 100%; height: 2px;">Jose Ferradeira<br> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.logicworks.pt" target="_blank">http://www.logicworks.pt</a><br> <span></span><br> </div> </div> <br> _______________________________________________<br> Users mailing list<br> <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> </div> <div><br> </div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre>_______________________________________________ Users mailing list <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <pre class="moz-signature">-- Mit freundlichen Grüßen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150 </pre> <br> _______________________________________________<br> Users mailing list<br> <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a><br> </div> <br> </div> </blockquote> <br> <pre class="moz-signature" cols="72">-- Mit freundlichen Grüßen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150 </pre> </body> </html> --------------050904070309040709090909--

------=_Part_251_17102348.1367945470671 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,=20 I did that but it fails, maybe the KVM disk has to be the same size or bigg= er?=20 Regards=20 Jose=20 ----- Original Message ----- From: "Michael Wagenknecht" <Wagenknecht@FuH-E.de>=20 To: users@ovirt.org=20 Sent: Ter=C3=A7a-feira, 7 de Maio de 2013 12:47:52=20 Subject: Re: [Users] v2v error=20 Hi,=20 the folder images/<imgId> contains the virtual disks. Every disk in a separ= ate folder.=20 You can ignore the .meta file in the images folder.=20 The other one is the image file. You can check it with the command:=20 qemu-img info f89d8ca3-f65c-45a0-8f2e-df2f05014d0b=20 The folder master/vms/<vmId> contains a description file of the vm in the .= ovf format.=20 When your VM uses more than one virtual disks, there you can find the imgId= of the disks.=20 Regards, Michael=20 Am 07.05.2013 13:24, schrieb suporte@logicworks.pt :=20 Hi Michael,=20 Thanks. One question, Myexported VM has the name Fedora, how can I identify= it on the system?=20 In the export domain i have=20 drwxr-xr-x. 2 vdsm kvm 4096 Apr 12 17:07 dom_md=20 drwxr-xr-x. 3 vdsm kvm 4096 May 7 10:57 images=20 drwxr-xr-x. 4 vdsm kvm 4096 Apr 12 17:08 master=20 and in=20 /mnt/398da79f-53e1-43dd-8836-e58edd4de975/images/2a95635c-3e1b-45a6-be8c-fa= 66317b6475=20 I have=20 -rw-rw----. 1 vdsm kvm 1073741824 May 7 10:59 f89d8ca3-f65c-45a0-8f2e-df2f0= 5014d0b=20 -rw-r--r--. 1 vdsm kvm 269 May 7 10:57 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b= .meta=20 which one is the exported VM?=20 ----- Original Message ----- From: "Michael Wagenknecht" <Wagenknecht@FuH-E.de>=20 To: users@ovirt.org=20 Sent: Ter=C3=A7a-feira, 7 de Maio de 2013 7:33:49=20 Subject: Re: [Users] v2v error=20 Hi,=20 I had the same problem some weeks ago. After many hours of try an error I w= ent another way.=20 I made a new VM on the ovirt engine with the same parameter than the kvm VM= . Especially the "Allocation Policy" of the virtual disk is important (Prea= llocated for raw images and Thin Provision for qcow images). Then I export = the VM. Then I copy the image from the KVM server to the ovirt export folde= r and override the empty one. Please check the permissions. Now you can imp= ort the VM.=20 I go this way with a lot of linux and windows VMs.=20 Regards, Michael=20 Am 07.05.2013 01:52, schrieb suporte@logicworks.pt :=20 <blockquote> This is what I get if run LIBGUESTFS_DEBUG=3D1 virt-v2v -i libvirt -ic qemu= +ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -o= f qcow2 -oa sparse -n ovirtmgmt VM_Name=20 Fedora14.qcow2: 100% [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D]D 0h59m31s=20 libguestfs: create: flags =3D 0, handle =3D 0x2d8fdd0=20 libguestfs: launch: attach-method=3Dlibvirt=20 libguestfs: launch: tmpdir=3D/tmp/libguestfs4jk5Wh=20 libguestfs: launch: umask=3D0022=20 libguestfs: launch: euid=3D36=20 libguestfs: libvirt version =3D 10002 (0.10.2)=20 libguestfs: [00000ms] connect to libvirt=20 libguestfs: opening libvirt handle: URI =3D NULL, auth =3D virConnectAuthPt= rDefault, flags =3D 0=20 libguestfs: successfully opened libvirt handle: conn =3D 0x2d7b690=20 libguestfs: [00164ms] get libvirt capabilities=20 libguestfs: [05465ms] parsing capabilities XML=20 libguestfs: [05467ms] build appliance=20 libguestfs: command: run: febootstrap-supermin-helper=20 libguestfs: command: run: \ --verbose=20 libguestfs: command: run: \ -u 36=20 libguestfs: command: run: \ -g 36=20 libguestfs: command: run: \ -f checksum=20 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d=20 libguestfs: command: run: \ x86_64=20 supermin helper [00002ms] whitelist =3D (not specified), host_cpu =3D x86_6= 4, kernel =3D (null), initrd =3D (null), appliance =3D (null)=20 supermin helper [00002ms] inputs[0] =3D /usr/lib64/guestfs/supermin.d=20 checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory=20 picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203= .fc18.x86_64 exists=20 checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory=20 picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-2= 00.fc18.x86_64 exists=20 checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory=20 picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202= .fc18.x86_64 exists=20 supermin helper [00002ms] finished creating kernel=20 supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d=20 supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d/base.img= =20 supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img= =20 supermin helper [00052ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles= =20 supermin helper [00748ms] visiting /usr/lib64/guestfs/supermin.d/init.img= =20 supermin helper [00762ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules= .img=20 supermin helper [00770ms] adding kernel modules=20 supermin helper [00898ms] finished creating appliance=20 libguestfs: checksum of existing appliance: 7705d920c064a722def20ac25b6fb16= 2ceec1019efac541dacfea976a5540326=20 libguestfs: [06509ms] begin building supermin appliance=20 libguestfs: [06509ms] run supermin-helper=20 libguestfs: command: run: febootstrap-supermin-helper=20 libguestfs: command: run: \ --verbose=20 libguestfs: command: run: \ -u 36=20 libguestfs: command: run: \ -g 36=20 libguestfs: command: run: \ --copy-kernel=20 libguestfs: command: run: \ -f ext2=20 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d=20 libguestfs: command: run: \ x86_64=20 libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/kernel=20 libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/initrd=20 libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/root=20 supermin helper [00001ms] whitelist =3D (not specified), host_cpu =3D x86_6= 4, kernel =3D /var/tmp/guestfs.uYx5Jb/kernel, initrd =3D /var/tmp/guestfs.u= Yx5Jb/initrd, appliance =3D /var/tmp/guestfs.uYx5Jb/root=20 supermin helper [00001ms] inputs[0] =3D /usr/lib64/guestfs/supermin.d=20 checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory=20 picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203= .fc18.x86_64 exists=20 checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory=20 picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-2= 00.fc18.x86_64 exists=20 checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory=20 picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202= .fc18.x86_64 exists=20 supermin helper [00110ms] finished creating kernel=20 supermin helper [02561ms] finished mke2fs=20 supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d=20 supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d/base.img= =20 supermin helper [11451ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img= =20 supermin helper [11522ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles= =20 supermin helper [38004ms] visiting /usr/lib64/guestfs/supermin.d/init.img= =20 supermin helper [38010ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules= .img=20 supermin helper [38016ms] adding kernel modules=20 supermin helper [62584ms] closing ext2 filesystem=20 supermin helper [62585ms] finished creating appliance=20 libguestfs: [69110ms] finished building supermin appliance=20 libguestfs: command: run: rm=20 libguestfs: command: run: \ -rf /var/tmp/guestfs.uYx5Jb=20 libguestfs: command: run: qemu-img=20 libguestfs: command: run: \ create=20 libguestfs: command: run: \ -f qcow2=20 libguestfs: command: run: \ -b /var/tmp/.guestfs-36/root.14358=20 libguestfs: command: run: \ -o backing_fmt=3Draw=20 libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot1=20 Formatting '/tmp/libguestfs4jk5Wh/snapshot1', fmt=3Dqcow2 size=3D4294967296= backing_file=3D'/var/tmp/.guestfs-36/root.14358' backing_fmt=3D'raw' encry= ption=3Doff cluster_size=3D65536 lazy_refcounts=3Doff=20 libguestfs: command: run: qemu-img=20 libguestfs: command: run: \ create=20 libguestfs: command: run: \ -f qcow2=20 libguestfs: command: run: \ -b /tmp/etlVovb09U=20 libguestfs: command: run: \ -o backing_fmt=3Draw=20 libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot2=20 Formatting '/tmp/libguestfs4jk5Wh/snapshot2', fmt=3Dqcow2 size=3D446464 bac= king_file=3D'/tmp/etlVovb09U' backing_fmt=3D'raw' encryption=3Doff cluster_= size=3D65536 lazy_refcounts=3Doff=20 libguestfs: [69351ms] create libvirt XML=20 virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUE= STFS_DEBUG=3D1 for more information=20 libguestfs: closing guestfs handle 0x2d8fdd0 (state 0)=20 libguestfs: command: run: rm=20 libguestfs: command: run: \ -rf /tmp/libguestfs4jk5Wh=20 ----- Original Message ----- De: suporte@logicworks.pt=20 Para: Users@ovirt.org=20 Enviadas: Segunda-feira, 6 Maio, 2013 23:45:36=20 Assunto: [Users] v2v error=20 I'm trying to export a VM from KVM. It's a Fedora14 machine.=20 I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -o= s nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name= =20 It starts to buid the umage but in the end I have an error message:=20 virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUE= STFS_DEBUG=3D1 for more information=20 Something wrong with the guestfs?=20 Jose=20 --=20 Jose Ferradeira=20 http://www.logicworks.pt=20 _______________________________________________=20 Users mailing list=20 Users@ovirt.org=20 http://lists.ovirt.org/mailman/listinfo/users=20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/= users=20 --=20 Mit freundlichen Gr=C3=BC=C3=9Fen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Gesch=C3=A4ftsf=C3=BChrer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150=20 _______________________________________________=20 Users mailing list=20 Users@ovirt.org=20 http://lists.ovirt.org/mailman/listinfo/users=20 </blockquote> --=20 Mit freundlichen Gr=C3=BC=C3=9Fen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Gesch=C3=A4ftsf=C3=BChrer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150=20 _______________________________________________=20 Users mailing list=20 Users@ovirt.org=20 http://lists.ovirt.org/mailman/listinfo/users=20 ------=_Part_251_17102348.1367945470671 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><= div style=3D'font-family: arial,helvetica,sans-serif; font-size: 10pt; colo= r: #000000'>Hi,<br><br>I did that but it fails, maybe the KVM disk has to b= e the same size or bigger?<br><br>Regards<br>Jose<br><br><hr id=3D"zwchr"><= div style=3D"color: rgb(0, 0, 0); font-weight: normal; font-style: normal; = text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: = 12pt;"><b>From: </b>"Michael Wagenknecht" <Wagenknecht@FuH-E.de><br><= b>To: </b>users@ovirt.org<br><b>Sent: </b>Ter=C3=A7a-feira, 7 de Maio de 20= 13 12:47:52<br><b>Subject: </b>Re: [Users] v2v error<br><br> =20 =20 =20 Hi,<br> the folder images/<imgId> contains the virtual disks. Every disk in a separate folder. <br> You can ignore the .meta file in the images folder.<br> The other one is the image file. You can check it with the command:<br> qemu-img info f89d8ca3-f65c-45a0-8f2e-df2f05014d0b<br> <br> The folder master/vms/<vmId> contains a description file of the vm in the .ovf format.<br> When your VM uses more than one virtual disks, there you can find the imgId of the disks.<br> <br> Regards, Michael<br> <br> <br> Am 07.05.2013 13:24, schrieb <a class=3D"moz-txt-link-abbreviated" href= =3D"mailto:suporte@logicworks.pt" target=3D"_blank">suporte@logicworks.pt</= a>: <blockquote cite=3D"mid:31679512.646.1367925871638.JavaMail.ferra@pc-fe= rra"> <style>p { margin: 0; }</style> <div style=3D"font-family: arial,helvetica,sans-serif; font-size: 10p= t; color: rgb(0, 0, 0);">Hi Michael,<br> <br> Thanks. One question, Myexported VM has the name Fedora, how can I identify it on the system?<br> In the export domain i have<br> drwxr-xr-x. 2 vdsm kvm 4096 Apr 12 17:07 dom_md<br> drwxr-xr-x. 3 vdsm kvm 4096 May 7 10:57 images<br> drwxr-xr-x. 4 vdsm kvm 4096 Apr 12 17:08 master<br> <br> and in<br> /mnt/398da79f-53e1-43dd-8836-e58edd4de975/images/2a95635c-3e1b-45a6-be8c-fa= 66317b6475<br> I have<br> -rw-rw----. 1 vdsm kvm 1073741824 May 7 10:59 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b<br> -rw-r--r--. 1 vdsm kvm 26= 9 May 7 10:57 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b.meta<br> <br> which one is the exported VM?<br> <br> <hr id=3D"zwchr"> <div style=3D"color: rgb(0, 0, 0); font-weight: normal; font-style:= normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; fo= nt-size: 12pt;"><b>From: </b>"Michael Wagenknecht" <a class=3D"moz-txt-link-rfc2396E" href=3D"mailto:Wa= genknecht@FuH-E.de" target=3D"_blank"><Wagenknecht@FuH-E.de></a><br> <b>To: </b><a class=3D"moz-txt-link-abbreviated" href=3D"mailto:u= sers@ovirt.org" target=3D"_blank">users@ovirt.org</a><br> <b>Sent: </b>Ter=C3=A7a-feira, 7 de Maio de 2013 7:33:49<br> <b>Subject: </b>Re: [Users] v2v error<br> <br> Hi,<br> I had the same problem some weeks ago. After many hours of try an error I went another way.<br> I made a new VM on the ovirt engine with the same parameter than the kvm VM. Especially the "Allocation Policy" of the virtual disk is important (Preallocated for raw images and Thin Provision for qcow images). Then I export the VM. Then I copy the image from the KVM server to the ovirt export folder and override the empty one. Please check the permissions. Now you can import the VM. <br> I go this way with a lot of linux and windows VMs.<br> <br> Regards, Michael<br> <br> <br> Am 07.05.2013 01:52, schrieb <a class=3D"moz-txt-link-abbreviated= " href=3D"mailto:suporte@logicworks.pt" target=3D"_blank">suporte@logicwork= s.pt</a>: <blockquote cite=3D"mid:1061424856.4138.1367884371959.JavaMail.ro= ot@logicworks.pt"> <div style=3D"font-family: Times New Roman; font-size: 10pt; co= lor: rgb(0, 0, 0);"> <div>This is what I get if run LIBGUESTFS_DEBUG=3D1 virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name<br> </div> <div><br> </div> <div>Fedora14.qcow2: 100% [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D]D 0h59m31s<br> libguestfs: create: flags =3D 0, handle =3D 0x2d8fdd0<br> libguestfs: launch: attach-method=3Dlibvirt<br> libguestfs: launch: tmpdir=3D/tmp/libguestfs4jk5Wh<br> libguestfs: launch: umask=3D0022<br> libguestfs: launch: euid=3D36<br> libguestfs: libvirt version =3D 10002 (0.10.2)<br> libguestfs: [00000ms] connect to libvirt<br> libguestfs: opening libvirt handle: URI =3D NULL, auth =3D virConnectAuthPtrDefault, flags =3D 0<br> libguestfs: successfully opened libvirt handle: conn =3D 0x2d7b690<br> libguestfs: [00164ms] get libvirt capabilities<br> libguestfs: [05465ms] parsing capabilities XML<br> libguestfs: [05467ms] build appliance<br> libguestfs: command: run: febootstrap-supermin-helper<br> libguestfs: command: run: \ --verbose<br> libguestfs: command: run: \ -u 36<br> libguestfs: command: run: \ -g 36<br> libguestfs: command: run: \ -f checksum<br> libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d<br> libguestfs: command: run: \ x86_64<br> supermin helper [00002ms] whitelist =3D (not specified), host_cpu =3D x86_64, kernel =3D (null), initrd =3D (null), appliance =3D (null)<br> supermin helper [00002ms] inputs[0] =3D /usr/lib64/guestfs/supermin.d<br> checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists<br> supermin helper [00002ms] finished creating kernel<br> supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d<br> supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d/base.img<br> supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img<br> supermin helper [00052ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles<br> supermin helper [00748ms] visiting /usr/lib64/guestfs/supermin.d/init.img<br> supermin helper [00762ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img<br> supermin helper [00770ms] adding kernel modules<br> supermin helper [00898ms] finished creating appliance<br> libguestfs: checksum of existing appliance: 7705d920c064a722def20ac25b6fb162ceec1019efac541dacfea976a55= 40326<br> libguestfs: [06509ms] begin building supermin appliance<br> libguestfs: [06509ms] run supermin-helper<br> libguestfs: command: run: febootstrap-supermin-helper<br> libguestfs: command: run: \ --verbose<br> libguestfs: command: run: \ -u 36<br> libguestfs: command: run: \ -g 36<br> libguestfs: command: run: \ --copy-kernel<br> libguestfs: command: run: \ -f ext2<br> libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d<br> libguestfs: command: run: \ x86_64<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/kernel<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/initrd<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/root<br=
supermin helper [00001ms] whitelist =3D (not specified), host_cpu =3D x86_64, kernel =3D /var/tmp/guestfs.uYx5Jb/kernel, initrd =3D /var/tmp/guestfs.uYx5Jb/initrd, appliance =3D /var/tmp/guestfs.uYx5Jb/root<br> supermin helper [00001ms] inputs[0] =3D /usr/lib64/guestfs/supermin.d<br> checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists<br> supermin helper [00110ms] finished creating kernel<br> supermin helper [02561ms] finished mke2fs<br> supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d<br> supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d/base.img<br> supermin helper [11451ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img<br> supermin helper [11522ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles<br> supermin helper [38004ms] visiting /usr/lib64/guestfs/supermin.d/init.img<br> supermin helper [38010ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img<br> supermin helper [38016ms] adding kernel modules<br> supermin helper [62584ms] closing ext2 filesystem<br> supermin helper [62585ms] finished creating appliance<br> libguestfs: [69110ms] finished building supermin appliance<br> libguestfs: command: run: rm<br> libguestfs: command: run: \ -rf /var/tmp/guestfs.uYx5Jb<br> libguestfs: command: run: qemu-img<br> libguestfs: command: run: \ create<br> libguestfs: command: run: \ -f qcow2<br> libguestfs: command: run: \ -b /var/tmp/.guestfs-36/root.14358<br> libguestfs: command: run: \ -o backing_fmt=3Draw<br> libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot1<br> Formatting '/tmp/libguestfs4jk5Wh/snapshot1', fmt=3Dqcow2 size=3D4294967296 backing_file=3D'/var/tmp/.guestfs-36/root.14358' backing_fmt=3D'raw' encryption=3Doff cluster_size=3D65536 lazy_refcounts=3Doff<br> libguestfs: command: run: qemu-img<br> libguestfs: command: run: \ create<br> libguestfs: command: run: \ -f qcow2<br> libguestfs: command: run: \ -b /tmp/etlVovb09U<br> libguestfs: command: run: \ -o backing_fmt=3Draw<br> libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot2<br> Formatting '/tmp/libguestfs4jk5Wh/snapshot2', fmt=3Dqcow2 size=3D446464 backing_file=3D'/tmp/etlVovb09U' backing_fmt=3D'raw' encryption=3Doff cluster_size=3D65536 lazy_refcounts=3Doff<br> libguestfs: [69351ms] create libvirt XML<br> virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=3D1 for more information<br> libguestfs: closing guestfs handle 0x2d8fdd0 (state 0)<br> libguestfs: command: run: rm<br> libguestfs: command: run: \ -rf /tmp/libguestfs4jk5Wh<br> <br> </div> <div><br> </div> <div><br> </div> <hr id=3D"zwchr"> <div style=3D"color: rgb(0, 0, 0); font-weight: normal; font-= style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-ser= if; font-size: 12pt;"><b>De: </b><a class=3D"moz-txt-link-abbreviated" href= =3D"mailto:suporte@logicworks.pt" target=3D"_blank">suporte@logicworks.pt</= a><br> <b>Para: </b><a class=3D"moz-txt-link-abbreviated" href=3D"= mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br> <b>Enviadas: </b>Segunda-feira, 6 Maio, 2013 23:45:36<br> <b>Assunto: </b>[Users] v2v error<br> <div><br> </div> <div style=3D"font-family: Times New Roman; font-size: 10pt= ; color: rgb(0, 0, 0);"> <div>I'm trying to export a VM from KVM. It's a Fedora14 machine.<br> </div> <div>I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name<br> </div> <div><br> </div> <div>It starts to buid the umage but in the end I have an error message:<br> </div> <div>virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=3D1 for more information<br> <div><br> </div> </div> <div>Something wrong with the guestfs?<br> </div> <div><br> </div> <div>Jose<br> </div> <div><br> </div> <div>-- <br> </div> <div><span></span> <hr style=3D"width: 100%; height: 2px;">Jose Ferradeira<br> <a class=3D"moz-txt-link-freetext" href=3D"http://www.l= ogicworks.pt" target=3D"_blank">http://www.logicworks.pt</a><br> <span></span><br> </div> </div> <br> _______________________________________________<br> Users mailing list<br> <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users@= ovirt.org" target=3D"_blank">Users@ovirt.org</a><br> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovi= rt.org/mailman/listinfo/users" target=3D"_blank">http://lists.ovirt.org/mai= lman/listinfo/users</a><br> </div> <div><br> </div> </div> <br> <fieldset class=3D"mimeAttachmentHeader"></fieldset> <br> <pre>_______________________________________________ Users mailing list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users@ovirt.org" targe= t=3D"_blank">Users@ovirt.org</a> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovirt.org/mailman/l= istinfo/users" target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/us= ers</a> </pre> </blockquote> <br> <pre class=3D"moz-signature">--=20 Mit freundlichen Gr=C3=BC=C3=9Fen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Gesch=C3=A4ftsf=C3=BChrer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150 </pre> <br> _______________________________________________<br> Users mailing list<br> <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users@ovirt.= org" target=3D"_blank">Users@ovirt.org</a><br> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovirt.org= /mailman/listinfo/users" target=3D"_blank">http://lists.ovirt.org/mailman/l= istinfo/users</a><br> </div> <br> </div> </blockquote> <br> <pre class=3D"moz-signature">--=20 Mit freundlichen Gr=C3=BC=C3=9Fen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Gesch=C3=A4ftsf=C3=BChrer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150 </pre> <br>_______________________________________________<br>Users mailing list= <br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></d= iv><br></div></body></html> ------=_Part_251_17102348.1367945470671--

This is a multi-part message in MIME format. --------------020509010105080604000205 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Jose, the disk size has to be the same and the "Allocation Policy" has to be the right one (see my first answer). Regards, Michael Am 07.05.2013 18:51, schrieb suporte@logicworks.pt:
Hi,
I did that but it fails, maybe the KVM disk has to be the same size or bigger?
Regards Jose
------------------------------------------------------------------------ *From: *"Michael Wagenknecht" <Wagenknecht@FuH-E.de> *To: *users@ovirt.org *Sent: *Terça-feira, 7 de Maio de 2013 12:47:52 *Subject: *Re: [Users] v2v error
Hi, the folder images/<imgId> contains the virtual disks. Every disk in a separate folder. You can ignore the .meta file in the images folder. The other one is the image file. You can check it with the command: qemu-img info f89d8ca3-f65c-45a0-8f2e-df2f05014d0b
The folder master/vms/<vmId> contains a description file of the vm in the .ovf format. When your VM uses more than one virtual disks, there you can find the imgId of the disks.
Regards, Michael
Am 07.05.2013 13:24, schrieb suporte@logicworks.pt:
Hi Michael,
Thanks. One question, Myexported VM has the name Fedora, how can I identify it on the system? In the export domain i have drwxr-xr-x. 2 vdsm kvm 4096 Apr 12 17:07 dom_md drwxr-xr-x. 3 vdsm kvm 4096 May 7 10:57 images drwxr-xr-x. 4 vdsm kvm 4096 Apr 12 17:08 master
and in /mnt/398da79f-53e1-43dd-8836-e58edd4de975/images/2a95635c-3e1b-45a6-be8c-fa66317b6475 I have -rw-rw----. 1 vdsm kvm 1073741824 May 7 10:59 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b -rw-r--r--. 1 vdsm kvm 269 May 7 10:57 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b.meta
which one is the exported VM?
------------------------------------------------------------------------ *From: *"Michael Wagenknecht" <Wagenknecht@FuH-E.de> *To: *users@ovirt.org *Sent: *Terça-feira, 7 de Maio de 2013 7:33:49 *Subject: *Re: [Users] v2v error
Hi, I had the same problem some weeks ago. After many hours of try an error I went another way. I made a new VM on the ovirt engine with the same parameter than the kvm VM. Especially the "Allocation Policy" of the virtual disk is important (Preallocated for raw images and Thin Provision for qcow images). Then I export the VM. Then I copy the image from the KVM server to the ovirt export folder and override the empty one. Please check the permissions. Now you can import the VM. I go this way with a lot of linux and windows VMs.
Regards, Michael
Am 07.05.2013 01:52, schrieb suporte@logicworks.pt:
This is what I get if run LIBGUESTFS_DEBUG=1 virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name
Fedora14.qcow2: 100% [===============================================]D 0h59m31s libguestfs: create: flags = 0, handle = 0x2d8fdd0 libguestfs: launch: attach-method=libvirt libguestfs: launch: tmpdir=/tmp/libguestfs4jk5Wh libguestfs: launch: umask=0022 libguestfs: launch: euid=36 libguestfs: libvirt version = 10002 (0.10.2) libguestfs: [00000ms] connect to libvirt libguestfs: opening libvirt handle: URI = NULL, auth = virConnectAuthPtrDefault, flags = 0 libguestfs: successfully opened libvirt handle: conn = 0x2d7b690 libguestfs: [00164ms] get libvirt capabilities libguestfs: [05465ms] parsing capabilities XML libguestfs: [05467ms] build appliance libguestfs: command: run: febootstrap-supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ -u 36 libguestfs: command: run: \ -g 36 libguestfs: command: run: \ -f checksum libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ x86_64 supermin helper [00002ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00002ms] inputs[0] = /usr/lib64/guestfs/supermin.d checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists supermin helper [00002ms] finished creating kernel supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d/base.img supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img supermin helper [00052ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles supermin helper [00748ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [00762ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img supermin helper [00770ms] adding kernel modules supermin helper [00898ms] finished creating appliance libguestfs: checksum of existing appliance: 7705d920c064a722def20ac25b6fb162ceec1019efac541dacfea976a5540326 libguestfs: [06509ms] begin building supermin appliance libguestfs: [06509ms] run supermin-helper libguestfs: command: run: febootstrap-supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ -u 36 libguestfs: command: run: \ -g 36 libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ x86_64 libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/kernel libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/initrd libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/root supermin helper [00001ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.uYx5Jb/kernel, initrd = /var/tmp/guestfs.uYx5Jb/initrd, appliance = /var/tmp/guestfs.uYx5Jb/root supermin helper [00001ms] inputs[0] = /usr/lib64/guestfs/supermin.d checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists supermin helper [00110ms] finished creating kernel supermin helper [02561ms] finished mke2fs supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d/base.img supermin helper [11451ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img supermin helper [11522ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles supermin helper [38004ms] visiting /usr/lib64/guestfs/supermin.d/init.img supermin helper [38010ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img supermin helper [38016ms] adding kernel modules supermin helper [62584ms] closing ext2 filesystem supermin helper [62585ms] finished creating appliance libguestfs: [69110ms] finished building supermin appliance libguestfs: command: run: rm libguestfs: command: run: \ -rf /var/tmp/guestfs.uYx5Jb libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -b /var/tmp/.guestfs-36/root.14358 libguestfs: command: run: \ -o backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot1 Formatting '/tmp/libguestfs4jk5Wh/snapshot1', fmt=qcow2 size=4294967296 backing_file='/var/tmp/.guestfs-36/root.14358' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -b /tmp/etlVovb09U libguestfs: command: run: \ -o backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot2 Formatting '/tmp/libguestfs4jk5Wh/snapshot2', fmt=qcow2 size=446464 backing_file='/tmp/etlVovb09U' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off libguestfs: [69351ms] create libvirt XML virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information libguestfs: closing guestfs handle 0x2d8fdd0 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfs4jk5Wh
------------------------------------------------------------------------ *De: *suporte@logicworks.pt *Para: *Users@ovirt.org *Enviadas: *Segunda-feira, 6 Maio, 2013 23:45:36 *Assunto: *[Users] v2v error
I'm trying to export a VM from KVM. It's a Fedora14 machine. I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name
It starts to buid the umage but in the end I have an error message: virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information
Something wrong with the guestfs?
Jose
-- ------------------------------------------------------------------------ Jose Ferradeira http://www.logicworks.pt
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Mit freundlichen Grüßen
Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Mit freundlichen Grüßen
Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Mit freundlichen Grüßen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150 --------------020509010105080604000205 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> Hi Jose,<br> the disk size has to be the same and the "Allocation Policy" has to be the right one (see my first answer).<br> <br> Regards, Michael<br> <br> <br> Am 07.05.2013 18:51, schrieb <a class="moz-txt-link-abbreviated" href="mailto:suporte@logicworks.pt">suporte@logicworks.pt</a>: <blockquote cite="mid:20931328.252.1367945470674.JavaMail.ferra@pc-ferra" type="cite"> <style type="text/css">p { margin: 0; }</style> <div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000">Hi,<br> <br> I did that but it fails, maybe the KVM disk has to be the same size or bigger?<br> <br> Regards<br> Jose<br> <br> <hr id="zwchr"> <div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Michael Wagenknecht" <a class="moz-txt-link-rfc2396E" href="mailto:Wagenknecht@FuH-E.de"><Wagenknecht@FuH-E.de></a><br> <b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a><br> <b>Sent: </b>Terça-feira, 7 de Maio de 2013 12:47:52<br> <b>Subject: </b>Re: [Users] v2v error<br> <br> Hi,<br> the folder images/<imgId> contains the virtual disks. Every disk in a separate folder. <br> You can ignore the .meta file in the images folder.<br> The other one is the image file. You can check it with the command:<br> qemu-img info f89d8ca3-f65c-45a0-8f2e-df2f05014d0b<br> <br> The folder master/vms/<vmId> contains a description file of the vm in the .ovf format.<br> When your VM uses more than one virtual disks, there you can find the imgId of the disks.<br> <br> Regards, Michael<br> <br> <br> Am 07.05.2013 13:24, schrieb <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:suporte@logicworks.pt" target="_blank">suporte@logicworks.pt</a>: <blockquote cite="mid:31679512.646.1367925871638.JavaMail.ferra@pc-ferra"> <style>p { margin: 0; }</style> <div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">Hi Michael,<br> <br> Thanks. One question, Myexported VM has the name Fedora, how can I identify it on the system?<br> In the export domain i have<br> drwxr-xr-x. 2 vdsm kvm 4096 Apr 12 17:07 dom_md<br> drwxr-xr-x. 3 vdsm kvm 4096 May 7 10:57 images<br> drwxr-xr-x. 4 vdsm kvm 4096 Apr 12 17:08 master<br> <br> and in<br> /mnt/398da79f-53e1-43dd-8836-e58edd4de975/images/2a95635c-3e1b-45a6-be8c-fa66317b6475<br> I have<br> -rw-rw----. 1 vdsm kvm 1073741824 May 7 10:59 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b<br> -rw-r--r--. 1 vdsm kvm 269 May 7 10:57 f89d8ca3-f65c-45a0-8f2e-df2f05014d0b.meta<br> <br> which one is the exported VM?<br> <br> <hr id="zwchr"> <div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Michael Wagenknecht" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:Wagenknecht@FuH-E.de" target="_blank"><Wagenknecht@FuH-E.de></a><br> <b>To: </b><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br> <b>Sent: </b>Terça-feira, 7 de Maio de 2013 7:33:49<br> <b>Subject: </b>Re: [Users] v2v error<br> <br> Hi,<br> I had the same problem some weeks ago. After many hours of try an error I went another way.<br> I made a new VM on the ovirt engine with the same parameter than the kvm VM. Especially the "Allocation Policy" of the virtual disk is important (Preallocated for raw images and Thin Provision for qcow images). Then I export the VM. Then I copy the image from the KVM server to the ovirt export folder and override the empty one. Please check the permissions. Now you can import the VM. <br> I go this way with a lot of linux and windows VMs.<br> <br> Regards, Michael<br> <br> <br> Am 07.05.2013 01:52, schrieb <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:suporte@logicworks.pt" target="_blank">suporte@logicworks.pt</a>: <blockquote cite="mid:1061424856.4138.1367884371959.JavaMail.root@logicworks.pt"> <div style="font-family: Times New Roman; font-size: 10pt; color: rgb(0, 0, 0);"> <div>This is what I get if run LIBGUESTFS_DEBUG=1 virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name<br> </div> <div><br> </div> <div>Fedora14.qcow2: 100% [===============================================]D 0h59m31s<br> libguestfs: create: flags = 0, handle = 0x2d8fdd0<br> libguestfs: launch: attach-method=libvirt<br> libguestfs: launch: tmpdir=/tmp/libguestfs4jk5Wh<br> libguestfs: launch: umask=0022<br> libguestfs: launch: euid=36<br> libguestfs: libvirt version = 10002 (0.10.2)<br> libguestfs: [00000ms] connect to libvirt<br> libguestfs: opening libvirt handle: URI = NULL, auth = virConnectAuthPtrDefault, flags = 0<br> libguestfs: successfully opened libvirt handle: conn = 0x2d7b690<br> libguestfs: [00164ms] get libvirt capabilities<br> libguestfs: [05465ms] parsing capabilities XML<br> libguestfs: [05467ms] build appliance<br> libguestfs: command: run: febootstrap-supermin-helper<br> libguestfs: command: run: \ --verbose<br> libguestfs: command: run: \ -u 36<br> libguestfs: command: run: \ -g 36<br> libguestfs: command: run: \ -f checksum<br> libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d<br> libguestfs: command: run: \ x86_64<br> supermin helper [00002ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)<br> supermin helper [00002ms] inputs[0] = /usr/lib64/guestfs/supermin.d<br> checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists<br> supermin helper [00002ms] finished creating kernel<br> supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d<br> supermin helper [00003ms] visiting /usr/lib64/guestfs/supermin.d/base.img<br> supermin helper [00010ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img<br> supermin helper [00052ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles<br> supermin helper [00748ms] visiting /usr/lib64/guestfs/supermin.d/init.img<br> supermin helper [00762ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img<br> supermin helper [00770ms] adding kernel modules<br> supermin helper [00898ms] finished creating appliance<br> libguestfs: checksum of existing appliance: 7705d920c064a722def20ac25b6fb162ceec1019efac541dacfea976a5540326<br> libguestfs: [06509ms] begin building supermin appliance<br> libguestfs: [06509ms] run supermin-helper<br> libguestfs: command: run: febootstrap-supermin-helper<br> libguestfs: command: run: \ --verbose<br> libguestfs: command: run: \ -u 36<br> libguestfs: command: run: \ -g 36<br> libguestfs: command: run: \ --copy-kernel<br> libguestfs: command: run: \ -f ext2<br> libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d<br> libguestfs: command: run: \ x86_64<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/kernel<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/initrd<br> libguestfs: command: run: \ /var/tmp/guestfs.uYx5Jb/root<br> supermin helper [00001ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/guestfs.uYx5Jb/kernel, initrd = /var/tmp/guestfs.uYx5Jb/initrd, appliance = /var/tmp/guestfs.uYx5Jb/root<br> supermin helper [00001ms] inputs[0] = /usr/lib64/guestfs/supermin.d<br> checking modpath /lib/modules/3.8.6-203.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.6-203.fc18.x86_64 because modpath /lib/modules/3.8.6-203.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.11-200.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.11-200.fc18.x86_64 because modpath /lib/modules/3.8.11-200.fc18.x86_64 exists<br> checking modpath /lib/modules/3.8.8-202.fc18.x86_64 is a directory<br> picked vmlinuz-3.8.8-202.fc18.x86_64 because modpath /lib/modules/3.8.8-202.fc18.x86_64 exists<br> supermin helper [00110ms] finished creating kernel<br> supermin helper [02561ms] finished mke2fs<br> supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d<br> supermin helper [02563ms] visiting /usr/lib64/guestfs/supermin.d/base.img<br> supermin helper [11451ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img<br> supermin helper [11522ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles<br> supermin helper [38004ms] visiting /usr/lib64/guestfs/supermin.d/init.img<br> supermin helper [38010ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img<br> supermin helper [38016ms] adding kernel modules<br> supermin helper [62584ms] closing ext2 filesystem<br> supermin helper [62585ms] finished creating appliance<br> libguestfs: [69110ms] finished building supermin appliance<br> libguestfs: command: run: rm<br> libguestfs: command: run: \ -rf /var/tmp/guestfs.uYx5Jb<br> libguestfs: command: run: qemu-img<br> libguestfs: command: run: \ create<br> libguestfs: command: run: \ -f qcow2<br> libguestfs: command: run: \ -b /var/tmp/.guestfs-36/root.14358<br> libguestfs: command: run: \ -o backing_fmt=raw<br> libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot1<br> Formatting '/tmp/libguestfs4jk5Wh/snapshot1', fmt=qcow2 size=4294967296 backing_file='/var/tmp/.guestfs-36/root.14358' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off<br> libguestfs: command: run: qemu-img<br> libguestfs: command: run: \ create<br> libguestfs: command: run: \ -f qcow2<br> libguestfs: command: run: \ -b /tmp/etlVovb09U<br> libguestfs: command: run: \ -o backing_fmt=raw<br> libguestfs: command: run: \ /tmp/libguestfs4jk5Wh/snapshot2<br> Formatting '/tmp/libguestfs4jk5Wh/snapshot2', fmt=qcow2 size=446464 backing_file='/tmp/etlVovb09U' backing_fmt='raw' encryption=off cluster_size=65536 lazy_refcounts=off<br> libguestfs: [69351ms] create libvirt XML<br> virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information<br> libguestfs: closing guestfs handle 0x2d8fdd0 (state 0)<br> libguestfs: command: run: rm<br> libguestfs: command: run: \ -rf /tmp/libguestfs4jk5Wh<br> <br> </div> <div><br> </div> <div><br> </div> <hr id="zwchr"> <div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>De: </b><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:suporte@logicworks.pt" target="_blank">suporte@logicworks.pt</a><br> <b>Para: </b><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <b>Enviadas: </b>Segunda-feira, 6 Maio, 2013 23:45:36<br> <b>Assunto: </b>[Users] v2v error<br> <div><br> </div> <div style="font-family: Times New Roman; font-size: 10pt; color: rgb(0, 0, 0);"> <div>I'm trying to export a VM from KVM. It's a Fedora14 machine.<br> </div> <div>I run: virt-v2v -i libvirt -ic qemu+ssh://root@IP-Address/system -o rhev -os nfs.domain.local:/ovirt/export -of qcow2 -oa sparse -n ovirtmgmt VM_Name<br> </div> <div><br> </div> <div>It starts to buid the umage but in the end I have an error message:<br> </div> <div>virt-v2v: Failed to launch guestfs appliance. Try running again with LIBGUESTFS_DEBUG=1 for more information<br> <div><br> </div> </div> <div>Something wrong with the guestfs?<br> </div> <div><br> </div> <div>Jose<br> </div> <div><br> </div> <div>-- <br> </div> <div><span></span> <hr style="width: 100%; height: 2px;">Jose Ferradeira<br> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.logicworks.pt" target="_blank">http://www.logicworks.pt</a><br> <span></span><br> </div> </div> <br> _______________________________________________<br> Users mailing list<br> <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> </div> <div><br> </div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre>_______________________________________________ Users mailing list <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <pre class="moz-signature">-- Mit freundlichen Grüßen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150 </pre> <br> _______________________________________________<br> Users mailing list<br> <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> </div> <br> </div> </blockquote> <br> <pre class="moz-signature">-- Mit freundlichen Grüßen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150 </pre> <br> _______________________________________________<br> Users mailing list<br> <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a><br> </div> <br> </div> </blockquote> <br> <pre class="moz-signature" cols="72">-- Mit freundlichen Grüßen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Hauptstr. 4, D-79224 Umkirch Tel +49 7665 93288-0, Fax -150 </pre> </body> </html> --------------020509010105080604000205--
participants (2)
-
Michael Wagenknecht
-
suporte@logicworks.pt