Bug #58930
closedBug in parsing access_key for cloud tier/cloud transition?
0%
Description
I'm experimenting with "CLOUD TRANSITION" as per https://docs.ceph.com/en/latest/radosgw/cloud-transition/
After a while I got it to work. It took a while because when I enter:
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",
which obviously won't work
If I do:
radosgw-admin zonegroup placement modify --rgw-zonegroup=maxzg --placement-id=ec22 --storage-class=CLOUDY --tier-type=cloud-s3 --tier-config=access_key=MNLI1JA9QM1X7XMGS5R1
it correctly shows:
"s3": {
"endpoint": ...
"access_key": "MNLI1JA9QM1X7XMGS5R1",
I had to change the access key for the transition so it does not start with a number, as the same happens with all keys that start with a number.
This is with Ceph Quincy 17.2.5
Updated by Soumya Koduri about 1 year ago
This is already fixed - https://github.com/ceph/ceph/pull/35870/files and will be available from Reef. Since the fix is in common library which is used by other ceph modules too, it was not backported to already released quincy release then.