Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1210415

Summary: ceph-dencoder links against libtcmalloc
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ken Dreyer (Red Hat) <kdreyer>
Component: BuildAssignee: Boris Ranto <branto>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.3.0CC: branto, dmick, flucifre, hnallurv
Target Milestone: rc   
Target Release: 1.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-0.94.1-2.el7cp Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1186953 Environment:
Last Closed: 2015-06-24 15:51:58 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 Ken Dreyer (Red Hat) 2015-04-09 16:24:12 UTC
The patch we used to fix Bug #1186953 only applied to Firefly, so we need to rebase that patch for Hammer to avoid a regression for this issue.

Description of problem:
/usr/bin/ceph-dencoder links against libtcmalloc. It is the only thing in ceph-common that does that.

rh-common will not have gperftools-libs, so the ceph-common package from rh-common cannot be installed using only the rh-common repository.

Version-Release number of selected component (if applicable):
ceph-common-0.94-1.el7cp.x86_64.rpm

Steps to Reproduce:
1. Ensure that the gperftools-libs package is not available via any other repository, such as the ceph-mon or ceph-osd channels.
2. "yum install ceph-common-0.94-1.el7cp.x86_64.rpm" from the rh-common Puddle

Actual results:
ceph-common fails to install because yum cannot find gperftools-libs

Expected results:
ceph-common should install as expected; it should not require gperftools-libs

Comment 1 Ken Dreyer (Red Hat) 2015-04-13 16:03:34 UTC
Upstream wip patch at https://github.com/ceph/ceph/pull/4346

Comment 2 Harish NV Rao 2015-04-15 10:00:09 UTC
Ken, I think QE would need help from you in verifying it. Will this be fixed in 1.3.0?

Comment 3 Boris Ranto 2015-04-15 11:17:56 UTC
Yes, it will be fixed in 1.3.0 (if you qa_ack it). The patches for this were recently merged upstream. To test the bz, you can simply check what ldd has to say about ceph-dencoder binary. There should be no mention of tcmalloc in the list that the command prints, i.e.

# ldd /usr/bin/ceph-dencoder | grep tcmalloc

shall print nothing.

Comment 4 Harish NV Rao 2015-04-16 07:03:00 UTC
Thanks Boris!

Comment 5 Boris Ranto 2015-04-16 15:52:49 UTC
dist-git commits related to build ceph-0.94.1-2.el7cp:
http://pkgs.devel.redhat.com/cgit/rpms/ceph/commit/?h=ceph-1.3-rhel-7&id=769bfee4f85eeb0a5b7e1995cc4335c74586c55a

Comment 9 Harish NV Rao 2015-05-29 07:24:25 UTC
Issues is fixed. Marking defect as Verified.

Log:
---
[root@Admin ~]# ldd /usr/bin/ceph-dencoder | grep tcmalloc
[root@Admin ~]#

Comment 11 errata-xmlrpc 2015-06-24 15:51:58 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-2015:1183