[libvirt-users] Fwd: Please help see issue: conn.storageVolLookupByPath('/var/lib/xen/images/xen-pv-rhel5.9-x64-nolvm.img')

Junqin Zhou juzhou at redhat.com
Fri Jul 15 06:37:23 UTC 2016


Hi all,
Please see the attachment for vdsm.log details, thanks.

Best Regards,
juzhou.


----- Forwarded Message -----
> From: "Junqin Zhou" <juzhou at redhat.com>
> To: libvirt-users at redhat.com
> Cc: "Shahar Havivi" <shavivi at redhat.com>, "Tingting Zheng" <tzheng at redhat.com>, "Min Zhan" <mzhan at redhat.com>, "Ming
> Xie" <mxie at 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-management/features/XenToOvirt.html.md
> 
> 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.
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdsm.zip
Type: application/zip
Size: 16886 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20160715/53bda4b2/attachment.zip>


More information about the libvirt-users mailing list