Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2187394

Summary: [RGW CloudTransition] tier configuration incorrectly parses keys starting with digit
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Soumya Koduri <skoduri>
Component: RGWAssignee: Soumya Koduri <skoduri>
Status: CLOSED ERRATA QA Contact: Tejas <tchandra>
Severity: medium Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 6.1CC: akraj, cbodley, ceph-eng-bugs, cephqe-warriors, mbenjamin, tchandra, tserlin
Target Milestone: ---   
Target Release: 6.1   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: ceph-17.2.6-27.el9cp Doc Type: Bug Fix
Doc Text:
.Users can now configure the remote S3 service with the right credentials Previously, while configuring remote cloud S3 object store service to transition objects, access keys starting with digit were incorrectly parsed. Due to this, there were chances for the object transition to fail. With this fix, the keys are parsed correctly. Users cannot configure the remote S3 service with the right credentials for transition.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-15 09:17:21 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:
Bug Depends On:    
Bug Blocks: 2192813    

Description Soumya Koduri 2023-04-17 14:42:51 UTC
Description of problem:
While configuring cloud-tier, if the access key/secret starts with digit, it may get trimmed.

For eg.,

radosgw-admin zonegroup placement modify --rgw-zonegroup=maxzg --placement-id=ec22 --storage-class=CLOUDY --tier-type=cloud-s3 --tier-config=access_key=1MNLI1JA9QM1X7XMGS5R
it outputs:

.....
"s3": {
"endpoint": ...
"access_key": "1",


This is due to a bug in JSONParser::parse() which is fixed in the upstream

Tracker: https://tracker.ceph.com/issues/55212
Fix: https://github.com/ceph/ceph/pull/35870

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 10 errata-xmlrpc 2023-06-15 09:17:21 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 6.1 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-2023:3623

Comment 11 Red Hat Bugzilla 2023-10-14 04:25:43 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days