Bug 1514007

Summary: Objects left after calling radosgw-admin bucket rm --purge-objects
Product: Red Hat Ceph Storage Reporter: Orit Wasserman <owasserm>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: ASSIGNED --- QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: low Docs Contact: Erin Donnelly <edonnell>
Priority: low    
Version: 3.0CC: anharris, cbodley, ceph-eng-bugs, edonnell, kbader, mbenjamin, sweil
Target Milestone: rc   
Target Release: 3.*   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Known Issue
Doc Text:
.Object leaking can occur after using `radosgw-admin bucket rm --purge-objects` In the Ceph Object Gateway, the `radosgw-admin bucket rm --purge-objects` command is supposed to remove all object from a bucket. However, in some cases, some of the objects are left in the bucket. This is caused by the `RGWRados::gc_aio_operate()` operation abandoning on shutdown. To work around this problem, remove the objects by using the `rados rm` command.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1494421    

Description Orit Wasserman 2017-11-16 13:32:14 UTC
Description of problem:
There could be object leaking after calling radosgw-admin bucket rm  --purge-objects.
this due to RGWRados::gc_aio_operate() ops abandoned on shutdown.

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

How reproducible:
Create a large bucket

Steps to Reproduce:
1. remove the bucket

Actual results:
some of the objects are left

Expected results:
No objects left

Additional info: