Description of problem: Installing a host on el7 fails with yum syntax errors. While trying to install a host on el7 error occurred with yum syntax errors- the engine's error log is attached. after manually yum installing vdsm on the host, the reinstallation completes successfully. (also glusterfs was needed to be installed, I've opened another bug for it.) Version-Release number of selected component (if applicable): engine built from source with commit hash: 4d412660f9dcf2fbe057fc99058ba5d8d97520f1 otopi version: otopi-1.3.1-0.0.master.20141027.git34aedec.fc20.noarch otopi-java-1.3.1-0.0.master.20141027.git34aedec.fc20.noarch yum version on the host: # yum --version 3.4.3 Installed: rpm-4.11.1-16.el7.x86_64 at 2014-10-06 10:59 Built : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2014-03-24 11:24 Committed: Panu Matilainen <pmatilai> at 2014-03-24 Installed: subscription-manager-1.10.14-8.el7_0.x86_64 at 2014-10-06 13:01 Built : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2014-05-27 14:41 Committed: ckozak <ckozak> at 2014-05-27 Installed: yum-3.4.3-118.el7.noarch at 2014-10-06 10:59 Built : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2014-04-15 13:54 Committed: James Antill <james.antill> at 2014-04-15 How reproducible: 100% at my host, didn't try on other hosts.. Steps to Reproduce: 1. add an el7 host to ovirt 2. 3. Actual results: fails with yum errors as described above & in the attached log Expected results: installation should succeed Additional info:
Created attachment 961632 [details] ovirt-engine-3.5/var/log/ovirt-engine/host-deploy log file
Amit, is this the same issue as BZ #1168143 ?
It is, and BZ #1168143 has been splitted to this bug and BZ #1168208 as asked.
*** Bug 1168143 has been marked as a duplicate of this bug. ***
per what stated in bug#1168143, this has nothing to do with ovirt-host-deploy, reassigning to vdsm.
Copying relevant information from bug#1168143 2014-11-26 10:43:56 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:92 Yum update: 19/35: vdsm-4.16.7-70.git3bb122c.el7.x86_64 2014-11-26 10:43:58 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum Script sink: warning: /etc/vdsm/vdsm.conf created as /etc/vdsm/vdsm.conf.rpmnew Traceback (most recent call last): File "/usr/bin/vdsm-tool", line 224, in <module> sys.exit(main()) File "/usr/bin/vdsm-tool", line 210, in main except vdsm.tool.UsageError as e: AttributeError: 'module' object has no attribute 'UsageError'
is it an upgrade? can you reproduce it? It seems like you upgraded your installed vdsm. can you specify the version you had before the upgrade? guess yum.log can tell it. this issue might be fixed already..
1.) I cannot reproduce on centos 7: # sudo vdsm-tool configure --force Checking configuration status... libvirt is not configured for vdsm yet Running configure... rpm -qv vdsm Reconfiguration of sebool is done. Reconfiguration of libvirt is done. Done configuring modules to VDSM. # rpm -qv vdsm vdsm-4.16.7-72.git333e4a2.el7.centos.x86_64 # cat /etc/redhat-release CentOS Linux release 7.0.1406 (Core) 2.) This might be a duplicate of the recent bug 1155292 (root issue in bug 1157185) I will check tomorrow if the fix was indeed between 4.16.7-70 and 4.16.7-72 3.) afaiu this bug report indicates 2 errors: something goes wrong during vdsm-tool configure (2.) ?) We want to raise an exception but cannot because of an import error, We should look at that too
*** This bug has been marked as a duplicate of bug 1168689 ***