Bug 1855384 - rgw: incorporate fixes in rgw-orphan-list script from upstream 3.3
Summary: rgw: incorporate fixes in rgw-orphan-list script from upstream 3.3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 3.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z6
: 3.3
Assignee: Matt Benjamin (redhat)
QA Contact: Tejas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-09 18:06 UTC by J. Eric Ivancich
Modified: 2020-08-18 18:06 UTC (History)
8 users (show)

Fixed In Version: RHEL: ceph-12.2.12-122.el7cp Ubuntu: ceph_12.2.12-109redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1855382
Environment:
Last Closed: 2020-08-18 18:05:58 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:3504 0 None None None 2020-08-18 18:06:29 UTC

Description J. Eric Ivancich 2020-07-09 18:06:04 UTC
+++ This bug was initially created as a clone of Bug #1855382 +++

+++ This bug was initially created as a clone of Bug #1855380 +++

Description of problem:

When running the rgw-orphan-list script, if the current UTC time has a single digit hour (0-9 but not 10-23), then there will be a space in the timestamp. The timestamp is incorporated into intermediate and output filenames. In some cases in the script the filename isn't quoted, so the space will create an issue. Additionally it's more difficult for end-users to deal with spaces in filenames.

Also when rgw-orphan-list moved from downstream to upstream, it gained some clean-ups and functionality and a simplified build process, so we should synchronize with it.

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


How reproducible:

Very

Steps to Reproduce:
1. run rgw-orphan-list when the UTC hour is 0-9.

Actual results:

Script produces error.

Expected results:

Script should run without producing error.

Additional info:

Comment 1 J. Eric Ivancich 2020-07-09 19:16:41 UTC
4 commits cherry-picked to ceph-3.3-rhel-patches-STAGE

Comment 9 errata-xmlrpc 2020-08-18 18:05:58 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 3.3 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-2020:3504


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