Hi community,
Any clue why I'm getting this error while trying to import a VM (KVM to oVirt) and how
I can fix it?
-The software version I'm running is "4.2.6.4-1.el7".
-The remote KVM host is running libvirtd (libvirt) 4.0.0.
[root@c200m2-1 import]# cat
import-a149e904-04da-4b8d-8a38-4e6eb6cf3208-20181023T220301.log
[ 1.3] preparing for copy
[ 1.3] Copying disk 1/1 to
/rhev/data-center/mnt/10.194.16.159:_mnt_data2_ovirt_data/ed097e85-721e-4f9b-a07a-68e8494bc0d0/images/628069d9-7fb7-4a70-b7b2-e16633e8f346/1ffc5ad7-c860-4c9e-9bf1-fc90b6f2f39c
libvirt: QEMU Driver error : Operation not supported: peeking is supported only for RAW
disks
Traceback (most recent call last):
File "/usr/libexec/vdsm/kvm2ovirt", line 22, in <module>
kvm2ovirt.main()
File "/usr/lib/python2.7/site-packages/vdsm/kvm2ovirt.py", line 200, in main
handle_path(con, diskno, src, dst, options)
File "/usr/lib/python2.7/site-packages/vdsm/kvm2ovirt.py", line 169, in
handle_path
download_disk(vmAdapter, physical, physical, dst, options.bufsize)
File "/usr/lib/python2.7/site-packages/vdsm/kvm2ovirt.py", line 125, in
download_disk
op.run()
File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py",
line 81, in run
self._run()
File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py",
line 183, in _run
self._receive_chunk(dst, buf, count)
File "/usr/lib64/python2.7/site-packages/ovirt_imageio_common/directio.py",
line 207, in _receive_chunk
chunk = self._src.read(toread)
File "/usr/lib/python2.7/site-packages/vdsm/kvm2ovirt.py", line 45, in read
buf = self._vm.blockPeek(self._src, self._pos, size)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 820, in blockPeek
if ret is None: raise libvirtError ('virDomainBlockPeek() failed', dom=self)
libvirt.libvirtError: Operation not supported: peeking is supported only for RAW disks