Skip to Main Content

Migrating from oracle vm to kvm using virt-v2v fails with time out

Moh.SayedJan 21 2021 — edited Jan 21 2021

we are migrating our VMs from Oracle VM 3.4.4 to oracle linux kvm using the virt-v2v tool as per the blog
https://blogs.oracle.com/scoter/migrate-oracle-vm-to-oracle-linux-kvm
we have successfully migrated VM if its hard is about 10 or 20 GB
with larger HD disk like (60GB or more ) we're getting the following error

[ 138.4] Copying disk 1/2 to qemu URI json:{ "file.driver": "nbd", "file.path": "/var/tmp/rhvupload.c5gUOS/nbdkit0.sock", "file.export": "/" } (raw)
nbdkit: python[1]: error: /var/tmp/v2v.aoOHD7/rhv-upload-plugin.py: open: error: ['Traceback (most recent call last):\n', ' File "/var/tmp/v2v.aoOHD7/rhv-upload-plugin.py", line 192, in open\n raise RuntimeError("timed out waiting for disk to become unlocked")\n', 'RuntimeError: timed out waiting for disk to become unlocked\n']
qemu-img: Could not open 'json:{ "file.driver": "nbd", "file.path": "/var/tmp/rhvupload.c5gUOS/nbdkit0.sock", "file.export": "/" }': Failed to read option reply: Unexpected end-of-file before all bytes were read

Comments
Post Details