Bug 1330511 - build: redhat-storage-server for RHGS 3.1.3 - [RHEL 6.8]
Summary: build: redhat-storage-server for RHGS 3.1.3 - [RHEL 6.8]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: build
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: RHGS 3.1.3
Assignee: Milind Changire
QA Contact: Byreddy
URL:
Whiteboard:
Depends On:
Blocks: 1311817
TreeView+ depends on / blocked
 
Reported: 2016-04-26 11:45 UTC by Rahul Hinduja
Modified: 2016-06-23 05:19 UTC (History)
5 users (show)

Fixed In Version: redhat-storage-server-3.1.3.0-2.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-23 05:19:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1240 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 Update 3 2016-06-23 08:51:28 UTC

Description Rahul Hinduja 2016-04-26 11:45:54 UTC
Description of problem:
=======================

redhat-storage-server build for RHEL6 has the dependency issues as follows: 

ON RHEL6.8 RC:
==============

--> Processing Dependency: sg3_utils-libs = 1.28-10.el6_7 for package: sg3_utils-1.28-10.el6_7.x86_64
--> Finished Dependency Resolution
Error: Package: sg3_utils-1.28-10.el6_7.x86_64 (External-RH-Gluster-3-Server-Repository-1)
           Requires: sg3_utils-libs = 1.28-10.el6_7
           Installed: sg3_utils-libs-1.28-12.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8)
               sg3_utils-libs = 1.28-12.el6
           Available: sg3_utils-libs-1.28-10.el6_7.x86_64 (External-RH-Gluster-3-Server-Repository-1)
               sg3_utils-libs = 1.28-10.el6_7
Error: Package: device-mapper-multipath-0.4.9-87.el6.x86_64 (External-RH-Gluster-3-Server-Repository-1)
           Requires: kpartx = 0.4.9-87.el6
           Installed: kpartx-0.4.9-93.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8)
               kpartx = 0.4.9-93.el6
           Available: kpartx-0.4.9-87.el6.x86_64 (External-RH-Gluster-3-Server-Repository-1)
               kpartx = 0.4.9-87.el6
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: sg3_utils-1.28-10.el6_7.x86_64 (External-RH-Gluster-3-Server-Repository-1)
           Requires: sg3_utils-libs = 1.28-10.el6_7
           Installed: sg3_utils-libs-1.28-12.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8)
               sg3_utils-libs = 1.28-12.el6
           Available: sg3_utils-libs-1.28-10.el6_7.x86_64 (External-RH-Gluster-3-Server-Repository-1)
               sg3_utils-libs = 1.28-10.el6_7
Error: Package: device-mapper-multipath-0.4.9-87.el6.x86_64 (External-RH-Gluster-3-Server-Repository-1)
           Requires: kpartx = 0.4.9-87.el6
           Installed: kpartx-0.4.9-93.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8)
               kpartx = 0.4.9-93.el6
           Available: kpartx-0.4.9-87.el6.x86_64 (External-RH-Gluster-3-Server-Repository-1)
               kpartx = 0.4.9-87.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@dhcp47-24 ~]# 
[root@dhcp47-24 ~]# rpm -qip redhat-storage-server
error: open of redhat-storage-server failed: No such file or directory
[root@dhcp47-24 ~]# rpm -qip redhat-storage-server-3.1.3.0-1.el6rhs.noarch.rpm 
Name        : redhat-storage-server        Relocations: (not relocatable)
Version     : 3.1.3.0                           Vendor: Red Hat, Inc.
Release     : 1.el6rhs                      Build Date: Fri 22 Apr 2016 07:50:12 AM UTC
Install Date: (not installed)               Build Host: x86-027.build.eng.bos.redhat.com
Group       : Applications/System           Source RPM: redhat-storage-server-3.1.3.0-1.el6rhs.src.rpm
Size        : 2391993                          License: GPLv3+
Signature   : (none)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.redhat.com
Summary     : Red Hat Storage Server
Description :
Tools for Red Hat Storage Server
[root@dhcp47-24 ~]#

Comment 2 Milind Changire 2016-04-27 06:14:51 UTC
for the errors 

Error: Package: sg3_utils-1.28-10.el6_7.x86_64 (External-RH-Gluster-3-Server-Repository-1)
Error: Package: device-mapper-multipath-0.4.9-87.el6.x86_64 (External-RH-Gluster-3-Server-Repository-1)

I don't see a direct Requires: listed in the SPEC file. Looks like these packages get pulled in indirectly and so there's no way to change the way the version dependency for these packages is specified via the redhat-storage-server SPEC file.

We need to observe how things turn up after a rebuild for RHEL 6.8 and a subsequent RPM install.

Comment 4 Shashank Raj 2016-05-05 07:02:02 UTC
Observed a similar issue while installing glusterfs-ganesha on RHEL 6.8 platform

While doing yum install glusterfs-ganesha, observed below dependency issue:

Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:
       
         1. You have an upgrade for sg3_utils-libs which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of sg3_utils-libs of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude sg3_utils-libs.otherarch ... this should give you an error
            message showing the root cause of the problem.
       
         2. You have multiple architectures of sg3_utils-libs installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.
       
         3. You have duplicate versions of sg3_utils-libs installed already.
            You can use "yum check" to get yum show these errors.
       
       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).
       
       Protected multilib versions: sg3_utils-libs-1.28-10.el6_7.i686 != sg3_utils-libs-1.28-12.el6.x86_64

-----------------------------------------------------------------------

After excluding the sg3_utils-libs-1.28-10.el6_7.i686 version:

[root@dhcp43-228 yum.repos.d]# yum install glusterfs-ganesha --exclude sg3_utils-libs-1.28-10.el6_7.i686

it gives below error message:

Error: Package: sg3_utils-1.28-10.el6_7.x86_64 (External-RH-Gluster-3-NFS-Repository-1)
           Requires: sg3_utils-libs = 1.28-10.el6_7
           Installed: sg3_utils-libs-1.28-12.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201604140956.x86_64/6.8)

-----------------------------------------------------------------------

Only way to proceed ahead is to downgrade the sg3-utils-libs package and then install glusterfs-ganesha.

Comment 5 Byreddy 2016-05-24 10:06:12 UTC
Verified this issue with latest 3.1.3 nightly build ( glusterfs-3.7.9-6 )

Done the redhat-storage-server and glusterfs-ganesha install on rhel6.8, both worked well.

Moving to verified state.

Comment 7 errata-xmlrpc 2016-06-23 05:19:49 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-2016:1240


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