Hi all,
Please see the attachment for vdsm.log details, thanks.
Best Regards,
juzhou.
----- Forwarded Message -----
From: "Junqin Zhou" <juzhou(a)redhat.com>
To: libvirt-users(a)redhat.com
Cc: "Shahar Havivi" <shavivi(a)redhat.com>, "Tingting Zheng"
<tzheng(a)redhat.com>, "Min Zhan" <mzhan(a)redhat.com>, "Ming
Xie" <mxie(a)redhat.com>
Sent: Wednesday, July 13, 2016 6:24:15 PM
Subject: Please help see issue:
conn.storageVolLookupByPath('/var/lib/xen/images/xen-pv-rhel5.9-x64-nolvm.img')
Hi guys,
While testing v2v integration to rhevm4.0, I met following error when import
virtual machine from xen server.
I.rhevm4.0 prompt error message
Failed to communicate with the external provider, see log for additional
details
Steps:
1. In order to import VMs password-less SSH access has to be enabled between
VDSM host and the Xen host. The following steps needed to be done at the
VDSM host:
Refer to
https://github.com/oVirt/ovirt-site/blob/master/source/develop/release-ma...
2. Then login rhevm 4.0 and try to import virtual machine from Xen.
Virtual Machines-->Import-->Fill items on 'Import Virtual Machine(s)'
window
with:
Data Center:xx
Source: Xen(via RHEL)
URI: xen+ssh://root@xxxxxx
Proxy Host: xxxxxx
Result:
Step2 failed to load xen server's guests with error:
Failed to communicate with the external provider, see log for additional
details
Part of vdsm.log
...
jsonrpc.Executor/3::WARNING::2016-07-13
08:18:40,588::v2v::959::root::(_add_disks) Disk {'alias':
'/var/lib/xen/images/xen-pv-rhel5.9-x64-nolvm.img', 'type':
'disk', 'dev':
'xvda'} has unsupported format: <built-in function format>
jsonrpc.Executor/3::ERROR::2016-07-13
08:18:41,504::v2v::923::root::(_add_disk_info) Error getting disk size
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 920, in
_add_disk_info
vol = conn.storageVolLookupByPath(disk['alias'])
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 4596, in
storageVolLookupByPath
if ret is None:raise libvirtError('virStorageVolLookupByPath() failed',
conn=self)
libvirtError: Storage volume not found: no storage vol with matching path
Please help me check how to resolve this issue, thanks.
Best Regards,
juzhou.