Project

General

Profile

Fix #10953

invalid/wrong values in ceph.conf for rgw sections are ignored silently

Added by Alfredo Deza about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Failing to get the rgw daemon to start, with output like the:

$ sudo radosgw -c /etc/ceph/ceph.conf -d -n client.radosgw.magna
2015-02-24 12:10:20.872719 7fecf52a2880  0 ceph version 0.87 (c51c8f9d80fa4e0168aa52685b8de40e42758578), process radosgw, pid 9508
2015-02-24 12:10:20.885567 7fecf52a2880 -1 Couldn't init storage provider (RADOS)

It turns out there was a configuration value that I'd missed and I had not updated it to reflect that I am not using multiple instances/zones as the configuration infers:

[client.radosgw.magna]
...
rgw zone = us-east

Had to be changed to:

rgw zone = magna

It is critical that something reports back but the logs were empty, the init script never said anything beyond 'Couldn't init storage provider' and the docs
never specified what to look for at all.

Also available in: Atom PDF