<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/21/2014 11:23 AM, Federico
Alberto Sayd wrote:<br>
</div>
<blockquote cite="mid:54467A7E.9070801@uncu.edu.ar" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 21/10/14 02:27, Paul Jansen wrote:<br>
</div>
<blockquote
cite="mid:1413869259.71234.YahooMailNeo@web160305.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, Sans-Serif;font-size:12px">
<div>I've just been doing some searching to try and work out
how to get a vmware windows VM into ovirt.</div>
<div>It seems that the newest virtv2v has dropped support for
importing from an ESXi standalone machine - and now only
works with vcenter. I didn't have any success with using
the current virt-v2v attaching to an ESXi host.<br>
</div>
<div><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent;
font-style: normal;">I've prepared the VM by first removing
the vmware tools and have installled the various virtio
drivers, as well as running the 'mergeide' registry file to
enable IDE. I've used 'qemu-img' to convirt this VMDK file
to QCOW2. It does not appear that there is a
straightforward way for me to import this new qcow2 disk
into ovirt.</div>
<div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent;
font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent;
font-style: normal;">It seems my best option at the moment
is to export the VMware VM as an OVA and then try and use a
newer virt-v2v to import this into ovirt.</div>
<div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent;
font-style: normal;">Alternatively I could construct a VM in
virt-manager and attach the converted qcow2 disk to it, and
then use virt-v2v to import this into ovirt.</div>
<div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent;
font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent;
font-style: normal;">Can someone suggest an alternative
course of action? It seems strange that I can't just import
a disk into ovirt, construct a VM and attach the disk.</div>
<div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent;
font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent;
font-style: normal;">Is there anything int he works to make
this process easier?</div>
<div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent;
font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent;
font-style: normal;">Thanks,</div>
<div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent;
font-style: normal;">Paul</div>
<div style="color: rgb(0, 0, 0); font-size: 12px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent;
font-style: normal;"><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
I have not found a way to import qcow2 disk into oVirt.<br>
<br>
The last time I needed to import a qcow2 disk to oVirt I created a
vm in a kvm server (my pc..) with virt-manager, then I added the
qcow disk, and booted the vm with clonezilla. Then I created a VM
in oVirt, provisioned with similar disks and booted also with
clonezilla. Then I cloned from kvm to oVirt. After I deleted the
native kvm vm and disks. In this way I bypassed all the import,
export, ova compatibility, virt2virt, etc.<br>
<br>
Simple and practical<br>
<br>
Regards<br>
<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>
Wrote this awhile back as a quick qcow to ovf implementation to
import into ovirt-engine/rhevm. There are newer options but this
does the job really quick. Will wrap the qcow image into an exploded
ova structure or zipped. You can then import it directly into engine
with engine-image-uploader.<br>
<br>
<a class="moz-txt-link-freetext" href="https://jboggs.fedorapeople.org/guest-image-ovf-creator.py">https://jboggs.fedorapeople.org/guest-image-ovf-creator.py</a><br>
<br>
<br>
<br>
<br>
<br>
<a class="moz-txt-link-freetext" href="https://jboggs.fedorapeople.org/guest-image-ovf-creator.py">https://jboggs.fedorapeople.org/guest-image-ovf-creator.py</a><br>
</body>
</html>