Bug 2024029

Summary: rgw: remove prefix & delim params for bucket removal & mp upload abort
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: J. Eric Ivancich <ivancich>
Component: RGWAssignee: J. Eric Ivancich <ivancich>
Status: CLOSED ERRATA QA Contact: Vidushi Mishra <vimishra>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.1CC: cbodley, ceph-eng-bugs, kbader, mbenjamin, tserlin, vereddy
Target Milestone: ---   
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.6-32.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-04 10:22:55 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:

Description J. Eric Ivancich 2021-11-17 03:44:04 UTC
Description of problem:

During normal bucket removal incomplete multipart uploads will not be cleaned up.

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


How reproducible:

100%

Steps to Reproduce:
1. Create a bucket with incomplete multipart uploads
2. Remove the bucket

Actual results:

Remnants of the incomplete multipart uploads will remain in the object store.

Expected results:

They should be cleaned up.

Additional info:

This is a regression that began at some point in upstream Pacific. There was some logic that incomplete multipart uploads would only be done if a prefix to the bucket was provided, but that does not make sense. The fix has cleans up this logic further.

Comment 1 RHEL Program Management 2021-11-17 03:44:10 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 2 J. Eric Ivancich 2021-11-17 03:45:44 UTC
Upstream pr: https://github.com/ceph/ceph/pull/43975

Comment 11 errata-xmlrpc 2022-04-04 10:22:55 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 (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, 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-2022:1174