virt-v2v fails on VMware ESXi5

Solution Unverified - Updated -

Issue

virt-v2v fails on VMware ESXi5 with the following error message.

virt-v2v -ic esx:// -o rhev -osd <VMWARE_IP>:/rhev-export test_vm_name
virt-v2v: Failed to connect to esx://: libvirt error code: 1, message: internal error Expecting VI API major/minor version '2.5' or '4.x' but found '5.0'

Environment

Red Hat Enterprise Linux 6
libvirt version < 0.9.10-21

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content