Bug 1375425 - debuginfo-install ceph command does not work on RHCS2
Summary: debuginfo-install ceph command does not work on RHCS2
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Build
Version: 2.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: 2.3
Assignee: Ken Dreyer (Red Hat)
QA Contact: Tejas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-13 05:32 UTC by Brad Hubbard
Modified: 2017-04-05 16:01 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-05 15:52:10 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1431452 0 unspecified CLOSED [Doc] Add information related to running debuginfo packages 2021-02-22 00:41:40 UTC
Red Hat Knowledge Base (Solution) 2972591 0 None None None 2017-03-17 18:21:15 UTC

Internal Links: 1431452

Description Brad Hubbard 2016-09-13 05:32:58 UTC
Description of problem:

The reason for this is that there is no longer a "ceph" package and therefore you need to specify the name of one of the ceph subpackages for debuginfo-install to check the "basename" (fuzzy on the specifics here so please take this with a grain of salt) of the package.

"debuginfo-install ceph-osd" will install the ceph-debuginfo package from the rhel-7-server-rhceph-2-mon-debug-rpms channel. I'm not sure whether there is a way to set up an "alias" so we can run "debuginfo-install ceph" and have it find the correct package?

Version-Release number of selected component (if applicable):
ceph-debuginfo-10.2.2-38.el7cp.x86_64.rpm

How reproducible:
100%

Comment 1 Ken Dreyer (Red Hat) 2017-01-06 22:16:39 UTC
Brad, any further ideas about this one? Maybe an RFE against debuginfo-install (yum-utils package)?

Comment 2 Brad Hubbard 2017-01-08 21:09:24 UTC
(In reply to Ken Dreyer (Red Hat) from comment #1)
> Brad, any further ideas about this one? Maybe an RFE against
> debuginfo-install (yum-utils package)?

I'm only the reporter here as there are many people that know more about this area than I. I imagine Red Hat has dealt with this problem before and there would be a precedent for this. Perhaps a senior resource in release management may be able to help?

Comment 3 Vikhyat Umrao 2017-01-09 00:20:24 UTC
This should be taken as a regression as it was working with RHCS 1.3.

Comment 4 Vikhyat Umrao 2017-03-17 17:33:51 UTC
Other issue listed here related to ceph-debuginfo: https://bugzilla.redhat.com/show_bug.cgi?id=1433470

Comment 5 Vikhyat Umrao 2017-03-17 17:35:48 UTC
Added regression as given in comment#3 we need to fix it either in async if we have any plan if not then in 2.3 we should fix it, it is breaking the default behavior.

Comment 6 Mike Hackett 2017-03-17 17:59:18 UTC
Debug packages do not exist when specifying a subpackage ceph-mon or ceph-osd:

[root@juno2 ~]# debuginfo-install ceph-osd
Loaded plugins: product-id
enabling rhel-7-server-debug-rpms
enabling rhel-7-server-rhceph-2-tools-debug-rpms
enabling rhel-7-server-rhscon-2-agent-debug-rpms
enabling rhel-7-server-rhceph-2-osd-debug-rpms
enabling rhel-7-server-rhceph-2-mon-debug-rpms
Could not find debuginfo for main pkg: 1:ceph-osd-10.2.5-37.el7cp.x86_64
Could not find auto debuginfo plugin

[root@juno2 ~]# debuginfo-install ceph-mon
Loaded plugins: product-id
enabling rhel-7-server-debug-rpms
enabling rhel-7-server-rhceph-2-tools-debug-rpms
enabling rhel-7-server-rhscon-2-agent-debug-rpms
enabling rhel-7-server-rhceph-2-osd-debug-rpms
enabling rhel-7-server-rhceph-2-mon-debug-rpms
Could not find debuginfo for main pkg: 1:ceph-mon-10.2.5-37.el7cp.x86_64
Could not find auto debuginfo plugin

Comment 7 Ian Colle 2017-04-05 14:54:58 UTC
Ken, please take the lead on this - we need this fixed in 2.3.

Comment 8 Ken Dreyer (Red Hat) 2017-04-05 15:51:35 UTC
I spent a day stepping through the debuginfo-install code in yum-utils, and it is not flexible enough to make this work as-is.

We would need the Yum team to implement a new feature in debuginfo-install.

This affects all packages that are built from an SRPM "foo" where we do not ship a binary RPM also named "foo".

To take a non-Ceph example: "gperftools" is the SRPM name, so "gperftools-debuginfo" is the debuginfo package name. But we do not ship "gperftools" in RHEL, and therefore "debuginfo-install gperftools" does not work:

  # debuginfo-install gperftools
  Loaded plugins: ovl, product-id
  enabling rhel-7-server-debug-rpms
  Could not find a package for: gperftools
  No debuginfo packages available to install

You must specifically specify a binary package name:

  # debuginfo-install gperftools-libs

It is the same with ceph vs ceph-*, unfortunately.


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