Project

General

Profile

Actions

Bug #22130

closed

Custom root pools: default zonegroup is not found by radosgw-admin or radosgw

Added by Richard Chan over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

Updated by Richard Chan over 6 years ago

If I use the normal .rgw.root then it works as usual.

Actions #2

Updated by Sage Weil over 6 years ago

  • Status changed from New to Triaged
  • Priority changed from Normal to High
Actions #3

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
  1. 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.

Actions #4

Updated by Abhishek Lekshmanan over 6 years ago

  • Status changed from Triaged to Resolved

resolved as per last comment

Actions

Also available in: Atom PDF