The import of the VM from VMware fails with message:"this function is not supported by the connection driver: virDomainGetBlockInfo"

Solution Verified - Updated -

Issue

It is not possible to import the VM from VMware.
In the vdsm.log is possible to see error:

2017-08-22 08:10:23,255-0400 ERROR (jsonrpc/5) [root] Error getting disk size (v2v:1089)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 1081, in _get_disk_info
    vol = vm.blockInfo(disk['alias'])
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 694, in blockInfo
    if ret is None: raise libvirtError ('virDomainGetBlockInfo() failed', dom=self)
libvirtError: this function is not supported by the connection driver: virDomainGetBlockInfo
2017-08-22 08:10:23,255-0400 WARN  (jsonrpc/5) [root] Cannot add VM test due to disk storage error (v2v:1020)

Environment

  • Red Hat Virtualization 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.