Project

General

Profile

Actions

Bug #74983

closed
KC KC

objecter_requests does not dump all the inflight op's from rgw admin socket.

Bug #74983: objecter_requests does not dump all the inflight op's from rgw admin socket.

Added by Krunal Chheda 10 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-1994-g49fa23a850
Released In:
Upkeep Timestamp:
2026-08-27T18:45:44+00:00

Description

There is a tool that allows you to troubleshoot RGW requests that are blocked by dumping all requests waiting for a response from RADOS. The documentation describing how to use this tool is available here:

https://docs.ceph.com/en/latest/radosgw/troubleshooting/#blocked-radosgw-requests

However, this feature is currently broken — it returns an empty JSON list when queried.

The objecter_requests hook is initialized whenever a client creates a librados instance to communicate with RADOS.

The issue is that Objecter effectively supports only a single objecter_requests instance per process. In contrast, RGW currently initializes multiple librados clients:

  • Config Store
  • RADOS Store
  • NeoRados
  • RealmWatcher (this is itself a bug — it reuses the Config Store librados instance but calls init() again, resulting in a memory leak)

Since Objecter only supports a single client for request dumping, any subsequent calls to Objecter::init() are silently ignored. In our case, the first librados initialization occurs during Config Store setup. As a result, when we attempt to dump in-flight requests, we do not see RADOS requests related to the Rados Store(s3 requests), which are typically the ones of interest.

Looking at other Ceph components that use librados (such as RBD, MDS, and rbd-mirror), they each create a single librados client and reuse it throughout the process.

This raises the question:
Should RGW also be refactored to use a single librados client, or should Objecter be enhanced to support multiple librados clients per process?


Related issues 4 (3 open — 1 closed)

Related to rgw - Bug #83297: objecter: admin socket EEXIST error logged for unnamed librados clientsBackportingKrunal Chheda

Actions
Copied to rgw - Backport #79481: tentacle: objecter_requests does not dump all the inflight op's from rgw admin socket.Fix Under ReviewKrunal Chheda

Actions
Copied to rgw - Backport #79482: squid: objecter_requests does not dump all the inflight op's from rgw admin socket.Fix Under ReviewKrunal Chheda

Actions
Copied to rgw - Backport #79503: umbrella: objecter_requests does not dump all the inflight op's from rgw admin socket.Fix Under ReviewKrunal Chheda

Actions

KC Updated by Krunal Chheda 10 months ago Actions #1

  • Backport set to squid, tentacle

JI Updated by J. Eric Ivancich 10 months ago Actions #2

  • Status changed from New to In Progress
  • Assignee set to Krunal Chheda

KC Updated by Krunal Chheda 9 months ago Actions #3

  • Pull request ID set to 67471

As discussed in the Rgw Weekly on 02/18/26, it was decided currently to enhance the objecter to support multiple librados clients to register admin socket by allowing to set different socket name for each client,

UB Updated by Upkeep Bot 4 months ago Actions #4

  • Status changed from In Progress to Pending Backport
  • Merge Commit set to 49fa23a85074fcf5dcb690b4bbcfd94036bfc3a1
  • Fixed In set to v21.3.0-1994-g49fa23a850
  • Upkeep Timestamp set to 2026-08-13T19:14:05+00:00

UB Updated by Upkeep Bot 4 months ago Actions #5

  • Copied to Backport #79481: tentacle: objecter_requests does not dump all the inflight op's from rgw admin socket. added

UB Updated by Upkeep Bot 4 months ago Actions #6

  • Copied to Backport #79482: squid: objecter_requests does not dump all the inflight op's from rgw admin socket. added

UB Updated by Upkeep Bot 4 months ago Actions #7

  • Tags (freeform) set to backport_processed

KC Updated by Krunal Chheda 4 months ago Actions #8

  • Backport changed from squid, tentacle to squid, tentacle, umbrella

ID Updated by Ilya Dryomov 4 months ago Actions #9

  • Tags (freeform) deleted (backport_processed)

UB Updated by Upkeep Bot 4 months ago Actions #10

  • Copied to Backport #79503: umbrella: objecter_requests does not dump all the inflight op's from rgw admin socket. added

UB Updated by Upkeep Bot 4 months ago Actions #11

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #12

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-08-13T19:14:05+00:00 to 2026-08-27T18:45:44+00:00

KC Updated by Krunal Chheda 14 days ago Actions #13

  • Related to Bug #83297: objecter: admin socket EEXIST error logged for unnamed librados clients added
Actions

Also available in: PDF Atom