My Oracle Support Banner

OLVM: virt-v2v fails with "Disk configuration (RAW Sparse) is incompatible with the storage domain type" (Doc ID 2707098.1)

Last updated on OCTOBER 24, 2022

Applies to:

Linux OS - Version Oracle Linux 7.6 and later
Linux x86-64


When migrating VM from OVM to OLVM via virt-v2v, it fails with below error:

# virt-v2v -i libvirtxml /root/xxxx.xml -o ovirt-upload -oc https://<OLVM FQDN>/ovirt-engine/api -os KVM-LAB-REPO -op /root/ -of raw -oo rhv-cluster="MyCluster1" -oo rhv-cafile=/root/ca.pem

Exception AttributeError: "'module' object has no attribute 'dump_plugin'" in <module 'threading' from '/usr/lib64/python2.7/threading.pyc'> ignored
[ 0.2] Opening the source -i libvirtxml /root/xxxx.xml
[ 0.2] Creating an overlay to protect the source from being modified
[ 0.3] Opening the overlay
[ 23.4] Inspecting the overlay
[ 40.4] Checking for sufficient free disk space in the guest
[ 40.4] Estimating space required on target for each disk
[ 40.4] Converting Oracle Linux Server 7.8 to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 88.5] Mapping filesystem data to avoid copying unused and blank areas
[ 89.5] Closing the overlay
[ 89.6] Assigning disks to buses
[ 89.6] Checking if the guest needs BIOS or UEFI to boot
[ 89.6] Initializing the target -o rhv-upload -oc https://<OLVM FQDN>/ovirt-engine/api -op /root/ -os KVM-LAB-REPO
[ 91.0] Copying disk 1/1 to qemu URI json:{ "file.driver": "nbd", "file.path": "/var/tmp/rhvupload.KeyVWk/nbdkit0.sock", "file.export": "/" } (raw)
nbdkit: python[1]: error: /var/tmp/v2v.cQ0hEB/ open: error: ['Traceback (most recent call last):\n', ' File "/var/tmp/v2v.cQ0hEB/", line 174, in open\n name = params[\'output_storage\'],\n', ' File "/usr/lib64/python2.7/site-packages/ovirtsdk4/", line 7074, in add\n return self._internal_add(disk, headers, query, wait)\n', ' File "/usr/lib64/python2.7/site-packages/ovirtsdk4/", line 232, in _internal_add\n return future.wait() if wait else future\n', ' File "/usr/lib64/python2.7/site-packages/ovirtsdk4/", line 55, in wait\n return self._code(response)\n', ' File "/usr/lib64/python2.7/site-packages/ovirtsdk4/", line 229, in callback\n self._check_fault(response)\n', ' File "/usr/lib64/python2.7/site-packages/ovirtsdk4/", line 132, in _check_fault\n self._raise_error(response, body)\n', ' File "/usr/lib64/python2.7/site-packages/ovirtsdk4/", line 118, in _raise_error\n raise error\n', 'Error: Fault reason is "Operation Failed". Fault detail is "[Cannot add Virtual Disk. Disk configuration (RAW Sparse) is incompatible with the storage domain type.]". HTTP response code is 409.\n']
qemu-img: Could not open 'json:{ "file.driver": "nbd", "file.path": "/var/tmp/rhvupload.KeyVWk/nbdkit0.sock", "file.export": "/" }': failed to read option reply: Unexpected end-of-file before all bytes were read


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.