[Users] qcow2 image import.

Hello !! I'm wondering if it's possible to import a VM disk on qcow2 format on oVirt to use it as a VM hard disk. The idea is to import a VMWare (vmdk) o Xen (ova) virtual hdd on oVirt. Regards. -- AGD

------=_Part_30884468_468910387.1345371747433 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- Original Message -----
From: "Andres Gonzalez" <tuchoz@gmail.com> To: users@ovirt.org Sent: Saturday, August 18, 2012 5:30:34 AM Subject: [Users] qcow2 image import.
Hello !!
I'm wondering if it's possible to import a VM disk on qcow2 format on oVirt to use it as a VM hard disk. The idea is to import a VMWare (vmdk) o Xen (ova) virtual hdd on oVirt.
Regards.
-- AGD
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
As far as i remember, there is no way to import just a disk, only vm/template. i guess you could find a way to create an OVF to represent a vm that attached to that disk, import it and then detach the disk from the fake vm ------=_Part_30884468_468910387.1345371747433 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Andres Gonzalez" <tuchoz@gmail.com><br><b>To: </b>users@ovirt.org<br><b>Sent: </b>Saturday, August 18, 2012 5:30:34 AM<br><b>Subject: </b>[Users] qcow2 image import.<br><br><div><div>Hello !!</div><div><br></div><div>I'm wondering if it's possible to import a VM disk on qcow2 format on oVirt to use it as a VM hard disk.</div><div>The idea is to import a VMWare (vmdk) o Xen (ova) virtual hdd on oVirt.</div> <div><br></div><div>Regards.</div></div><div><br></div>-- <br>AGD<br> <br>_______________________________________________<br>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquote>As far as i remember, there is no way to import just a disk,<br>only vm/template.<br>i guess you could find a way to create an OVF to represent a vm that attached to that disk,<br>import it and then detach the disk from the fake vm<br></div></body></html> ------=_Part_30884468_468910387.1345371747433--

On 08/19/2012 01:22 PM, Omer Frenkel wrote:
------------------------------------------------------------------------
*From: *"Andres Gonzalez" <tuchoz@gmail.com> *To: *users@ovirt.org *Sent: *Saturday, August 18, 2012 5:30:34 AM *Subject: *[Users] qcow2 image import.
Hello !!
I'm wondering if it's possible to import a VM disk on qcow2 format on oVirt to use it as a VM hard disk. The idea is to import a VMWare (vmdk) o Xen (ova) virtual hdd on oVirt.
Regards.
-- AGD
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
As far as i remember, there is no way to import just a disk, only vm/template. i guess you could find a way to create an OVF to represent a vm that attached to that disk, import it and then detach the disk from the fake vm
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
but you don't need to convert the vmdk to qcow2 necessarily - take a look at virt-v2v to do this for you, including changing drivers, etc.

