Bug #40475
rgw: zone configure: tier_type value can't start with number
0%
Description
if value of one tier_type configuration is configured started with number, eg: radosgw-admin zone modify --rgw-zonegroup=default --rgw-zone=default --tier-type=cloud --tier-config=connection.access_key=123abc
Then the connection.access_key will only be stored as 123. By following the coding of JSONFormattable.set(), i found although i wanna set to as string, but JSONParser.parse() set it as int_type.
For some situations, such as, sync to s3 cloud, the access_key or secrete_key may starts with number, this bug will make synchronization not work well.
History
#1 Updated by hao wang almost 5 years ago
my fault
Actually, you can set to to 123abc, use example:
radosgw-admin zone modify --rgw-zonegroup=default --rgw-zone=default --tier-type=cloud --tier-config=connection.access_key=\"123abc\"
please close this issue