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