Description of problem:
Trying to import from any external provider (VMware, Xen or KVM) failed with the next vdsm.log Traceback:
2017-01-24 16:52:37,494 ERROR (v2v/11134c77) [root] Job u'11134c77-fc08-4b64-85db-70d822e87850' failed (v2v:795)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 790, in _run
File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 807, in _import
with self._command.execute() as self._proc:
File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 637, in execute
File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 407, in _start_helper
File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 1304, in _simple_exec_cmd
stdin=stdin, stdout=stdout, stderr=stderr)
File "/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 63, in __init__
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
File "/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 82, in _execute_child_v276
File "/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 137, in _execute_child_v275
OSError: [Errno 9] Bad file descriptor
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Browse webadmin > VMs tab > import
2. Enter VMware details and start import
3. Try to import also from Xen and KVM providers.
Import should not fail
engine.log and vdsm.log attached.
Created attachment 1243958 [details]
Created attachment 1243959 [details]
Issue is relevant also for vdsm-4.19.2-2.el7ev.x86_64
python-cpopen dependency needs to be bumped.
In ovirt the workaround is to manually yum/dnf update the python-cpopen
(In reply to Tomas Jelinek from comment #4)
> python-cpopen dependency needs to be bumped.
> In ovirt the workaround is to manually yum/dnf update the python-cpopen
Nisim, can you confirm it works?
Yes, latest python-cpopen (python-cpopen-1.5-3.el7.x86_64) is solving the issue.
How is this an engine bug if the attached patches are from VDSM?
This would make us build engine instead of VDSM.
How can this has TR 4.19.3 is the current VDSM tag with 4.19.3 doesn't have the attached patches?
it cannot, my bad.
Verified import from KVM (qemu+ssh and qemu+tcp), Xen and VMware.