Hello, Ceph users, TL;DR: radosgw fails on me with the following message: 2019-01-17 09:34:45.247721 7f52722b3dc0 0 rgw_init_ioctx ERROR: librados::Rados::pool_create returned (34) Numerical result out of range (this can be due to a pool or placement group misconfiguration, e.g. pg_num < pgp_num or mon_max_pg_per_osd exceeded) Detailed description: I have a Ceph cluster installed long time ago as firefly on CentOS 7, and now running luminous. So far I have used it for RBD pools, but now I want to try using radosgw as well. I tried to deploy radosgw using # ceph-deploy rgw create myhost Which went well until it tried to start it up: [myhost][INFO ] Running command: service ceph-radosgw start [myhost][WARNIN] Redirecting to /bin/systemctl start ceph-radosgw.service [myhost][WARNIN] Failed to start ceph-radosgw.service: Unit not found. [myhost][ERROR ] RuntimeError: command returned non-zero exit status: 5 [ceph_deploy.rgw][ERROR ] Failed to execute command: service ceph-radosgw start [ceph_deploy][ERROR ] GenericError: Failed to create 1 RGWs Comparing it to my testing deployment of mimic, where radosgw works, the problem was with the unit name, the correct way to start it up apparently was # systemctl start ceph-radosgw@rgw.myhost.service Now it is apparently running: /usr/bin/radosgw -f --cluster ceph --name client.rgw.myhost --setuser ceph --setgroup ceph However, when I want to add the first user, radosgw-admin fails and radosgw itself exits with the similar message: # radosgw-admin user create --uid=kas --display-name="Jan Kasprzak" 2019-01-17 09:52:29.805828 7fea6cfd2dc0 0 rgw_init_ioctx ERROR: librados::Rados::pool_create returned (34) Numerical result out of range (this can be due to a pool or placement group misconfiguration, e.g. pg_num < pgp_num or mon_max_pg_per_osd exceeded) 2019-01-17 09:52:29.805957 7fea6cfd2dc0 -1 ERROR: failed to initialize watch: (34) Numerical result out of range couldn't init storage provider So I guess it is trying to create a pool for data, but it fails somehow. Can I determine which pool it is and what parameters it tries to use? I have looked at my testing mimic cluster, and radosgw there created the following pools: .rgw.root default.rgw.control default.rgw.meta default.rgw.log default.rgw.buckets.index default.rgw.buckets.data So I created these pools manually on my luminous cluster as well: # ceph osd pool create .rgw.root 128 (repeat for all the above pool names) Which helped, and I am able to create the user with radosgw-admin. Now where should I look for the exact parameters radosgw is trying to use when creating its pools? Thanks, -Yenya -- | Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> | | http://www.fi.muni.cz/~kas/ GPG: 4096R/A45477D5 | This is the world we live in: the way to deal with computers is to google the symptoms, and hope that you don't have to watch a video. --P. Zaitcev _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com