Bug 1440699 - Upgrade of RHGS 3.2 to RHGS 3.3 fails with dependency error of libldb when rhgs-samba channel is not added
Summary: Upgrade of RHGS 3.2 to RHGS 3.3 fails with dependency error of libldb when rh...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: redhat-storage-server
Version: rhgs-3.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: RHGS 3.3.0
Assignee: Milind Changire
QA Contact: surabhi
URL:
Whiteboard:
Depends On:
Blocks: 1417151
TreeView+ depends on / blocked
 
Reported: 2017-04-10 10:09 UTC by surabhi
Modified: 2017-09-21 04:37 UTC (History)
8 users (show)

Fixed In Version: redhat-storage-server-3.3.0.0-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-21 04:37:54 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2774 0 normal SHIPPED_LIVE glusterfs bug fix and enhancement update 2017-09-21 08:16:29 UTC

Description surabhi 2017-04-10 10:09:48 UTC
Description of problem:

When upgrading the systems from 3.2 to 3.3 where samba channel is not added the upgrade fails with following errors:

Error: Package: libldb-1.1.29-1.el7rhgs.x86_64 (Server-RH-Gluster-3.3-Server)
           Requires: libtdb >= 1.3.12
           Installed: libtdb-1.3.8-1.el7_2.x86_64 (@rhel-7-server-rpms)
               libtdb = 1.3.8-1.el7_2
           Available: libtdb-1.2.12-3.el7.i686 (rhel-7-server-rpms)
               libtdb = 1.2.12-3.el7
           Available: libtdb-1.3.0-1.el7.i686 (rhel-7-server-rpms)
               libtdb = 1.3.0-1.el7
           Available: libtdb-1.3.4-1.el7rhgs.x86_64 (rh-gluster-3-for-rhel-7-server-rpms)
               libtdb = 1.3.4-1.el7rhgs
           Available: libtdb-1.3.6-2.el7.i686 (rhel-7-server-rpms)
               libtdb = 1.3.6-2.el7
Error: Package: libldb-1.1.29-1.el7rhgs.x86_64 (Server-RH-Gluster-3.3-Server)
           Requires: libtalloc >= 2.1.8


********************************************

This fails because libldb package is present in both base channel and samba channel.When we do yum update without adding samba channel the libldb package 
is ready for update as there is a new higher version present in RHGS channel but the other libraries which are also to be pulled in as dependencies and should get updated fails because the higher versions are not available in nase channel.

To get these packages updated one needs to be subscribed to samba channel.
The issue will be seen for all updates where samba channel is not added.



Version-Release number of selected component (if applicable):
glusterfs-3.8.4-21.el7rhgs.x86_64.rpm 
3.3 bits update

How reproducible:
Always

Steps to Reproduce:
1.have an existing setup of 3.2 without samba channel subscribed.
2. Do yum update
3.

Actual results:

Yum update fails with following issue:

Error: Package: libldb-1.1.29-1.el7rhgs.x86_64 (Server-RH-Gluster-3.3-Server)
           Requires: libtdb >= 1.3.12
           Installed: libtdb-1.3.8-1.el7_2.x86_64 (@rhel-7-server-rpms)
               libtdb = 1.3.8-1.el7_2
           Available: libtdb-1.2.12-3.el7.i686 (rhel-7-server-rpms)
               libtdb = 1.2.12-3.el7
           Available: libtdb-1.3.0-1.el7.i686 (rhel-7-server-rpms)
               libtdb = 1.3.0-1.el7
           Available: libtdb-1.3.4-1.el7rhgs.x86_64 (rh-gluster-3-for-rhel-7-server-rpms)
               libtdb = 1.3.4-1.el7rhgs
           Available: libtdb-1.3.6-2.el7.i686 (rhel-7-server-rpms)
               libtdb = 1.3.6-2.el7
Error: Package: libldb-1.1.29-1.el7rhgs.x86_64 (Server-RH-Gluster-3.3-Server)



Expected results:

There should not be any dependency errors and update should succeed.


Additional info:

As the libldb is tagged to both rhgs base channel and samba channel the update fails when the samba channel is not present. The customers who are not using RHGS-Samba will not be subscribed to samba channel and for them the upgrade will fail.

Comment 4 Milind Changire 2017-04-11 05:41:52 UTC
I could remove ldb-tools from the requirements list of redhat-storage-server RPM for RHGS 3.3.0. However, this will be effective henceforth and would not solve the upgrade problem from RHGS 3.2.0 to RHGS 3.3.0.

Probably a RT for "move ldb and dependencies from base channel to samba channel" needs to be created.

-----

Since an async RHGS 3.2.0 is in the pipeline, do we spin up a new redhat-storage-server RPM to do away with the ldb-tools requirement ? However, I wonder if the above mentioned RT would be addresses in the time frame.

Comment 5 Atin Mukherjee 2017-04-13 04:08:23 UTC
This BZ will now track the changes to remove the ldb-tools from the requirement list of redhat-storage-server RPM.

Comment 9 surabhi 2017-04-28 10:42:38 UTC
Verified the issue with following upgrade scenario:

Install 3.2 RHGS without samba channel added and add 3.3 puddles to do a system update:

Yum update succeeds and no failures w.r.t libldb and other libraries.

After that added smaba channel and tried update , works fine.

Looks like it is not needed to document to remove the ldb-tools from the systems where it is already installed.

Marking the BZ to verified.

Comment 11 errata-xmlrpc 2017-09-21 04:37:54 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://access.redhat.com/errata/RHBA-2017:2774


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