Bug #22130
closedCustom root pools: default zonegroup is not found by radosgw-admin or radosgw
0%
Description
Using a custom root (not .rgw.root)
[global]
rgw_realm_root_pool = gold.rgw.root
rgw_zonegroup_root_pool = gold.rgw.root
rgw_period_root_pool = gold.rgw.root
rgw_zone_root_pool = gold.rgw.root
rgw_region = gold.rgw.root
1. Create realm and make it default
2. Create zonegroup and make it default
radosgw-admin period update --commit
2017-11-15 04:50:42.400404 7f694dd4e9c0 0 failed reading zonegroup info:
ret -2 (2) No such file or directory
couldn't init storage provider
This also happens I attempt to start radosgw as well.
If I specify
[global]
rgw zonegroup = us
then it works.
Updated by Richard Chan over 6 years ago
If I use the normal .rgw.root then it works as usual.
Updated by Sage Weil over 6 years ago
- Status changed from New to Triaged
- Priority changed from Normal to High
Updated by Richard Chan over 6 years ago
My bad - false alarm. Casey on the mailing list noted that I had a wrong key:
rgw_region = gold.rgw.root- this shouldn't be here at all or at least should be rgw_region_root_pool
This setting caused a "compatibility code" zonegroup lookup which went nowhere.
Feel free to close.
Updated by Abhishek Lekshmanan over 6 years ago
- Status changed from Triaged to Resolved
resolved as per last comment