Bug 896185

Summary: Dependency issue while installing 3.3.0.5rhs-40 after registering the system to RHN.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Gowrishankar Rajaiyan <grajaiya>
Component: distributionAssignee: Anthony Towns <atowns>
Status: CLOSED NOTABUG QA Contact: Gowrishankar Rajaiyan <grajaiya>
Severity: unspecified Docs Contact:
Priority: high    
Version: 2.0CC: flanagan, grajaiya, rhs-bugs, shaines, vbellur
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: 2013-01-25 03:43:19 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:

Description Gowrishankar Rajaiyan 2013-01-16 19:43:36 UTC
Description of problem:


Version-Release number of selected component (if applicable):
RHS-2.0-20130115.0-RHS-x86_64-DVD1

How reproducible:
Always

Steps to Reproduce:
1. Install RHS build RHS-2.0-20130115.0-RHS-x86_64-DVD1
2. Ensure to install "@core" packages.
3. Register to necessary channels. (rhel-x86_64-server-6.2.z & rhel-x86_64-server-6-rhs-2.0)
4. Configure yum repo of RHS-2.0-20130115.0-RHS-x86_64-DVD1 to install glusterfs-server-3.3.0.5rhs-40.el6rhs.x86_64.
5. yum install glusterfs*
  
Actual results: Dependency issue[1] detected.


Expected results: glusterfs-server-3.3.0.5rhs-40.el6rhs.x86_64 should be installed successfully.


Additional info:
[1]
[root@rhsvm5 ~]# yum install gluster*
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-data, keys, list-data, merge-conf, priorities,
              : product-id, protectbase, rhnplugin, security, subscription-manager, tmprepo, tsflags, upgrade-helper, verify,
              : versionlock
Updating certificate-based repositories.
Loading mirror speeds from cached hostfile
rhel-x86_64-server-6-rhs-2.0                                                                           | 1.6 kB     00:00     
rhel-x86_64-server-6-rhs-2.0/primary                                                                   |  25 kB     00:00     
rhel-x86_64-server-6-rhs-2.0                                                                                            92/92
Skipping filters plugin, no data
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
Skipping filters plugin, no data
--> Running transaction check
---> Package gluster-swift.noarch 0:1.4.8-4.el6 will be installed
--> Processing Dependency: python-greenlet >= 0.3.1 for package: gluster-swift-1.4.8-4.el6.noarch
--> Processing Dependency: python-eventlet >= 0.9.8 for package: gluster-swift-1.4.8-4.el6.noarch
--> Processing Dependency: pyxattr for package: gluster-swift-1.4.8-4.el6.noarch
--> Processing Dependency: python-webob1.0 for package: gluster-swift-1.4.8-4.el6.noarch
--> Processing Dependency: python-setuptools for package: gluster-swift-1.4.8-4.el6.noarch
--> Processing Dependency: python-paste-deploy for package: gluster-swift-1.4.8-4.el6.noarch
--> Processing Dependency: python-netifaces for package: gluster-swift-1.4.8-4.el6.noarch
--> Processing Dependency: python-configobj for package: gluster-swift-1.4.8-4.el6.noarch
---> Package gluster-swift-account.noarch 0:1.4.8-4.el6 will be installed
---> Package gluster-swift-container.noarch 0:1.4.8-4.el6 will be installed
---> Package gluster-swift-doc.noarch 0:1.4.8-4.el6 will be installed
---> Package gluster-swift-object.noarch 0:1.4.8-4.el6 will be installed
--> Processing Dependency: rsync >= 3.0 for package: gluster-swift-object-1.4.8-4.el6.noarch
---> Package gluster-swift-plugin.noarch 0:1.0-5 will be installed
--> Processing Dependency: memcached for package: gluster-swift-plugin-1.0-5.noarch
---> Package gluster-swift-proxy.noarch 0:1.4.8-4.el6 will be installed
---> Package glusterfs.x86_64 0:3.3.0.5rhs-40.el6rhs will be installed
---> Package glusterfs-devel.x86_64 0:3.3.0.5rhs-37.el6rhs will be installed
--> Processing Dependency: glusterfs = 3.3.0.5rhs-37.el6rhs for package: glusterfs-devel-3.3.0.5rhs-37.el6rhs.x86_64
---> Package glusterfs-fuse.x86_64 0:3.3.0.5rhs-40.el6rhs will be installed
---> Package glusterfs-geo-replication.x86_64 0:3.3.0.5rhs-40.el6rhs will be installed
---> Package glusterfs-rdma.x86_64 0:3.3.0.5rhs-40.el6rhs will be installed
--> Processing Dependency: libibverbs.so.1(IBVERBS_1.1)(64bit) for package: glusterfs-rdma-3.3.0.5rhs-40.el6rhs.x86_64
--> Processing Dependency: libibverbs.so.1(IBVERBS_1.0)(64bit) for package: glusterfs-rdma-3.3.0.5rhs-40.el6rhs.x86_64
--> Processing Dependency: libibverbs.so.1()(64bit) for package: glusterfs-rdma-3.3.0.5rhs-40.el6rhs.x86_64
---> Package glusterfs-server.x86_64 0:3.3.0.5rhs-40.el6rhs will be installed
--> Running transaction check
---> Package glusterfs-devel.x86_64 0:3.3.0.5rhs-37.el6rhs will be installed
--> Processing Dependency: glusterfs = 3.3.0.5rhs-37.el6rhs for package: glusterfs-devel-3.3.0.5rhs-37.el6rhs.x86_64
---> Package libibverbs.x86_64 0:1.1.5-3.el6 will be installed
---> Package memcached.x86_64 0:1.4.4-3.el6 will be installed
---> Package python-configobj.noarch 0:4.6.0-3.el6 will be installed
---> Package python-eventlet.noarch 0:0.9.16-5.el6_rhs2.0 will be installed
---> Package python-greenlet.x86_64 0:0.3.1-6.el6_rhs2.0 will be installed
---> Package python-netifaces.x86_64 0:0.5-1.el6 will be installed
---> Package python-paste-deploy.noarch 0:1.3.3-2.1.el6 will be installed
--> Processing Dependency: python-paste for package: python-paste-deploy-1.3.3-2.1.el6.noarch
---> Package python-setuptools.noarch 0:0.6.10-3.el6 will be installed
---> Package python-webob1.0.noarch 0:1.0.8-3.el6_rhs2.0 will be installed
---> Package pyxattr.x86_64 0:0.5.0-1.el6 will be installed
---> Package rsync.x86_64 0:3.0.6-5.el6_0.1 will be installed
--> Running transaction check
---> Package glusterfs-devel.x86_64 0:3.3.0.5rhs-37.el6rhs will be installed
--> Processing Dependency: glusterfs = 3.3.0.5rhs-37.el6rhs for package: glusterfs-devel-3.3.0.5rhs-37.el6rhs.x86_64
---> Package python-paste.noarch 0:1.7.4-1.el6 will be installed
--> Finished Dependency Resolution
Error: Package: glusterfs-devel-3.3.0.5rhs-37.el6rhs.x86_64 (rhel-x86_64-server-6-rhs-2.0)
           Requires: glusterfs = 3.3.0.5rhs-37.el6rhs
           Available: glusterfs-3.3.0-22.el6rhs.x86_64 (rhel-x86_64-server-6-rhs-2.0)
               glusterfs = 3.3.0-22.el6rhs
           Available: glusterfs-3.3.0rhs-25.el6rhs.x86_64 (rhel-x86_64-server-6-rhs-2.0)
               glusterfs = 3.3.0rhs-25.el6rhs
           Available: glusterfs-3.3.0.2rhs-30.el6rhs.x86_64 (rhel-x86_64-server-6-rhs-2.0)
               glusterfs = 3.3.0.2rhs-30.el6rhs
           Available: glusterfs-3.3.0.5rhs-37.el6rhs.x86_64 (rhel-x86_64-server-6-rhs-2.0)
               glusterfs = 3.3.0.5rhs-37.el6rhs
           Installing: glusterfs-3.3.0.5rhs-40.el6rhs.x86_64 (rhs2.0)
               glusterfs = 3.3.0.5rhs-40.el6rhs
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@rhsvm5 ~]#

Comment 4 Anthony Towns 2013-01-25 03:43:19 UTC
(In reply to comment #0)
> Steps to Reproduce:
> 1. Install RHS build RHS-2.0-20130115.0-RHS-x86_64-DVD1
> 2. Ensure to install "@core" packages.
> 3. Register to necessary channels. (rhel-x86_64-server-6.2.z &
> rhel-x86_64-server-6-rhs-2.0)
> 4. Configure yum repo of RHS-2.0-20130115.0-RHS-x86_64-DVD1 to install
> glusterfs-server-3.3.0.5rhs-40.el6rhs.x86_64.
> 5. yum install glusterfs*

> Actual results: Dependency issue[1] detected.

> ---> Package glusterfs-devel.x86_64 0:3.3.0.5rhs-37.el6rhs will be installed

This isn't a dependency issue, it's glusterfs-devel not being included on the iso, so yum tries to install it from RHN, which currently only has the old version.

If you run 'yum install glusterfs' or 'yum install glusterfs-server' you should have a much better time of it, as yum will only try to update packages that have already been installed and won't pull in unneeded new packages from RHN.

(It looks like you're actually running 'yum install gluster*' since gluster-swift is also selected to be installed)