Description of problem:
When the default "pg num" and "pgp num" settings in ceph.conf are misconfigured (e.g. due to a typo), rados gw can't create the pools and will print this error:
2016-11-23 11:07:07.383664 7efef6e229c0 0 ERROR: storing info for 40f94cf3-796e-494f-bcec-655b91a58cc1: (34) Numerical result out of range
2016-11-23 11:07:07.383695 7efef6e229c0 0 create_default: error in create_default zone params: (34) Numerical result out of range
2016-11-23 11:07:07.383705 7efef6e229c0 0 failure in zonegroup create_default: ret -34 (34) Numerical result out of range
2016-11-23 11:07:07.385338 7efef6e229c0 -1 Couldn't init storage provider (RADOS)
Version-Release number of selected component (if applicable):
A more specific error messages would help our customers to quickly identify the problem.
Put conflicting settings into ceph.conf:
osd pool default pg num = 33
osd pool default pgp num = 34
Steps to Reproduce:
2. try to startup rados gw
3. watch error
ret -34 (34) Numerical result out of range
Some nice error message to point the customer to his misconfiguration
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.