+++ 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:
4 commits cherry-picked to ceph-3.3-rhel-patches-STAGE
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