On Sun, Aug 19, 2012 at 1:31 PM, Itamar Heim <iheim@redhat.com> wrote:
On 08/19/2012 01:22 PM, Omer Frenkel wrote:
------------------------------**------------------------------** ------------
*From: *"Andres Gonzalez" <tuchoz@gmail.com> *To: *users@ovirt.org *Sent: *Saturday, August 18, 2012 5:30:34 AM *Subject: *[Users] qcow2 image import.
Hello !!
I'm wondering if it's possible to import a VM disk on qcow2 format on oVirt to use it as a VM hard disk. The idea is to import a VMWare (vmdk) o Xen (ova) virtual hdd on oVirt.
Regards.
-- AGD
______________________________**_________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users>
As far as i remember, there is no way to import just a disk, only vm/template. i guess you could find a way to create an OVF to represent a vm that attached to that disk, import it and then detach the disk from the fake vm
______________________________**_________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/**mailman/listinfo/users<http://lists.ovirt.org/mailman/listinfo/users>
but you don't need to convert the vmdk to qcow2 necessarily - take a look at virt-v2v to do this for you, including changing drivers, etc.
As could could see virt-v2v converts VMWare ESX/ESXi VMs, but I have on VMWare Server 2.x. Also I have Citrix XenServer VMs. Regards.- -- AGD

On 08/19/2012 11:42 PM, Andres Gonzalez wrote:
On Sun, Aug 19, 2012 at 1:31 PM, Itamar Heim <iheim@redhat.com <mailto:iheim@redhat.com>> wrote:
On 08/19/2012 01:22 PM, Omer Frenkel wrote:
------------------------------__------------------------------__------------
*From: *"Andres Gonzalez" <tuchoz@gmail.com <mailto:tuchoz@gmail.com>> *To: *users@ovirt.org <mailto:users@ovirt.org> *Sent: *Saturday, August 18, 2012 5:30:34 AM *Subject: *[Users] qcow2 image import.
Hello !!
I'm wondering if it's possible to import a VM disk on qcow2 format on oVirt to use it as a VM hard disk. The idea is to import a VMWare (vmdk) o Xen (ova) virtual hdd on oVirt.
Regards.
-- AGD
_________________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/__mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
As far as i remember, there is no way to import just a disk, only vm/template. i guess you could find a way to create an OVF to represent a vm that attached to that disk, import it and then detach the disk from the fake vm
_________________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/__mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
but you don't need to convert the vmdk to qcow2 necessarily - take a look at virt-v2v to do this for you, including changing drivers, etc.
As could could see virt-v2v converts VMWare ESX/ESXi VMs, but I have on VMWare Server 2.x. Also I have Citrix XenServer VMs.
matt/rich - any pointers on converting these? thanks, Itamar

On Mon, Aug 20, 2012 at 07:47:26AM +0300, Itamar Heim wrote:
On 08/19/2012 11:42 PM, Andres Gonzalez wrote:
On Sun, Aug 19, 2012 at 1:31 PM, Itamar Heim <iheim@redhat.com <mailto:iheim@redhat.com>> wrote:
On 08/19/2012 01:22 PM, Omer Frenkel wrote: *From: *"Andres Gonzalez" <tuchoz@gmail.com <mailto:tuchoz@gmail.com>> *To: *users@ovirt.org <mailto:users@ovirt.org> *Sent: *Saturday, August 18, 2012 5:30:34 AM *Subject: *[Users] qcow2 image import.
Hello !!
I'm wondering if it's possible to import a VM disk on qcow2 format on oVirt to use it as a VM hard disk. The idea is to import a VMWare (vmdk) o Xen (ova) virtual hdd on oVirt.
[...]
As could could see virt-v2v converts VMWare ESX/ESXi VMs, but I have on VMWare Server 2.x. Also I have Citrix XenServer VMs.
matt/rich - any pointers on converting these?
Virt-v2v cannot convert from the OVF + disk image at the moment. We'll probably support this in future now that support for VMDK in qemu is working better. Also there's no support for conversion from Citrix Xen. It's also on the wishlist. If you have the original ESX server then you can convert from that. Alternately just convert the image using qemu-img, and it may work. The drivers will be all wrong, but it may be possible to fix those up by hand (using libguestfs if it doesn't boot). Note that older versions of qemu were known to silently corrupt VMDK files when you converted them, so check the result before deleting the original. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v

On Sun, 2012-08-19 at 17:42 -0300, Andres Gonzalez wrote:
On Sun, Aug 19, 2012 at 1:31 PM, Itamar Heim <iheim@redhat.com> wrote: On 08/19/2012 01:22 PM, Omer Frenkel wrote:
------------------------------------------------------------------------
*From: *"Andres Gonzalez" <tuchoz@gmail.com> *To: *users@ovirt.org *Sent: *Saturday, August 18, 2012 5:30:34 AM *Subject: *[Users] qcow2 image import.
Hello !!
I'm wondering if it's possible to import a VM disk on qcow2 format on oVirt to use it as a VM hard disk. The idea is to import a VMWare (vmdk) o Xen (ova) virtual hdd on oVirt.
Regards.
-- AGD
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
As far as i remember, there is no way to import just a disk, only vm/template. i guess you could find a way to create an OVF to represent a vm that attached to that disk, import it and then detach the disk from the fake vm
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
but you don't need to convert the vmdk to qcow2 necessarily - take a look at virt-v2v to do this for you, including changing drivers, etc.
As could could see virt-v2v converts VMWare ESX/ESXi VMs, but I have on VMWare Server 2.x.
Wouldn't it be possible to use VMware converter 3 to migrate the VMs to ESX/ESXi type and then use virt-v2v?
Also I have Citrix XenServer VMs.
Regards.-
-- AGD
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Mon, Aug 20, 2012 at 6:08 AM, Antoni Segura Puimedon <asegurap@redhat.com
wrote:
On Sun, 2012-08-19 at 17:42 -0300, Andres Gonzalez wrote:
On Sun, Aug 19, 2012 at 1:31 PM, Itamar Heim <iheim@redhat.com> wrote: On 08/19/2012 01:22 PM, Omer Frenkel wrote:
------------------------------------------------------------------------
*From: *"Andres Gonzalez" <tuchoz@gmail.com> *To: *users@ovirt.org *Sent: *Saturday, August 18, 2012 5:30:34 AM *Subject: *[Users] qcow2 image import.
Hello !!
I'm wondering if it's possible to import a VM disk on qcow2 format on oVirt to use it as a VM hard disk. The idea is to import a VMWare (vmdk) o Xen (ova) virtual hdd on oVirt.
Regards.
-- AGD
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
As far as i remember, there is no way to import just a disk, only vm/template. i guess you could find a way to create an OVF to represent a vm that attached to that disk, import it and then detach the disk from the fake vm
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
but you don't need to convert the vmdk to qcow2 necessarily - take a look at virt-v2v to do this for you, including changing drivers, etc.
As could could see virt-v2v converts VMWare ESX/ESXi VMs, but I have on VMWare Server 2.x.
Wouldn't it be possible to use VMware converter 3 to migrate the VMs to ESX/ESXi type and then use virt-v2v?
There's an application from Acronis ( http://www.acronis.com/backup-recovery/advanced-server-virtual/#red-hat-rhev) that seems to work (convert Citrix Xen Server and VMWAre VMs) to RHEV, this should also work on oVirt, don't ? -- AGD

This is a multi-part message in MIME format. --------------090804040708020008060307 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-8-19 18:22, Omer Frenkel wrote:
------------------------------------------------------------------------
*From: *"Andres Gonzalez" <tuchoz@gmail.com> *To: *users@ovirt.org *Sent: *Saturday, August 18, 2012 5:30:34 AM *Subject: *[Users] qcow2 image import.
Hello !!
I'm wondering if it's possible to import a VM disk on qcow2 format on oVirt to use it as a VM hard disk.
The idea is to import a VMWare (vmdk) o Xen (ova) virtual hdd on oVirt.
Regards.
-- AGD
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
As far as i remember, there is no way to import just a disk, only vm/template. i guess you could find a way to create an OVF to represent a vm that attached to that disk, import it and then detach the disk from the fake vm
Do we have such a tool in oVirt? Or just create the OVF file manually? After I get the OVF file, where should I put the OVF file and the disk file to be imported?
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- --- ?? Shu Ming Open Virtualization Engineerning; CSTL, IBM Corp. Tel: 86-10-82451626 Tieline: 9051626 E-mail: shuming@cn.ibm.com or shuming@linux.vnet.ibm.com Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC --------------090804040708020008060307 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 bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 2012-8-19 18:22, Omer Frenkel wrote:<br> </div> <blockquote cite="mid:1859373466.30884469.1345371747434.JavaMail.root@redhat.com" type="cite"> <style type="text/css">p { margin: 0; }</style> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000"><br> <br> <hr id="zwchr"> <blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Andres Gonzalez" <a class="moz-txt-link-rfc2396E" href="mailto:tuchoz@gmail.com"><tuchoz@gmail.com></a><br> <b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a><br> <b>Sent: </b>Saturday, August 18, 2012 5:30:34 AM<br> <b>Subject: </b>[Users] qcow2 image import.<br> <br> <div> <div>Hello !!</div> <div><br> </div> <div>I'm wondering if it's possible to import a VM disk on qcow2 format on oVirt to use it as a VM hard disk.</div> </div> </blockquote> </div> </blockquote> <blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"> <div> <div>The idea is to import a VMWare (vmdk) o Xen (ova) virtual hdd on oVirt.</div> </div> </blockquote> <blockquote cite="mid:1859373466.30884469.1345371747434.JavaMail.root@redhat.com" type="cite"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000"> <blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"> <div> <div><br> </div> <div>Regards.</div> </div> <div><br> </div> -- <br> AGD<br> <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> </blockquote> As far as i remember, there is no way to import just a disk,<br> only vm/template.<br> i guess you could find a way to create an OVF to represent a vm that attached to that disk,<br> import it and then detach the disk from the fake vm<br> </div> </blockquote> <br> Do we have such a tool in oVirt? Or just create the OVF file manually? After I get the OVF file, where should I put the OVF file and the disk file to be imported?<br> <br> <blockquote cite="mid:1859373466.30884469.1345371747434.JavaMail.root@redhat.com" type="cite"> <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> <br> <pre class="moz-signature" cols="72">-- --- 舒明 Shu Ming Open Virtualization Engineerning; CSTL, IBM Corp. Tel: 86-10-82451626 Tieline: 9051626 E-mail: <a class="moz-txt-link-abbreviated" href="mailto:shuming@cn.ibm.com">shuming@cn.ibm.com</a> or <a class="moz-txt-link-abbreviated" href="mailto:shuming@linux.vnet.ibm.com">shuming@linux.vnet.ibm.com</a> Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC</pre> </body> </html> --------------090804040708020008060307--
participants (7)
-
Andres Gonzalez
-
Antoni Segura Puimedon
-
Itamar Heim
-
Omer Frenkel
-
Richard W.M. Jones
-
Shu Ming
-
Winfried de Heiden