Bug 1285281

Summary: CTDB: yum update fails on RHEL6 for ctdb package with dependency on procps-ng and systemd-units
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: surabhi <sbhaloth>
Component: sambaAssignee: Jose A. Rivera <jarrpa>
Status: CLOSED ERRATA QA Contact: surabhi <sbhaloth>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: annair, byarlaga, madam, nlevinki, rcyriac, sankarshan
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.2.4-8.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-01 05:57:56 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:
Bug Depends On:    
Bug Blocks: 1260783, 1285306    

Description surabhi 2015-11-25 10:57:09 UTC
Description of problem:

--> Finished Dependency Resolution
Error: Package: ctdb-4.2.4-7.el6rhs.x86_64 (External-RH-Gluster-3-Server-Repository-3)
           Requires: procps-ng
Error: Package: ctdb-4.2.4-7.el6rhs.x86_64 (External-RH-Gluster-3-Server-Repository-3)
           Requires: systemd-units
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

On RHEL-6 :
yum list procps*
Loaded plugins: aliases, changelog, product-id, security, subscription-manager,
              : tmprepo, verify, versionlock
Installed Packages
procps.x86_64          3.2.8-34.el6_7     @rhel-6-server-rpms      

but ctdb needs procps-ng so it fails to update.

Version-Release number of selected component (if applicable):
ctdb-4.2.4-6

How reproducible:
Always

Steps to Reproduce:
1.Yum update from 3.1.1 to 3.1.2 on RHEL6
2.
3.

Actual results:
Yum update fails with dependency errors for CTDB.

Expected results:
Yum update should succeed.

Additional info:

Comment 2 Michael Adam 2015-11-25 13:59:43 UTC
These are the the requirements for ctdb from the spec:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Requires: coreutils
Requires: fileutils
# for ps and killall
Requires: psmisc
Requires: sed
Requires: tdb-tools
Requires: gawk
# for pkill and pidof:
Requires: procps-ng
# for netstat:
Requires: net-tools
Requires: ethtool
# for ip:
Requires: iproute
Requires: iptables
# for flock, getopt, kill:
Requires: util-linux

Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Changes for rhel6:

1) systemd-units not available on RHEL6
   --> need s/th else?

2) in RHEL6:
   - pkill in procps
   - pidof in sysvinit-tools
   - flock, getopt and kill: in util-linux-ng

Comment 3 Jose A. Rivera 2015-11-27 13:39:57 UTC
New build is up with the appropriate changes:

https://brewweb.devel.redhat.com/buildinfo?buildID=468103

Comment 4 surabhi 2015-11-30 12:12:31 UTC
The update of ctdb packages is successfull with the new build.
verified with the following steps.

Yum update from 3.1.1 to latest puddle for RHEL6.

The ctdb update happens successfully without any dependency issues.

Build info:
samba-4.2.4-8.el6rhs.x86_64
ctdb-4.2.4-8.el6rhs.x86_64

Comment 6 errata-xmlrpc 2016-03-01 05:57:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0193.html