Bug 1954748 - rgw: multipart re-uploads can have NUL char in rados object name and breaks rgw-orphan-list
Summary: rgw: multipart re-uploads can have NUL char in rados object name and breaks r...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.2z2
Assignee: J. Eric Ivancich
QA Contact: Tejas
URL:
Whiteboard:
: 1929905 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-28 17:50 UTC by J. Eric Ivancich
Modified: 2021-06-15 17:14 UTC (History)
9 users (show)

Fixed In Version: ceph-14.2.11-150.el8cp, ceph-14.2.11-150.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-15 17:14:17 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2445 0 None None None 2021-06-15 17:14:35 UTC

Description J. Eric Ivancich 2021-04-28 17:50:46 UTC
Description of problem:

During a multipart re-upload, the semi-randomized rados object name selected might include a NUL character.

When this happens the grep commands in rgw-orphan-list exit early because they do not have a command-line option telling them to continue when binary characters are encountered.

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


How reproducible: Rare; requires multipart re-upload to be induced


Steps to Reproduce:
1. Induce multi-part re-upload
2. Run rgw-orphan-list
3.

Actual results:

rados objects created by rgw can have a NUL character in name; rgw-orphan-list produces incorrect results.

Expected results:

rados objects created by rgw never have NUL character in name; rgw-orphan-list produces correct results.

Additional info:

This combines two upstream commits together that are related by the NUL character.

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

Comment 8 tserlin 2021-05-26 20:45:12 UTC
*** Bug 1929905 has been marked as a duplicate of this bug. ***

Comment 13 errata-xmlrpc 2021-06-15 17:14:17 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:2445


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