Bug 443637 - Unresolvable chain of dependencies: openib-diags 1.2.7-7 requires libosmcomp.so.1
Summary: Unresolvable chain of dependencies: openib-diags 1.2.7-7 requires libosmcomp...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: comps
Version: 4.7
Hardware: All
OS: Linux
low
medium
Target Milestone: beta
: ---
Assignee: Doug Ledford
QA Contact:
URL:
Whiteboard:
Depends On: 444636
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-22 16:59 UTC by James Laska
Modified: 2013-09-02 06:24 UTC (History)
4 users (show)

Fixed In Version: RHBA-2008-0655
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-24 19:06:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0655 0 normal SHIPPED_LIVE comps bug fix and enhancement update 2008-07-23 15:44:48 UTC

Description James Laska 2008-04-22 16:59:05 UTC
Description of problem:

Attempting to upgrade from RHEL4-U6/ppc/AS to RHEL4-U7-re20080418.0/tree-AS-ppc
using up2date failures due to package dependencies

Unresolvable chain of dependencies:
openib-diags  1.2.7-7                    requires libosmcomp.so.1
openib-diags  1.2.7-7                    requires libosmcomp.so.1(OSMCOMP_1.1)

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


How reproducible:
100%

Steps to Reproduce:
1. Install @everything of RHEL4-U6/ppc
2. Configure up2date to use a directory repo to upgrade to
RHEL4-U7-re20080418.0/ppc/AS
3. upgrade using up2date
  
Actual results:
Unresolvable chain of dependencies:
openib-diags  1.2.7-7                    requires libosmcomp.so.1
openib-diags  1.2.7-7                    requires libosmcomp.so.1(OSMCOMP_1.1)

Expected results:
No dependency issues

Additional info:

Still investigating the openib packaging changes from 4.6 to 4.7, but the
automated KATE test that discovered this error can be found at
http://hank.test.redhat.com/kate/auto.cgi?action=case&group=RHEL4-U7-re20080418.0-ppc&case=repo-upgrade-AS-RHEL-4_U6_AS-released-releng-english-nfs-_Everything-GUI-up2date-auto

Comment 2 Doug Ledford 2008-04-22 18:56:06 UTC
All openib-* packages except the base openib package are gone.  The openib-diags
package is replaced by infiniband-diags which is part of the openib errata
(RHEA-2008:8286).  In the file list for that errata, infiniband-diags.ppc is
present.  It should properly obsolete the old openib-diags if it is present in
the tree you are up2dating from.  Can you please verify that your update tree
has the files listed as part of the openib errata?

Comment 3 James Laska 2008-04-22 19:17:17 UTC
Great catch Doug!  That appears to be what's missing.

/bin/ls: cannot access
/mnt/redhat/rel-eng/RHEL4-U7-re20080418.0/tree-AS-ppc/RedHat/RPMS/infiniband*:
No such file or directory

Adding dmach (RelEng) to the cc list, perhaps Daniel indicate what is missing in
order to get content from RHEA-2008:8286 into the RHEL4-U7 composes.

Comment 4 Daniel Mach 2008-04-24 11:38:27 UTC
if a package lands in compose, it is
 - listed in comps
 - dependency of a listed package

openib was pulled into compose as a dependency of dapl package,
but dapl-2.0.7-2.el4 doesn't contain this depenedency any more.

Doug, could you check if dapl still uses openib?
Shouldn't be there a dependency openib -> infiniband-diags as well?

Comment 5 Doug Ledford 2008-04-24 15:32:55 UTC
I think you're missing the point Daniel...the current openib errata should be
adding infiniband-diags to the tree, and all of the openib packages except the
base openib package should be gone, and infiniband-diags obsoletes openib-diags
from the U6 release so that we don't have dangling packages.  At the time of
this bug report, the infiniband-diags package is missing from the update tree so
that the obsoletes on openib-diags is also missing, and with that obsolete
missing, the old openib-diags package is hanging around, and with it hanging
around it relies on an older version of opensm-libs than what we are updating to
in this release and as a result of the opensm-libs being updated and the old
version going away, you get an unresolved dependency issue.

This, BTW, is why I do all 26 InfiniBand packages in a single errata, so that
they all come out together and get updated together.  It's necessary to make it
all work properly.

Comment 6 Daniel Mach 2008-04-24 17:27:34 UTC
I don't think I'm missing the point :)
Errata file lists doesn't affect composes / update trees directly.
I really need either a record in comps or relevant package dependency.
Comps is like package filter which tells what to include into compose.

Let me show you an example:
- dapl package is listed in comps
- opensm-libs is listed in comps
- openib is NOT listed in comps

$ rpm -qp dapl-1.2.1.1-7.i386.rpm --requires
-> this list includes "openib", which means that openib was pulled into compose
as a dependency of dapl (rhel 4.6)

$ rpm -qp dapl-2.0.7-2.el4.i386.rpm --requires
-> no "openib" dependency -> openib won't appear in compose (current situation) 
which means there's no update in install tree

We can either update comps or add "Requires: openib" to some package.
Exactly the same applies for infiniband-diags.

I think we should try to get openib and infiniband-diags back into compose and
then try to reproduce this issue again.

Comment 7 Doug Ledford 2008-04-29 13:46:38 UTC
OK, well, first I removed all the dependencies on openib, so it probably needs
its own spot in comps instead.  Second, once we have openib updated and added to
comps, it still might not resolve the problem entirely since I don't know if
just putting a new version of openib in place will remove all the now
non-existent openib packages (like openib-diags, which no longer exists as part
of the openib package set).

Comment 8 Doug Ledford 2008-05-06 21:05:31 UTC
I'm putting 444636 as a blocker to this since once it's in place, this should
resolve itself without any further issue (I think).

Comment 11 James Laska 2008-05-08 19:41:17 UTC
Changing component to comps

Comment 12 James Laska 2008-05-08 20:51:19 UTC
The fix appears to remove the dependency conflict.  Changing to VERIFIED. 
up2date is now cleanly updating the 4.6 system using the 4.7 packages.

Comment 16 errata-xmlrpc 2008-07-24 19:06:59 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0655.html


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