Bug 1196098 - CTDB: Dependency errors while upgrading to ctdb2.5.4 and ISO spin failed for RHS3.0.4
Summary: CTDB: Dependency errors while upgrading to ctdb2.5.4 and ISO spin failed for ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: RHGS 3.0.4
Assignee: Jose A. Rivera
QA Contact: surabhi
URL:
Whiteboard:
Depends On:
Blocks: 1182947
TreeView+ depends on / blocked
 
Reported: 2015-02-25 10:05 UTC by surabhi
Modified: 2015-05-13 17:53 UTC (History)
7 users (show)

Fixed In Version: libtdb-1.3.4-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-26 06:36:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0682 0 normal SHIPPED_LIVE Red Hat Storage 3.0 enhancement and bug fix update #4 2015-03-26 10:32:55 UTC

Description surabhi 2015-02-25 10:05:01 UTC
Description of problem:
***********************************
While upgrading the ctdb version from ctdb2.5-2.5.3-6.el6rhs.x86_64 to ctdb2.5-2.5.4-1.el6rhs.x86_64 getting dependency errors as follows:


rpm -Uvh http://download.devel.redhat.com/brewroot/packages/ctdb2.5/2.5.4/1.el6rhs/x86_64/ctdb2.5-2.5.4-1.el6rhs.x86_64.rpm
Retrieving http://download.devel.redhat.com/brewroot/packages/ctdb2.5/2.5.4/1.el6rhs/x86_64/ctdb2.5-2.5.4-1.el6rhs.x86_64.rpm
error: Failed dependencies:
	libtdb.so.1(TDB_1.3.0)(64bit) is needed by ctdb2.5-2.5.4-1.el6rhs.x86_64
[root@gqac027 yum.repos.d]# rpm -qa | grep libtdb
libtdb-1.2.10-1.el6.x86_64

Even after removing old ctdb package,for installing new ctdb it gives error.


Version-Release number of selected component (if applicable):
# rpm -qa | grep ctdb
ctdb2.5-2.5.3-6.el6rhs.x86_64


How reproducible:
Always


Steps to Reproduce:
1.Upgrade to new ctdb version
2.
3.

Actual results:
Dependency errors while doing upgrade.

Expected results:
Should not get any dependency error.Upgrade should work fine.

Additional info:

Comment 2 surabhi 2015-02-27 09:12:01 UTC
Even after upgrading the system from Live there are dependency errors for ctdb2.5.4 package.

---> Package samba-libs.x86_64 0:4.1.16-5.el6rhs will be installed
--> Processing Dependency: libpytalloc-util.so.2(PYTALLOC_UTIL_2.0.6)(64bit) for package: samba-libs-4.1.16-5.el6rhs.x86_64
--> Processing Dependency: libpytalloc-util.so.2()(64bit) for package: samba-libs-4.1.16-5.el6rhs.x86_64
---> Package samba-winbind-modules.x86_64 0:4.1.16-5.el6rhs will be installed
--> Running transaction check
---> Package ctdb2.5.x86_64 0:2.5.4-1.el6rhs will be an update
--> Processing Dependency: libtdb.so.1(TDB_1.3.0)(64bit) for package: ctdb2.5-2.5.4-1.el6rhs.x86_64
---> Package pytalloc.x86_64 0:2.0.7-2.el6 will be installed
--> Finished Dependency Resolution
Error: Package: ctdb2.5-2.5.4-1.el6rhs.x86_64 (rhs3.0.4-ctdb)
           Requires: libtdb.so.1(TDB_1.3.0)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

[root@gqac027 yum.repos.d]# rpm -qa | grep libtdb
libtdb-1.2.10-1.el6.x86_64

the current libtdb version is libtdb-1.2.10-1.el6.x86_64.

The ISO spin for RHS3.0.4 also failed because of the dependency error as above.

