Bug 1882484

Summary: GC perfcounter fails to update when deletion occurs
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Tim Wilkinson <twilkins>
Component: RGWAssignee: Pritha Srivastava <prsrivas>
Status: CLOSED ERRATA QA Contact: Tejas <tchandra>
Severity: high Docs Contact: Ranjini M N <rmandyam>
Priority: high    
Version: 4.1CC: akupczyk, cbodley, ceph-eng-bugs, ceph-qe-bugs, dzafman, jharriga, kbader, kchai, mbenjamin, mkasturi, nojha, prsrivas, rmandyam, rzarzyns, sseshasa, sweil, tserlin, vumrao
Target Milestone: ---   
Target Release: 4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-14.2.11-57.el8cp, ceph-14.2.11-57.el7cp Doc Type: Bug Fix
Doc Text:
.gc perf counters increments when gc entries are purged from the system Previously, gc perf counters did not increment when gc entries were purged from the system. With this code update, the correct value of gc perf counter is observed in accordance with the number of gc entries that have been deleted from the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-12 14:57:21 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: 1890121    

Description Tim Wilkinson 2020-09-24 17:14:39 UTC
Description of problem:
----------------------
Querying gc_retire_object in the 4.1 RGW daemon socket shows zeroes



Version-Release:
---------------
ceph-*-14.2.8-91.el7cp.x86_64



How reproducible:
----------------
consistent



Actual results:
--------------
# ceph daemon `ls /var/run/ceph/ceph-client.rgw.*.asok|tail -1` perf dump |grep gc_retire_object | awk -F'[0-9]:' '{ print $1}'
        "gc_retire_object": 0,

Comment 1 RHEL Program Management 2020-09-24 17:14:42 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 24 Madhavi Kasturi 2020-12-03 10:29:25 UTC
on build ceph version 14.2.11-84.el7cp , with steps mentioned in comment #9, the values of 'gc_retire_object' reflects post gc

[root@magna056 ubuntu]# ceph daemon `ls /var/run/ceph/ceph-client.rgw.*.asok|tail -1` perf dump |grep gc_retire_object | awk -F'[0-9]:' '{ print $1}'
        "gc_retire_object": 100,


Moving this BZ to verified.

Comment 28 errata-xmlrpc 2021-01-12 14:57:21 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 (Important: Red Hat Ceph Storage 4.2 Security and Bug Fix update), 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/RHSA-2021:0081