<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><b>> Von:</b> users-bounces@ovirt.org [users-bounces@ovirt.org]" im Auftrag von "Markus Stockhausen [stockhausen@collogia.de]<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div style="direction: ltr;" id="divRpF868519"><font color="#000000" face="Tahoma" size="2"><b><b>>
</b>Gesendet:</b> Dienstag, 24. Juni 2014 09:53<br>
</font><font color="#000000" face="Tahoma" size="2"><b><b>> </b>An:</b> ovirt-users<br>
</font><font color="#000000" face="Tahoma" size="2"><b><b>> </b>Betreff:</b> [ovirt-users] FC20 vdsmd broken after latest yum update<br>
</font><b>> </b></div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt"><b>>
</b>Hi,<br>
<b>> </b><br>
<b>> </b>after a maintenance of one of our hosts, vdsmd does not start anymore.<br>
<b>> </b>Error could be narrowed down to the following command:<br>
<b>> </b><br>
<b>> </b>[root ~]# /usr/bin/vdsm-tool is-configured<br>
<b>> </b>Traceback (most recent call last):<br>
<b>> </b> File "/usr/bin/vdsm-tool", line 145, in <module><br>
<b>> </b> sys.exit(main())<br>
<b>> </b> File "/usr/bin/vdsm-tool", line 142, in main<br>
<b>> </b> return tool_command[cmd]["command"](*args[1:])<br>
<b>> </b> File "/usr/lib64/python2.7/site-packages/vdsm/tool/configurator.py", line 251, in isconfigured<br>
<b>> </b> if c.getName() in args.modules and not c.isconfigured()<br>
<b>> </b> File "/usr/lib64/python2.7/site-packages/vdsm/tool/configurator.py", line 103, in isconfigured<br>
<b>> </b> self._exec_libvirt_configure("check_if_configured")<br>
<b>> </b> File "/usr/lib64/python2.7/site-packages/vdsm/tool/configurator.py", line 78, in _exec_libvirt_configure<br>
<b>> </b> raw=True,<br>
<b>> </b> File "/usr/lib64/python2.7/site-packages/vdsm/utils.py", line 645, in execCmd<br>
<b>> </b> deathSignal=deathSignal, childUmask=childUmask)<br>
<b>> </b> File "/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 50, in __init__<br>
<b>> </b> stderr=PIPE)<br>
<b>> </b> File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__<br>
<b>> </b> errread, errwrite)<br>
<b>> </b>TypeError: _execute_child_v275() takes exactly 17 arguments (18 given)<br>
<b>> </b><br>
<b>> </b>We are on Ovirt 3.4.2. FC20 Hypervisor node is fully patched (as mentioned above).<br>
<b>> </b>Any idea what is going wrong?<br>
<b>> </b><br>
<b>> </b>Markus<br>
<br>
Hello,<br>
<br>
seems to be a wrong call in /usr/lib64/python2.7/subprocess.py with python-libs-2.7.5-12<br>
<br>
New coding:<br>
try:<br>
self._execute_child(args, executable, preexec_fn, close_fds,<br>
cwd, env, universal_newlines,<br>
startupinfo, creationflags, shell, to_close,<br>
p2cread, p2cwrite,<br>
c2pread, c2pwrite,<br>
errread, errwrite)<br>
Old coding:<br>
try:<br>
self._execute_child(args, executable, preexec_fn, close_fds,<br>
cwd, env, universal_newlines,<br>
startupinfo, creationflags, shell,<br>
p2cread, p2cwrite,<br>
c2pread, c2pwrite,<br>
errread, errwrite)<br>
<br>
to_close is a new parameter. Going back to old python & libs version fixed it.<br>
<br>
Markus<br>
<br>
</div>
</div>
</div>
</div>
</body>
</html>