Bug #74983
closedobjecter_requests does not dump all the inflight op's from rgw admin socket.
0%
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:
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?
KC Updated by Krunal Chheda 10 months ago
- Backport set to squid, tentacle
JI Updated by J. Eric Ivancich 10 months ago
- Status changed from New to In Progress
- Assignee set to Krunal Chheda
KC Updated by Krunal Chheda 9 months ago
- 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
- 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
- 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
- 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
- Tags (freeform) set to backport_processed
KC Updated by Krunal Chheda 4 months ago
- Backport changed from squid, tentacle to squid, tentacle, umbrella
ID Updated by Ilya Dryomov 4 months ago
- Tags (freeform) deleted (
backport_processed)
UB Updated by Upkeep Bot 4 months ago
- 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
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot 3 months ago
- 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
- Related to Bug #83297: objecter: admin socket EEXIST error logged for unnamed librados clients added