Convert virtual images to RHEV ?

Latest response

Looking at the virt-v2v manual, it seems all based on having a vmware/xen/etc. environment running to do conversions of virtual machines. Does anybody know how I can convert vmware images without having a running vmware setup?

F.ex. I'd want to download and run mininet from https://bitbucket.org/mininet/mininet-vm-images/downloads in RHEV. The mininet....-ovf.zip contains mininet-vm-disk1.vmdk, mininet-vm.mf and mininet-vm.ovf -- Is that convertible to RHEV somehow?

Responses

Here's a detailed document describing the process in some detail. I haven't tried it, however, your mileage may vary. :)
http://rhevdup.blogspot.com/2012/01/convert-vmware-esx-virtual-machine-to.html

Unfortunately my blogpost only converts the VMware image to a KVM disk image, not a RHEV virtual machine. The qemu-img convert was amazingly simple, and there is a utility that I have not found/tried yet - vmware2libvirt

My document was a very specific case, but I think in general I think the process is pretty straight-forward. I think your success will depend mostly on VMware image (and whether they used VMware Tools and VMware-specific devices). I like the following doc which Red Hat hosts (it references RHEV 2.x):
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization_for_Servers/2.2/html/Administration_Guide/virt-v2v-scripts.html
and
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/V2V_Guide/chap-V2V-VMS_To_Run_on_RHEV.html

Here is another guide I thought was helpful (converting OVA/OVF to regular files)
http://edoceo.com/notabene/ova-to-vmdk-to-qcow2

Newer versions of virt-v2v on Fedora can convert ovf's to RHEV.

Slightly unrelated (just incase someone finds this thread!) -- We converted over a dozen KVM guests to RHEV via virt-v2v.

$ virt-v2v -i libvirtxml -o rhev -os hostname:/rhev/share output.xml