Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1168143

Summary: Installing a host on el7 fails with yum syntax errors
Product: [Retired] oVirt Reporter: Amit Aviram <aaviram>
Component: vdsmAssignee: Alon Bar-Lev <alonbl>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5CC: aaviram, bazulay, bugs, dougsland, ecohen, gklein, iheim, lsurette, mgoldboi, rbalakri, ycui, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-26 13:07:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ovirt-engine-3.5/var/log/ovirt-engine/host-deploy log file none

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 ***