importing a qcow2 disk into ovirt 3.5?

---360795340-60103579-1413869259=:71234 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I've just been doing some searching to try and work out how to get a vmware= windows VM into ovirt.=0AIt seems that the newest virtv2v has dropped supp= ort 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 attach= ing to an ESXi host.=0A=0A=0AI've prepared the VM by first removing the vmw= are tools and have installled the various virtio drivers, as well as runnin= g the 'mergeide' registry file to enable IDE. I've used 'qemu-img' to conv= irt this VMDK file to QCOW2. It does not appear that there is a straightfo= rward way for me to import this new qcow2 disk into ovirt.=0A=0AIt seems my= best option at the moment is to export the VMware VM as an OVA and then tr= y and use a newer virt-v2v to import this into ovirt.=0AAlternatively I cou= ld construct a VM in virt-manager and attach the converted qcow2 disk to it= , and then use virt-v2v to import this into ovirt.=0A=0ACan someone suggest= an alternative course of action? It seems strange that I can't just impor= t a disk into ovirt, construct a VM and attach the disk.=0A=0AIs there any= thing int he works to make this process easier?=0A=0AThanks,=0APaul=0A ---360795340-60103579-1413869259=:71234 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:He= lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;fo= nt-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 newe= st virtv2v has dropped support for importing from an ESXi standalone machin= e - and now only works with vcenter. I didn't have any success with u= sing the current virt-v2v attaching to an ESXi host.<br></div><div><br></di= v><div style=3D"color: rgb(0, 0, 0); font-size: 12px; font-family: Helvetic= aNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-c= olor: transparent; font-style: normal;">I've prepared the VM by first remov= ing the vmware tools and have installled the various virtio drivers, as wel= l as running the 'mergeide' registry file to enable IDE. I've used 'q= emu-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 i= nto ovirt.</div><div style=3D"color: rgb(0, 0, 0); font-size: 12px; font-fa= mily: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif= ; background-color: transparent; font-style: normal;"><br></div><div style= =3D"color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvet= ica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transp= arent; font-style: normal;">It seems my best option at the moment is to exp= ort the VMware VM as an OVA and then try and use a newer virt-v2v to import= this into ovirt.</div><div style=3D"color: rgb(0, 0, 0); font-size: 12px; = font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,san= s-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=3D"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=3D"color: rgb(0, 0, = 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Ar= ial,Lucida Grande,sans-serif; background-color: transparent; font-style: no= rmal;">Can someone suggest an alternative course of action? It seems = strange that I can't just import a disk into ovirt, construct a VM an= d attach the disk.</div><div style=3D"color: rgb(0, 0, 0); font-size: 12px;= font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sa= ns-serif; background-color: transparent; font-style: normal;"><br></div><di= v style=3D"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=3D"color: rgb(0, 0, 0); font-size: 12= px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande= ,sans-serif; background-color: transparent; font-style: normal;"><br></div>= <div style=3D"color: rgb(0, 0, 0); font-size: 12px; font-family: HelveticaN= eue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-col= or: transparent; font-style: normal;">Thanks,</div><div style=3D"color: rgb= (0, 0, 0); font-size: 12px; font-family: HelveticaNeue,Helvetica Neue,Helve= tica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-st= yle: normal;">Paul</div><div style=3D"color: rgb(0, 0, 0); font-size: 12px;= font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sa= ns-serif; background-color: transparent; font-style: normal;"><br></div></d= iv></body></html> ---360795340-60103579-1413869259=:71234--

On 21/10/14 07:27, Paul Jansen wrote:
I've just been doing some searching to try and work out how to get a vmware windows VM into ovirt. 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.
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.
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. 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.
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.
Is there anything int he works to make this process easier?
Did you consult the documentation of virt-v2v ? Imho all the information you need is there, but I didn't test this myself so ymmv. Here's the link: http://libguestfs.org/virt-v2v.1.html HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

----- Original Message -----
I've just been doing some searching to try and work out how to get a vmware windows VM into ovirt. 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.
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.
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.
Hey Paul, I think the OVA is what you need for Engine. Once you get that file you can import it. So: Use the OVA offered by the VMWare thing, or use a script like this one: http://jenkins.ovirt.org/user/fabiand/my-views/view/Node/job/ovirt-appliance... depends on https://github.com/redhat-imaging/imagefactory To convert the qcow2 to an OVA. - fabian
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.
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.
Is there anything int he works to make this process easier?
Thanks, Paul
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Tue, Oct 21, 2014 at 3:23 PM, Fabian Deutsch <fdeutsch@redhat.com> wrote:
Hey Paul,
I think the OVA is what you need for Engine. Once you get that file you can import it. So: Use the OVA offered by the VMWare thing, or use a script like this one:
http://jenkins.ovirt.org/user/fabiand/my-views/view/Node/job/ovirt-appliance... depends on https://github.com/redhat-imaging/imagefactory
To convert the qcow2 to an OVA.
- fabian
I remember not so much time ago that VMware generated OVA format was NOT compatible for import into oVirt/RHEV.... see for example this thread: http://lists.ovirt.org/pipermail/users/2014-August/027059.html Did anything change in the mean time and is perhaps the new virt-v2v available with ova functionality in it? Gianluca

