Bug 2021970 - The rgw container crashes when trying to delete a bucket bypassing the GC and this bucket has an incomplete object
Summary: The rgw container crashes when trying to delete a bucket bypassing the GC and...
Keywords:
Status: CLOSED DUPLICATE of bug 2028827
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 4.2
Hardware: Unspecified
OS: All
unspecified
low
Target Milestone: ---
: 5.2
Assignee: J. Eric Ivancich
QA Contact: Vidushi Mishra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-10 13:35 UTC by maugarci
Modified: 2021-12-10 17:43 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-10 17:43:46 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-2233 0 None None None 2021-11-10 13:39:47 UTC

Description maugarci 2021-11-10 13:35:52 UTC
Description of problem:

The RGW container crashes when the following conditions are met:

1- Uploading of an object containing multiparts is interrupted from the client side.
2- The cluster administrator performs the removal of the objects in the buckets, where the incomplete object resides, bypassing the GC


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

RHCS4.2

Container image: rhceph/rhceph-4-rhel8:4-57


How reproducible:

This can be reproduced as follows


Steps to Reproduce:
1. Uploading a file bigger than 15MB using s3cmd.
2. Interrupt the uploading process before it ends.
3. Try to remove the bucket where the file was uploading:
  `podman exec <RGW_container_name> radosgw-admin bucket rm --purge-objects --bypass-gc --bucket=tests-removing-objects --debug_ms=1 --debug_rgw=20`

Actual results:

The container crashes and the incomplete object cannot be deleted bypassing the GC.

Expected results:

The expected behavior is to be able to successfully remove the object bypassing the GC and this operation must not crash the container.

Additional info:


Note You need to log in before you can comment on or make changes to this bug.