Comment 4 Jose A. Rivera 2015-02-27 15:19:04 UTC
I have a new build ready for libtdb that should help resolve this problem.

I need the following flags as + to be able to push this new build:

blocker
rhs-3.0.z

Comment 5 surabhi 2015-03-04 08:38:00 UTC
The upgrade of ctdb2.5 has been verified with following steps:

1.Installed 3.0.3 ISO
2.Subscribe to LIVE
3.Yum update.
4.Added repos for 3.0.4-gluster packages,required libraries for ctdb2.5.4, ctdb2.5.4 rpm
5.Yum update 

Update works fine and ctdb package got updated to 2.5.4 without any dependency issue.

Resolving Dependencies
--> Running transaction check
---> Package ctdb2.5.x86_64 0:2.5.3-6.el6rhs will be updated
---> Package ctdb2.5.x86_64 0:2.5.4-1.el6rhs will be an update
---> Package ldb-tools.x86_64 0:1.1.13-3.el6 will be updated
---> Package ldb-tools.x86_64 0:1.1.20-1.el6rhs will be an update
---> Package libldb.x86_64 0:1.1.13-3.el6 will be updated
---> Package libldb.x86_64 0:1.1.20-1.el6rhs will be an update
---> Package libtalloc.x86_64 0:2.0.7-2.el6 will be updated
---> Package libtalloc.x86_64 0:2.1.1-3.el6rhs will be an update
---> Package libtdb.x86_64 0:1.2.10-1.el6 will be updated
---> Package libtdb.x86_64 0:1.3.4-1.el6rhs will be an update
---> Package libtevent.x86_64 0:0.9.18-3.el6 will be updated
---> Package libtevent.x86_64 0:0.9.23-1.el6rhs will be an update
---> Package tdb-tools.x86_64 0:1.2.10-1.el6 will be updated
---> Package tdb-tools.x86_64 0:1.3.4-1.el6rhs will be an update
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package                              Arch                              Version                                     Repository                                     Size
========================================================================================================================================================================
Updating:
 ctdb2.5                              x86_64                            2.5.4-1.el6rhs                              rhs3.0.4-ctdb                                 523 k
 ldb-tools                            x86_64                            1.1.20-1.el6rhs                             rhs3.0.4-ctdb-libs                             34 k
 libldb                               x86_64                            1.1.20-1.el6rhs                             rhs3.0.4-ctdb-libs                            111 k
 libtalloc                            x86_64                            2.1.1-3.el6rhs                              rhs3.0.4-ctdb-libs                             24 k
 libtdb                               x86_64                            1.3.4-1.el6rhs                              rhs3.0.4-ctdb-libs                             41 k
 libtevent                            x86_64                            0.9.23-1.el6rhs                             rhs3.0.4-ctdb-libs                             29 k
 tdb-tools                            x86_64                            1.3.4-1.el6rhs                              rhs3.0.4-ctdb-libs                             25 k

Transaction Summary
========================================================================================================================================================================
Upgrade       7 Package(s)

