Hide Forgot
Description of problem: When trying to add Centos 7 host to engine, ovirtmgmt bridge is not created and following exception appears in vdsm.log: Traceback (most recent call last): File "/usr/share/vdsm/vdsm", line 151, in run serve_clients(log) File "/usr/share/vdsm/vdsm", line 101, in serve_clients from clientIF import clientIF # must import after config is read File "/usr/share/vdsm/clientIF.py", line 31, in <module> from yajsonrpc.betterAsyncore import Reactor File "/usr/lib/python2.7/site-packages/yajsonrpc/betterAsyncore.py", line 25, in <module> from vdsm.sslcompat import sslutils File "/usr/lib/python2.7/site-packages/vdsm/sslcompat.py", line 23, in <module> from . import m2cutils as sslutils File "/usr/lib/python2.7/site-packages/vdsm/m2cutils.py", line 24, in <module> from six.moves import xmlrpc_client as xmlrpclib ImportError: cannot import name xmlrpc_client Version-Release number of selected component (if applicable): vdsm-4.17.999-518.git9a6ef8f.el7.centos.noarch ovirt-engine-4.0.0-0.0.master.20160120111647.git8eed654.el7.centos.noarch How reproducible: 100% Steps to Reproduce: 1. Try to add new host into engine 2. 3. Actual results: Error adding new host in engine Expected results: Host added successfully Additional info:
Created attachment 1116892 [details] engine & vdsm logs
I attempted to reproduce it. I used a vm with installed "CentOS Linux release 7.2.1511 (Core)". I used: "yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm" to get latest master vdsm. After running host deploy the host was 'Up'. Please recheck whether it works for you with the latest vdsm.
Martin, which "six" version do you have installed? With python-six-1.9.0-3.fc23.noarch $ python -c 'from six.moves import xmlrpc_client as xmlrpclib' is quitely successful.
Hi, the issue still remains even with latest master builds: vdsm-4.17.999-536.git433b527.el7.centos.noarch Here is version of python-six: python-six-1.3.0-4.el7.noarch But when trying import, error appears: python -c 'from six.moves import xmlrpc_client as xmlrpclib' Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: cannot import name xmlrpc_client Centos version is: CentOS Linux release 7.1.1503 (Core)
I can see that you have a bit older version of python-six. I am using plain centos and on my vm there is 1.9.0.2 installed from base repo. I checked my f22 and there I have 1.9.0.1. It seems that we could explicitly require version of python-six in the spec. Can you please update your OS and tell me whether the issue is still there?
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.
So after upgrading hosts to Centos 7.2 which contains python-six-1.9.0-2.el7.noarch the issue is fixed. Is it worth to add version dependency for python-six >= 1.9.0 to vdsm or do we expect customers to run always latest version of Centos?
el>=7.2 is a requirement for ovirt>=3.6, but we tend to add a requirement when you see that missing it causes pain to users.
sanity only, verified in vdsm-4.18.999
oVirt 4.0.0 has been released, closing current release.