Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

virt-v2v error when copying disks OVM to KVM migration

I'm following the steps from Simon's blog for the migration on OL8.

When I run the virt-v2v command it seems to be fine up to the point of copying the virtual disks. I get this output:

[  82.2] Copying disk 1/3 to qemu URI json:{ "file.driver": "nbd", "file.path": "/tmp/v2vnbdkit.9xsrGl/nbdkit3.sock", "file.export": "/" } (raw)
libguestfs: trace: disk_has_backing_file "/var/tmp/v2vovl11af1a.qcow2"
libguestfs: trace: disk_has_backing_file = 1
nbdkit: python[1]: error: /tmp/v2v.mzwjAg/rhv-upload-plugin.py: open: error: Traceback (most recent call last):
   File "/tmp/v2v.mzwjAg/rhv-upload-plugin.py", line 120, in open
    options = get_options(http, destination_url)
   File "/tmp/v2v.mzwjAg/rhv-upload-plugin.py", line 755, in get_options
    http.request("OPTIONS", url.path)
   File "/usr/lib64/python3.6/http/client.py", line 1273, in request
    self._send_request(method, url, body, headers, encode_chunked)
   File "/usr/lib64/python3.6/http/client.py", line 1319, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
   File "/usr/lib64/python3.6/http/client.py", line 1268, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
   File "/usr/lib64/python3.6/http/client.py", line 1044, in _send_output
    self.send(msg)
   File "/usr/lib64/python3.6/http/client.py", line 982, in send
    self.connect()
   File "/usr/lib64/python3.6/http/client.py", line 1433, in connect
    super().connect()
   File "/usr/lib64/python3.6/http/client.py", line 954, in connect
    (self.host,self.port), self.timeout, self.source_address)
   File "/usr/lib64/python3.6/socket.py", line 724, in create_connection
    raise err
   File "/usr/lib64/python3.6/socket.py", line 713, in create_connection
    sock.connect(sa)
 OSError: [Errno 113] No route to host

qemu-img: Could not open 'json:{ "file.driver": "nbd", "file.path": "/tmp/v2vnbdkit.9xsrGl/nbdkit3.sock", "file.export": "/" }': Requested export not available

virt-v2v: error: qemu-img command failed, see earlier errors

If reporting bugs, run virt-v2v with debugging enabled and include the
complete output:

I'm not sure where it's unable to route to host. Could really use some help troubleshooting this. Google searches aren't really turning up anything useful with the nbd or nbdkit3.sock

Comments
Post Details
Added on Oct 28 2024
0 comments
377 views