Bug 1517912

Summary: [RFE] Admin socket command to invalidate cache
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Mike Hackett <mhackett>
Component: RGWAssignee: Adam C. Emerson <aemerson>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.4CC: agunn, anharris, cbodley, ceph-eng-bugs, jbrier, kbader, kdreyer, mbenjamin, owasserm, sweil, tchandra
Target Milestone: rcKeywords: FutureFeature, TestOnly
Target Release: 3.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.4-6.el7cp Ubuntu: 12.2.4-7redhat1xenial Doc Type: Enhancement
Doc Text:
.Admin socket command to invalidate cache Two new admin socket commands to manipulate the cache were added to the `radosgw-admin` tool. The `cache erase <objectname>` command flushes the given object from the cache. The `cache zap` command erases the entire cache. These commands can be used to help debug problems with the cache or provide a temporary workaround when an RGW node is holding stale information in the cache. Administrators can now flush any and all objects from the cache.
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 16:59:23 UTC
Description of problem:
Walmart has requested to implement the ability to invalidate rgw cache using the radosgw-admin tool.

Version-Release number of selected component (if applicable):
RHCS 2.4

Comment 6 Ken Dreyer (Red Hat) 2018-05-23 16:09:45 UTC
This landed upstream in v12.2.4

Comment 9 errata-xmlrpc 2018-09-26 18:16:43 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-2018:2819