Hello, everyone. I'm testing ovirt 4.3.0 now and when I try to import a vm from a
standalone kvm host, it failed. My ovirt cluster's backend storage is a HPE FC device.
here's my step:
1. shutdown the vm in that kvm host.
2. Enable public key authentication between the proxy host (ovirt1) and the KVM host:
3. Enter the URI of the KVM host. qemu+ssh://root@192.168.49.191/system
4. Enter the username and password
5. click "Load" and I can get the vm list.
6. select the vm and use the arrows to move them to the Virtual Machines to Import
list.
7. click "next" and select os type to RHEL 6.x X64.
8. click OK.
then the progress of Importing VM centos6 to Cluster Default failed. log in the proxy host
ovirt1 here:
[ 0.5] preparing for copy
[ 0.5] Copying disk 1/1 to
/rhev/data-center/mnt/blockSD/b842aa93-d374-45ef-8555-ffdb1be274fc/images/18f1ceeb-a28f-4b05-8cd6-1b614cad9445/21380c99-696d-4f62-9f48-d6959041b162
(0/100%)^M (0/100%)^M (100/100%)^MTraceback (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 255, in main
handle_volume(con, diskno, src, dst, options)
File "/usr/lib/python2.7/site-packages/vdsm/kvm2ovirt.py", line 196, in
handle_volume
options.bufsize)
File "/usr/lib/python2.7/site-packages/vdsm/kvm2ovirt.py", line 159, in
download_disk_sparse
stream.sparseRecvAll(bytesWriteHandler, recvSkipHandler, op)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 6122, in
sparseRecvAll
ret = holeHandler(self, length, opaque)
File "/usr/lib/python2.7/site-packages/vdsm/kvm2ovirt.py", line 82, in
recvSkipHandler
return os.ftruncate(fd, cur)
OSError: [Errno 22] Invalid argument
So how could I fix that error, is there anything wrong in my step?
Thanks.
yours Adam