----- Original Message -----
On Tue, Oct 21, 2014 at 3:23 PM, Fabian Deutsch <fdeutsch@redhat.com> wrote:
Hey Paul,
I think the OVA is what you need for Engine. Once you get that file you can import it. So: Use the OVA offered by the VMWare thing, or use a script like this one:
http://jenkins.ovirt.org/user/fabiand/my-views/view/Node/job/ovirt-appliance... depends on https://github.com/redhat-imaging/imagefactory
To convert the qcow2 to an OVA.
- fabian
I remember not so much time ago that VMware generated OVA format was NOT compatible for import into oVirt/RHEV.... see for example this thread: http://lists.ovirt.org/pipermail/users/2014-August/027059.html
Oh, I didn't recall that a few minutes ago.
Did anything change in the mean time and is perhaps the new virt-v2v available with ova functionality in it?
AFAIK the new virt-v2v is still not supporting OVAs. That means, we need to create the ovas ourselfs using some script (like the one above). - fabian
Gianluca

On 21/10/14 16:13, Fabian Deutsch wrote:
AFAIK the new virt-v2v is still not supporting OVAs.
The manual at: http://libguestfs.org/virt-v2v.1.html makes me assume something else: "-i ova is used for reading from a VMware ova source file." -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

On Tue, Oct 21, 2014 at 04:37:12PM +0200, Sven Kieske wrote:
On 21/10/14 16:13, Fabian Deutsch wrote:
AFAIK the new virt-v2v is still not supporting OVAs.
The manual at: http://libguestfs.org/virt-v2v.1.html makes me assume something else:
"-i ova is used for reading from a VMware ova source file."
This is correct, OVA import is supported and working, provided you use the latest version and update all the supporting packages -- see my earlier email on this thread. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v

This is a multi-part message in MIME format. --------------030001040203070102030704 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 21/10/14 02:27, Paul Jansen wrote:
I've just been doing some searching to try and work out how to get a vmware windows VM into ovirt. 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.
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.
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. 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.
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.
Is there anything int he works to make this process easier?
Thanks, Paul
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I have not found a way to import qcow2 disk into oVirt.
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. Simple and practical Regards --------------030001040203070102030704 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <html> <head> <meta content=3D"text/html; charset=3Dwindows-1252" http-equiv=3D"Content-Type"> </head> <body text=3D"#000000" bgcolor=3D"#FFFFFF"> <div class=3D"moz-cite-prefix">On 21/10/14 02:27, Paul Jansen wrote:<= br> </div> <blockquote cite=3D"mid:1413869259.71234.YahooMailNeo@web160305.mail.bf1.yahoo.= com" type=3D"cite"> <div style=3D"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.=A0 I didn't have any success with using the current virt-v2v attaching to an ESXi host.<br> </div> <div><br> </div> <div style=3D"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.=A0 I've used 'qemu-img' to convirt this VMDK file to QCOW2.=A0 It does not appear that there is a straightforward way for me to import this new qcow2 disk into ovirt.</div> <div style=3D"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=3D"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=3D"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=3D"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=3D"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?=A0 It seems strange that I can't just import a disk into ovirt,=A0 construct a VM and attach the disk.</div> <div style=3D"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=3D"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=3D"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=3D"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=3D"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=3D"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=3D"mimeAttachmentHeader"></fieldset> <br> <pre wrap=3D"">_______________________________________________ Users mailing list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users@ovirt.org">Use= rs@ovirt.org</a> <a class=3D"moz-txt-link-freetext" href=3D"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> </body> </html> --------------030001040203070102030704--

This is a multi-part message in MIME format. --------------080405000505090707000308 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 10/21/2014 11:23 AM, Federico Alberto Sayd wrote:
On 21/10/14 02:27, Paul Jansen wrote:
I've just been doing some searching to try and work out how to get a vmware windows VM into ovirt. 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.
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.
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. 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.
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.
Is there anything int he works to make this process easier?
Thanks, Paul
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I have not found a way to import qcow2 disk into oVirt.
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.
Simple and practical
Regards
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
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. https://jboggs.fedorapeople.org/guest-image-ovf-creator.py https://jboggs.fedorapeople.org/guest-image-ovf-creator.py --------------080405000505090707000308 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <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> --------------080405000505090707000308--

