Project

General

Profile

Actions

Bug #77258

closed
SJ SJ

bluestore_tp tracepoint library is built but never installed

Bug #77258: bluestore_tp tracepoint library is built but never installed

Added by Satya Jhaveri 6 months ago. Updated 3 months ago.

Status:
Backporting
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Community (dev)
Backport:
squid tentacle umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-3413-gacbac5f468
Released In:
Upkeep Timestamp:
2026-09-18T00:21:02+00:00

Description

src/tracing/CMakeLists.txt builds the bluestore tracepoint provider library (bluestore_tp) via add_tracing_library(), but bluestore_tp is missing from the install(TARGETS ...) list. libbluestore_tp.so is compiled but is never installed into the install prefix.

The ceph-osd registers the bluestore tracepoint provider unconditionally (in src/ceph_osd.cc, TracepointProvider::initialize<bluestore_tracepoint_traits>) and dlopen()s it when bluestore_tracing is enabled. With the library not installed, dlopen() returns NULL and the OSD aborts:

./src/common/TracepointProvider.cc: In function 'void TracepointProvider::verify_config(const ceph::common::ConfigProxy&)'

Reproduce:

1. Build on a clean system with WITH_LTTNG=ON and install.
2. On a running OSD: ceph config set osd bluestore_tracing true
3. ceph-osd aborts in `TracepointProvider::verify_config`

Root cause:

bluestore_tp is the only unconditionally-built tracepoint provider not listed in install(TARGETS ...); osd_tp, os_tp, rados_tp, rbd_tp, rgw_op_tp, rgw_rados_tp, and mgr_op_tp are all installed, bluestore_tp is not.

Suggested Fix:

In src/tracing/CMakeLists.txt, add bluestore_tp to the list of install targets:

install(TARGETS rados_tp osd_tp os_tp bluestore_tp rgw_rados_tp rgw_op_tp
mgr_op_tp DESTINATION ${CMAKE_INSTALL_LIBDIR})

Related issues 3 (3 open — 0 closed)

Copied to bluestore - Backport #80625: tentacle: bluestore_tp tracepoint library is built but never installedFix Under Review

Actions
Copied to bluestore - Backport #80626: squid: bluestore_tp tracepoint library is built but never installedFix Under Review

Actions
Copied to bluestore - Backport #80627: umbrella: bluestore_tp tracepoint library is built but never installedFix Under Review

Actions

PP Updated by Ponnuvel P 6 months ago Actions #1

  • Pull request ID set to 69341

PP Updated by Ponnuvel P 6 months ago Actions #2

  • Status changed from New to In Progress
  • Assignee set to Sunny Kumar

PP Updated by Ponnuvel P 6 months ago Actions #3

  • Assignee changed from Sunny Kumar to Satya Jhaveri

SJ Updated by Satya Jhaveri 5 months ago Actions #4

  • Backport set to squid tentacle umbrella

UB Updated by Upkeep Bot 3 months ago Actions #5

  • Copied to Backport #80625: tentacle: bluestore_tp tracepoint library is built but never installed added

UB Updated by Upkeep Bot 3 months ago Actions #6

  • Copied to Backport #80626: squid: bluestore_tp tracepoint library is built but never installed added

UB Updated by Upkeep Bot 3 months ago Actions #7

  • Copied to Backport #80627: umbrella: bluestore_tp tracepoint library is built but never installed added

UB Updated by Upkeep Bot 3 months ago Actions #8

  • Status changed from In Progress to Backporting
  • Merge Commit set to acbac5f468c1f5d286f69fb4c411ad414f65e836
  • Fixed In set to v21.3.0-3413-gacbac5f468
  • Upkeep Timestamp set to 2026-09-18T00:21:02+00:00
Actions

Also available in: PDF Atom