Bug 1168143 - Installing a host on el7 fails with yum syntax errors
Summary: Installing a host on el7 fails with yum syntax errors
Keywords:
Status: CLOSED DUPLICATE of bug 1168203
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: 3.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Alon Bar-Lev
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-26 09:19 UTC by Amit Aviram
Modified: 2015-09-20 19:10 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-26 13:07:57 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)
ovirt-engine-3.5/var/log/ovirt-engine/host-deploy log file (308.94 KB, text/plain)
2014-11-26 09:19 UTC, Amit Aviram
no flags Details

Description Amit Aviram 2014-11-26 09:19:03 UTC
Created attachment 961542 [details]
ovirt-engine-3.5/var/log/ovirt-engine/host-deploy log file

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&glusterfs on the host, the reinstallation completes successfully.


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:

Comment 1 Alon Bar-Lev 2014-11-26 10:11:43 UTC
So you manually installed packages and ignored the errors?
Please close this bug and open a bug per package that fails.
Thanks.

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'

2014-11-26 10:43:58 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum Done: vdsm.x86_64 0:4.16.7-70.git3bb122c.el7 - u
<snip>
2014-11-26 10:44:05 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum Done: glusterfs-libs-3.6.0.5-1.el7.x86_64
2014-11-26 10:44:05 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum Script sink: /sbin/ldconfig: relative path `1' used to build cache
warning: %postun(glusterfs-libs-3.6.0.5-1.el7.x86_64) scriptlet failed, exit status 1

2014-11-26 10:44:05 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:88 Yum Done: glusterfs-libs
2014-11-26 10:44:05 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:97 Yum Non-fatal POSTUN scriptlet failure in rpm package glusterfs-libs-3.6.0.5-1.el7.x86_64

Comment 2 Amit Aviram 2014-11-26 12:11:17 UTC
Opened bugs for each of the manual yum installations that needed to be performed manually:

https://bugzilla.redhat.com/show_bug.cgi?id=1168203
https://bugzilla.redhat.com/show_bug.cgi?id=1168208

Comment 3 Gil Klein 2014-11-26 13:13:18 UTC

*** This bug has been marked as a duplicate of bug 1168203 ***


Note You need to log in before you can comment on or make changes to this bug.