Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionJaroslav Spanko
2017-08-23 12:08:52 UTC
Description of problem:
When trying to select VM for the import it fails with message
~~~
All chosen VMs couldn't be retrieved by the external system and therefore have been filtered. Please see log for details.
~~~
engine.log
~~~
2017-08-22 08:09:03,750-04 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsFullInfoFromExternalProviderVDSCommand] (default task-130) [65ff9fb2-25e4-44a2-90fd-cb5a55e17e02] START, GetVmsFullInfoFromExternalProviderVDSCommand(HostName = rhvhsrv03, GetVmsFromExternalProviderParameters:{runAsync='true', hostId='3c4e0144-c1be-4bad-8737-dfa749a86f1f',
url='vpx://XXXXXX?no_verify=1', username='root', originType='VMWARE', namesOfVms='[rh73-clone]'}), log id: 6ab41bac
2017-08-22 08:09:05,315-04 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsFullInfoFromExternalProviderVDSCommand] (default task-130) [65ff9fb2-25e4-44
a2-90fd-cb5a55e17e02] FINISH, GetVmsFullInfoFromExternalProviderVDSCommand, return: [], log id: 6ab41bac
~~~
vdsm.log
~~~
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 rh73-clone due to disk storage error (v2v:1020)
~~~
Version-Release number of selected component (if applicable):
libvirt-3.2.0-14.el7_4.2.x86_64
RHV 4.1.4
ESX 6.0
Steps to Reproduce:
1. Import VM - select
2. All chosen VMs couldn't be retrieved
Actual results:
libvirtError: this function is not supported by the connection driver: virDomainGetBlockInfo
Expected results:
The VM passed the test
This looks like a bug in RHV's v2v code. The virDomainGetBlockInfo is only implemented in qemu driver. Calling it on a vpx:// connection will always return "this function is not supported" error.
currently doesn't seem to be worth fixing, the only case we encountered so far was with CD-ROM block device which is addressed on RHV side by bug 1485807
Comment 6Jaroslav Suchanek
2017-08-28 10:20:24 UTC
Description of problem: When trying to select VM for the import it fails with message ~~~ All chosen VMs couldn't be retrieved by the external system and therefore have been filtered. Please see log for details. ~~~ engine.log ~~~ 2017-08-22 08:09:03,750-04 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsFullInfoFromExternalProviderVDSCommand] (default task-130) [65ff9fb2-25e4-44a2-90fd-cb5a55e17e02] START, GetVmsFullInfoFromExternalProviderVDSCommand(HostName = rhvhsrv03, GetVmsFromExternalProviderParameters:{runAsync='true', hostId='3c4e0144-c1be-4bad-8737-dfa749a86f1f', url='vpx://XXXXXX?no_verify=1', username='root', originType='VMWARE', namesOfVms='[rh73-clone]'}), log id: 6ab41bac 2017-08-22 08:09:05,315-04 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsFullInfoFromExternalProviderVDSCommand] (default task-130) [65ff9fb2-25e4-44 a2-90fd-cb5a55e17e02] FINISH, GetVmsFullInfoFromExternalProviderVDSCommand, return: [], log id: 6ab41bac ~~~ vdsm.log ~~~ 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 rh73-clone due to disk storage error (v2v:1020) ~~~ Version-Release number of selected component (if applicable): libvirt-3.2.0-14.el7_4.2.x86_64 RHV 4.1.4 ESX 6.0 Steps to Reproduce: 1. Import VM - select 2. All chosen VMs couldn't be retrieved Actual results: libvirtError: this function is not supported by the connection driver: virDomainGetBlockInfo Expected results: The VM passed the test