- Export from a libvirt domain to RHV fails with the following message.
nbdkit: python[1]: error: /tmp/v2v.EicyTh/rhv-upload-plugin.py: open: error: Traceback (most recent call last):
File "/tmp/v2v.EicyTh/rhv-upload-plugin.py", line 120, in open
options = get_options(http, destination_url)
File "/tmp/v2v.EicyTh/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 704, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib64/python3.6/socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
qemu-img: Could not open 'json:{ "file.driver": "nbd", "file.path": "/tmp/v2vnbdkit.WKJoXs/nbdkit3.sock", "file.export": "/" }': Requested export not available
virt-v2v: error: qemu-img command failed, see earlier errors