--Apple-Mail-78A8701D-01D3-40A6-855F-5AE2F9251156 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Just try throwing ideas out there... I actually use virtualbox tools to conv= ert all my disks... VBoxManage clonehd Once converted to a raw image I use KVM to import to my storage and than v2v= to import it to oVirt. I have a small script I wrote that does this automatically for me.... I have converted .vdi, .vmdk, .qcow2, etc.... It has never fail me... Sent from iPhone
On Oct 21, 2014, at 2:38 PM, Joey Boggs <jboggs@redhat.com> wrote: =20
On 10/21/2014 11:23 AM, Federico Alberto Sayd wrote:
On 21/10/14 02:27, Paul Jansen wrote: I've just been doing some searching to try and work out how to get a vmw= are windows VM into ovirt. It seems that the newest virtv2v has dropped support for importing from a= n ESXi standalone machine - and now only works with vcenter. I didn't have a= ny success with using the current virt-v2v attaching to an ESXi host. =20 I've prepared the VM by first removing the vmware tools and have install= led the various virtio drivers, as well as running the 'mergeide' registry f= ile 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 th= is new qcow2 disk into ovirt. =20 It seems my best option at the moment is to export the VMware VM as an O= VA and then try and use a newer virt-v2v to import this into ovirt. Alternatively I could construct a VM in virt-manager and attach the conv= erted qcow2 disk to it, and then use virt-v2v to import this into ovirt. =20 Can someone suggest an alternative course of action? It seems strange t= hat I can't just import a disk into ovirt, construct a VM and attach the di= sk. =20 Is there anything int he works to make this process easier? =20 Thanks, Paul =20 =20 =20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I have not found a way to import qcow2 disk into oVirt. =20 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 boo= ted the vm with clonezilla. Then I created a VM in oVirt, provisioned with s= imilar disks and booted also with clonezilla. Then I cloned from kvm to oVir= t. After I deleted the native kvm vm and disks. In this way I bypassed all t= he import, export, ova compatibility, virt2virt, etc. =20 Simple and practical =20 Regards =20 =20
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users =20 Wrote this awhile back as a quick qcow to ovf implementation to import int= o ovirt-engine/rhevm. There are newer options but this does the job really q= uick. Will wrap the qcow image into an exploded ova structure or zipped. You= can then import it directly into engine with engine-image-uploader. =20 https://jboggs.fedorapeople.org/guest-image-ovf-creator.py =20 =20 =20 =20 =20 https://jboggs.fedorapeople.org/guest-image-ovf-creator.py
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail-78A8701D-01D3-40A6-855F-5AE2F9251156 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Just try throwing ideas out there... I actually use virtualbox tools to convert all my disks...</div><div>VBoxManage clonehd<br><br>Once converted to a raw image I use KVM to import to my storage and than v2v to import it to oVirt.</div><div>I have a small script I wrote that does this automatically for me....<br>I have converted .vdi, .vmdk, .qcow2, etc.... It has never fail me...</div><div><br></div><div><br></div><div>Sent from iPhone</div><div><br>On Oct 21, 2014, at 2:38 PM, Joey Boggs <<a href="mailto:jboggs@redhat.com">jboggs@redhat.com</a>> wrote:<br><br></div><blockquote type="cite"><div> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> <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> </div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Users mailing list</span><br><span><a href="mailto:Users@ovirt.org">Users@ovirt.org</a></span><br><span><a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a></span><br></div></blockquote></body></html> --Apple-Mail-78A8701D-01D3-40A6-855F-5AE2F9251156--

On Mon, Oct 20, 2014 at 10:27:39PM -0700, Paul Jansen wrote:
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. [...] 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.
It's correct that we no longer allow direct connections to ESXi, and also correct that using OVA is the way to go. Make sure you are using the latest version of virt-v2v *AND* the supporting packages. If using RHEL 7.0 then you should be using the repository here, and make sure to do a full 'yum update' to get all the new packages: https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html
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.
It's a missing feature of oVirt that you can't just upload a disk image. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
participants (8)
-
Fabian Deutsch
-
Federico Alberto Sayd
-
Fernando Fuentes
-
Gianluca Cecchi
-
Joey Boggs
-
Paul Jansen
-
Richard W.M. Jones
-
Sven Kieske