Hi,
I'm trying to import a KVM VM into Ovirt.
First I tried the GUI VM import functionality and this failed with the error below. However other VMs from the same source host were imported fine.
read-32893::ERROR::2018-06-27 09:43:48,703::v2v::679::root::(_run) Job u'1a5fe287-d2dd-429c-87b5-6f240b59c17f' failed
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 674, in _run
self._import()
File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 691, in _import
with self._command.execute() as self._proc:
File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 597, in execute
yield self._start_helper()
File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 374, in _start_helper
env=self._environment())
File "/usr/lib/python2.7/site-packages/vdsm/commands.py", line 71, in execCmd
deathSignal=deathSignal)
File "/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 63, in __init__
**kw)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 83, in _execute_child_v276
_to_close=to_close
File "/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 118, in _execute_child_v275
restore_sigpipe
OSError: [Errno 0] Error
Thread-32893::ERROR::2018-06-27 09:43:48,704::v2v::686::root::(_run) Job u'1a5fe287-d2dd-429c-87b5-6f240b59c17f', error trying to abort: AttributeError("'NoneType' object has no attribute 'returncode'",)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 683, in _run
self._abort()
File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 743, in _abort
if self._proc.returncode is None:
AttributeError: 'NoneType' object has no attribute 'returncode'
Second I tried using the disk upload feature in the GUI, but this created the target disk then fails to upload the content - I've ensured that the relevant CAs are loaded into the browser.
Third I successfully imported the VM into an ovirt 4.2 instance in the lab, but can find no way of then importing it into ovirt 4.0 as the storage domain format seems not to be backwards compatible.
Finally I used the upload_disk.py example script from python SDK. This creates the disk and starts to upload the content but always fails at 2% with "socket.error: [Errno 32] Broken pipe"
Any ideas on how I can get this qcow2 image loaded into ovirt 4.0?
Thanks,
Alan