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.
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.
*** Bug 1929905 has been marked as a duplicate of this bug. ***
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