Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1599852

Summary: radosgw-admin bucket rm --bucket=${bucket} --bypass-gc --purge-objects not cleaning up objects in secondary site
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vikhyat Umrao <vumrao>
Component: RGW-MultisiteAssignee: Casey Bodley <cbodley>
Status: CLOSED ERRATA QA Contact: Tejas <tchandra>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: assingh, cbodley, ceph-eng-bugs, ceph-qe-bugs, edonnell, mbenjamin, mmanjuna, roemerso, tserlin
Target Milestone: rc   
Target Release: 3.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.12-32.el7cp Ubuntu: ceph_12.2.12-28redhat1 Doc Type: Bug Fix
Doc Text:
.`radosgw-admin bucket rm --bypass-gc` now stores timestamps for deletions Previously, objects deleted with `radosgw-admin bucket rm --bypass-gc` did not store a timestamp for the deletion. Because of this, data sync did not apply these object deletions on other zones. With this update, proper timestamps are stored for deletions, and `bucket rm` with `--bypass-gc` correctly deletes objects on all zones.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-21 15:10:24 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: 1726135    

Description Vikhyat Umrao 2018-07-10 18:20:12 UTC
Description of problem:
radosgw-admin bucket rm --bucket=${bucket} --bypass-gc --purge-objects not cleaning up objects in secondary site


Version-Release number of selected component (if applicable):
Red Hat Ceph Storage 3.0

How reproducible:
Always in the customer environment.

Comment 1 Vikhyat Umrao 2018-07-10 18:24:33 UTC
ceph df output from both sites:
==================================

    p.rgw.log               6      11883         0        18578G        1987 
    p.rgw.buckets.data      7      3554M      0.02        18578G       56871 
    p.rgw.buckets.index     9          0         0        18578G        1216 
    p.rgw.meta              17      343k         0        18578G        1213 


    s.rgw.log               11     15408         0        10281G          2236  
    s.rgw.buckets.index     5          0         0        10281G          1216 
    s.rgw.buckets.data      7      6594G     39.08        10281G     110644081 
    s.rgw.meta              13      343k         0        10281G          1211

Comment 22 Vikhyat Umrao 2019-06-03 15:58:42 UTC
*** Bug 1672952 has been marked as a duplicate of this bug. ***

Comment 30 errata-xmlrpc 2019-08-21 15:10:24 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/RHSA-2019:2538