Total download size: 786 k
Is this ok [y/N]: y
Downloading Packages:
(1/7): ctdb2.5-2.5.4-1.el6rhs.x86_64.rpm                                                                                                         | 523 kB     00:00     
(2/7): ldb-tools-1.1.20-1.el6rhs.x86_64.rpm                                                                                                      |  34 kB     00:00     
(3/7): libldb-1.1.20-1.el6rhs.x86_64.rpm                                                                                                         | 111 kB     00:00     
(4/7): libtalloc-2.1.1-3.el6rhs.x86_64.rpm                                                                                                       |  24 kB     00:00     
(5/7): libtdb-1.3.4-1.el6rhs.x86_64.rpm                                                                                                          |  41 kB     00:00     
(6/7): libtevent-0.9.23-1.el6rhs.x86_64.rpm                                                                                                      |  29 kB     00:00     
(7/7): tdb-tools-1.3.4-1.el6rhs.x86_64.rpm                                                                                                       |  25 kB     00:00     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                    22 MB/s | 786 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : libtdb-1.3.4-1.el6rhs.x86_64                                                                                                                        1/14 
  Updating   : libtalloc-2.1.1-3.el6rhs.x86_64                                                                                                                     2/14 
  Updating   : libtevent-0.9.23-1.el6rhs.x86_64                                                                                                                    3/14 
  Updating   : libldb-1.1.20-1.el6rhs.x86_64                                                                                                                       4/14 
  Updating   : tdb-tools-1.3.4-1.el6rhs.x86_64                                                                                                                     5/14 
  Updating   : ctdb2.5-2.5.4-1.el6rhs.x86_64                                                                                                                       6/14 
  Updating   : ldb-tools-1.1.20-1.el6rhs.x86_64                                                                                                                    7/14 
  Cleanup    : ldb-tools-1.1.13-3.el6.x86_64                                                                                                                       8/14 
  Cleanup    : ctdb2.5-2.5.3-6.el6rhs.x86_64                                                                                                                       9/14 
  Cleanup    : libldb-1.1.13-3.el6.x86_64                                                                                                                         10/14 
  Cleanup    : libtevent-0.9.18-3.el6.x86_64                                                                                                                      11/14 
  Cleanup    : tdb-tools-1.2.10-1.el6.x86_64                                                                                                                      12/14 
  Cleanup    : libtdb-1.2.10-1.el6.x86_64                                                                                                                         13/14 
  Cleanup    : libtalloc-2.0.7-2.el6.x86_64                                                                                                                       14/14 
  Verifying  : ctdb2.5-2.5.4-1.el6rhs.x86_64                                                                                                                       1/14 
  Verifying  : tdb-tools-1.3.4-1.el6rhs.x86_64                                                                                                                     2/14 
  Verifying  : libtalloc-2.1.1-3.el6rhs.x86_64                                                                                                                     3/14 
  Verifying  : ldb-tools-1.1.20-1.el6rhs.x86_64                                                                                                                    4/14 
  Verifying  : libldb-1.1.20-1.el6rhs.x86_64                                                                                                                       5/14 
  Verifying  : libtdb-1.3.4-1.el6rhs.x86_64                                                                                                                        6/14 
  Verifying  : libtevent-0.9.23-1.el6rhs.x86_64                                                                                                                    7/14 
  Verifying  : libtdb-1.2.10-1.el6.x86_64                                                                                                                          8/14 
  Verifying  : libldb-1.1.13-3.el6.x86_64                                                                                                                          9/14 
  Verifying  : ldb-tools-1.1.13-3.el6.x86_64                                                                                                                      10/14 
  Verifying  : libtalloc-2.0.7-2.el6.x86_64                                                                                                                       11/14 
  Verifying  : libtevent-0.9.18-3.el6.x86_64                                                                                                                      12/14 
  Verifying  : ctdb2.5-2.5.3-6.el6rhs.x86_64                                                                                                                      13/14 
  Verifying  : tdb-tools-1.2.10-1.el6.x86_64                                                                                                                      14/14 

Updated:
  ctdb2.5.x86_64 0:2.5.4-1.el6rhs         ldb-tools.x86_64 0:1.1.20-1.el6rhs         libldb.x86_64 0:1.1.20-1.el6rhs           libtalloc.x86_64 0:2.1.1-3.el6rhs        
  libtdb.x86_64 0:1.3.4-1.el6rhs          libtevent.x86_64 0:0.9.23-1.el6rhs         tdb-tools.x86_64 0:1.3.4-1.el6rhs        

# rpm -qa | grep ctdb
ctdb2.5-2.5.4-1.el6rhs.x86_64

There is no functionality test as part of this BZ.Only upgrade of ctdb2.5.4 has been verified.

Comment 7 errata-xmlrpc 2015-03-26 06:36:31 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-2015-0682.html


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