[ovirt-users] importing a qcow2 disk into ovirt 3.5?
Fernando Fuentes
ffuentes at aasteel.com
Tue Oct 21 22:34:43 UTC 2014
Just try throwing ideas out there... I actually use virtualbox tools to convert 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 at redhat.com> wrote:
>
>> 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 at 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 at 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
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141021/93e9c4af/attachment-0001.html>
More information about the Users
mailing list