importing a qcow2 disk into ovirt 3.5?

On 21/10/14 07:27, Paul Jansen wrote: >>I've just been doing some searchin= g to try and work out how to get a vmware windows VM into ovirt. >>It seems=
</td><td rowspan=3D"5" class=3D"" style=3D"width: 20px; background-color: = #ffffff; font-size: 0pt; border-collapse: collapse;"><div class=3D"" style= =3D"width: 20px; background-color: #ffffff; font-size: 20pt;"> </div><= /td><td class=3D"" rowspan=3D"5" style=3D"width: 1px; background-color: #e5= e5e5; font-size: 1pt; border-collapse: collapse;" width=3D"1"><div class=3D= "" style=3D"width: 1px; background-color: #e5e5e5; font-size: 1pt;"> <= /div></td></tr><tr style=3D"" class=3D""><td class=3D"" colspan=3D"2" style= =3D"width: 100%; vertical-align: middle; font-family: 'Georgia', 'Times', '= Times New Roman', 'serif';"><div class=3D"" style=3D"line-height:16.5px; ba= ckground-color: #ffffff; width: 414px;"><div class=3D"" style=3D"word-wrap: break-word; word-break: break-= all;"><span style=3D"" class=3D""></span><span style=3D"" class=3D""></span= <a href=3D"http://libguestfs.org/virt-v2v.1.html" class=3D"" style=3D"text= -decoration: none !important; color: #000000 !important; line-height: 100%;= font-size: 18px; display: block;"><span class=3D"" style=3D"margin: 0; fon= t-weight: normal;margin-bottom: 3px; font-size: 18px; line-height: 21px; ma= x-height: 43px; color: #000000; overflow: hidden !important; display: inlin= e-block;">virt-v2v</span></a><div style=3D"font-size: 13px; line-height: 20=
<a href=3D"http://libguestfs.org/virt-v2v.1.html" class=3D"" style=3D"colo= r: black; text-decoration: none !important;cursor:pointer !important;" targ= et=3D"_blank"><span class=3D"" style=3D"display: inline-block; line-height:= 11px; max-width: 314px; min-width: 254px; overflow: hidden; max-height: 13=
---1603101515-1160661801-1413894801=:64226 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable that the newest virtv2v has dropped support for importing from an ESXi sta= ndalone machine - and now only works with vcenter. I didn't have any succe= ss with using the current virt-v2v attaching to an ESXi host. >>>>>>I've pr= epared the VM by first removing the vmware tools and have installled the va= rious virtio drivers, as well as running the 'mergeide' registry file to en= able IDE. I've used 'qemu-img' to convirt this VMDK file to QCOW2. It doe= s 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 expo= rt 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 a= ction? It seems strange that I can't just import a disk into ovirt, const= ruct a VM and attach the disk. >>>>Is there anything int he works to make t= his 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 y= mmv. >Here's the link: virt-v2v >HTH >-- >Mit freundlichen Gr=FC=DFen / Reg= ards >Sven Kieske=0A =0A =0Avirt-v2v=0ANAME SYNOPSIS DESCRIPTION = INPUT AND OUTPUT MODES EXAMPLES Convert from VMware vCenter server to local= libvirt Convert from ESX to RHEV-M/oVirt Convert disk image to OpenStack g= lance =0AView on libguestfs.org Preview by Yahoo =0A =0A=0A=0AHi Sven.= =0AYes, I've had a look at that doco. I've even built up a Centos 7 machin= e and installed the EL7.1 libguestfs preview, which contains the very recen= t 1.28 release of libguestfs.=0AI'd be most interested to hear peoples expe= riences doing these kinds of operations.=0AI remeber Sandro was soliciting = feedback about how the import process could be improved not long ago. It s= eems this is still an area that needs a bit of polish in ovirt - not to tak= e away from the significant work that Richard Jones in doing with libguestf= s and the associated tools.=0A ---1603101515-1160661801-1413894801=:64226 Content-Type: text/html; charset=iso-8859-1 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"><pre style=3D"" class=3D"">>On 21/10/14 07:27, Paul Jansen= wrote:=0A>><i style=3D"" class=3D""> I've just been doing some searc= hing to try and work out how to get a vmware windows VM into ovirt.=0A</i>&= gt;><i style=3D"" class=3D""> It seems that the newest virtv2v has dropp= ed support for importing from an ESXi standalone machine - and now only wor= ks with vcenter. I didn't have any success with using the current virt-v2v= attaching to an ESXi host.=0A</i>>><i style=3D"" class=3D""> =0A</i>= >><i style=3D"" class=3D""> =0A</i>>><i style=3D"" class=3D""> = 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 fil= e 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.=0A</i>>><i style=3D"" class=3D""> =0A</= i>>><i style=3D"" class=3D""> It seems my best option at the moment i= s to export the VMware VM as an OVA and then try and use a newer virt-v2v t= o import this into ovirt.=0A</i>>><i style=3D"" class=3D""> Alternati= vely 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.=0A</i>>>= <i style=3D"" class=3D""> =0A</i>>><i style=3D"" class=3D""> Can some= one 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.=0A</i>= >><i style=3D"" class=3D""> =0A</i>>><i style=3D"" class=3D""> = Is there anything int he works to make this process easier?=0A</i>=0A>Di= d you consult the documentation of virt-v2v ?=0A>Imho all the informatio= n you need is there, but I didn't test this=0A>myself so ymmv.=0A=0A>= Here's the link:=0A<a style=3D"" class=3D"" href=3D"http://libguestfs.org/v= irt-v2v.1.html">virt-v2v</a>=0A=0A>HTH=0A=0A>-- =0A>Mit freundlich= en Gr=FC=DFen / Regards=0A=0A>Sven Kieske</pre><div style=3D"width:450px= ; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';margin-top:5p= x; margin-bottom: 5px;" id=3D"enhancrCard_0" class=3D"" contenteditable=3D"= false"><table class=3D"" style=3D"width:450px; height:auto; position: relat= ive; display: block;" border=3D"0" cellpadding=3D"0" cellspacing=3D"0"><tbo= dy style=3D"" class=3D""><tr style=3D"" class=3D""><td class=3D"" colspan= =3D"7" style=3D"height: 1px; background-color: #e5e5e5; font-size: 1px; bor= der-collapse: collapse;"><div class=3D"" style=3D"height: 1px; background-c= olor: #e5e5e5; font-size: 1px; line-height:0px;"> </div></td></tr><tr = style=3D"" class=3D""><td rowspan=3D"5" class=3D"" style=3D"width: 1px; bac= kground-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;"><div cl= ass=3D"" style=3D"width: 1px; background-color: #e5e5e5; font-size: 1pt;">&= nbsp;</div></td><td rowspan=3D"5" class=3D"" style=3D"width: 14px; backgrou= nd-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class= =3D"" style=3D"width: 14px; background-color: #ffffff; font-size: 14pt;"> <= /div></td><td colspan=3D"2" class=3D"" style=3D"height: 6px; background-col= or: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class=3D"" st= yle=3D"height: 6px; background-color: #ffffff; font-size: 6pt;"> </div= px; color: #999999; max-height: 81px; font-family: 'Georgia', 'Times', 'Tim= es New Roman', 'serif';overflow: hidden;" class=3D"">NAME SYNOPSIS DESCRIPT= ION INPUT AND OUTPUT MODES EXAMPLES Convert from VMware vCenter server to l= ocal libvirt Convert from ESX to RHEV-M/oVirt Convert disk image to OpenSta= ck glance </div></div></div></td></tr><tr style=3D"" class=3D""><td colspan= =3D"2" class=3D"" style=3D"height: 6px; background-color: #ffffff; font-size: 0pt; border-co= llapse: collapse;"><div class=3D"" style=3D"height: 6px; background-color: = #ffffff; font-size: 6pt;"></div></td></tr><tr style=3D"" class=3D""><td cla= ss=3D"" style=3D"vertical-align: middle; font-family: 'Arial', 'Helvetica N= eue', 'Helvetica', 'sans-serif';"><div class=3D"" style=3D"font-size: 0pt;"= px; word-break: break-all;"><span class=3D"" style=3D"vertical-align:middle= ; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust:= none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size= -adjust:none;">View on <span style=3D"font-weight: bold" class=3D"">libguestfs.org</span></span></span></a></div></td><td class=3D"= " style=3D"vertical-align: middle; width: 100px; font-family: 'Arial', 'Hel= vetica Neue', 'Helvetica', 'sans-serif';"><div class=3D"" style=3D"max-widt= h: 100px; min-width: 80px; overflow: hidden; text-align: right; line-height= : 11px; max-height: 13px; font-size: 0pt;"><span class=3D"" style=3D"vertic= al-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-te= xt-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:= none; text-size-adjust:none;">Preview by Yahoo</span></div></td></tr><tr st= yle=3D"" class=3D""><td colspan=3D"2" class=3D"" style=3D"height: 9px; back= ground-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div cla= ss=3D"" style=3D"height: 9px; background-color: #ffffff; font-size: 9pt;"><= /div></td></tr><tr style=3D"" class=3D""><td class=3D"" colspan=3D"7" style= =3D"height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse= : collapse;"><div class=3D"" style=3D"height: 1px; background-color: #e5e5e5; font-size: 1px; line-heig= ht:0px"> </div></td></tr></tbody></table></div><div style=3D"" class= =3D""><br style=3D""></div><div style=3D"" class=3D""><br class=3D"" style= =3D"">Hi Sven.</div><div style=3D"" class=3D"">Yes, I've had a look at that= doco. I've even built up a Centos 7 machine and installed the EL7.1 = libguestfs preview, which contains the very recent 1.28 release of libguest= fs.</div><div style=3D"" class=3D"">I'd be most interested to hear peoples = experiences doing these kinds of operations.</div><div style=3D"" class=3D"= ">I remeber Sandro was soliciting feedback about how the import process cou= ld be improved not long ago. It seems this is still an area that need= s a bit of polish in ovirt - not to take away from the significant work tha= t Richard Jones in doing with libguestfs and the associated tools.</div><di= v style=3D"" class=3D""><br style=3D"" class=3D""></div></div></body></html=
---1603101515-1160661801-1413894801=:64226--
participants (1)
-
Paul Jansen