Bug 1517915
Summary: | [RFE] Admin socket command to view whats in rgw cache | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Mike Hackett <mhackett> |
Component: | RGW | Assignee: | Adam C. Emerson <aemerson> |
Status: | CLOSED ERRATA | QA Contact: | Vidushi Mishra <vimishra> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.4 | CC: | aemerson, agunn, anharris, cbodley, ceph-eng-bugs, jbrier, kbader, kdreyer, mbenjamin, owasserm, sweil, tchandra |
Target Milestone: | rc | Keywords: | FutureFeature, TestOnly |
Target Release: | 3.1 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHEL: ceph-12.2.4-6.el7cp Ubuntu: ceph_12.2.4-7redhat1xenial | Doc Type: | Enhancement |
Doc Text: |
.New administrative sockets added for the `radosgw-admin` command to view the Object Gateway cache
Two new administrative sockets were added to the `radosgw-admin` command to view the contents of the Ceph Object Gateway cache.
The `cache list [string]` sub-command lists all objects in the cache. If the optional `string` is provided, it only matches those objects containing the string.
The `cache inspect <objectname>` sub-command prints detailed information about the object.
These commands can be used to help debug caching problems on any Ceph Object Gateway node.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-09-26 18:16:43 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1584264 |
Description
Mike Hackett
2017-11-27 17:04:43 UTC
I think this would be a much more natural fit for something like the admin-socket than for radosgw-admin, since we're poking at, introspecting, and flushing an individual process. Do they have specifics about what they want to see exactly? I can quite easily come up with a way to just walk the cache and print the objects in it and any data chained to them. It'd probably be large. (Also radosgw-admin isn't a good choice, since cache is per-RGW server. The most obvious and Ceph Idiomatic way to do this is the admin hook.) @vidushi There is no reproducer, it's a feature request. You could test it by making a request and then inspecting the objects in cache to make sure they are what they should be. No. radosgw-admin manipulates RGW data and metadata in RADOS. Since the cache exists per-process, these commands are on the admin socket accessible with the ceph daemon command. e.g. ./bin/ceph --admin-daemon=/path/to/socket.asok cache list 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-2018:2819 |