Hi, I could not confirm this in a virtual lab cluster, also on 17.2.5: host1:~ # ceph osd pool create asdf pool 'asdf' created host1:~ # ceph-conf -D | grep 'osd_pool_default_pg' osd_pool_default_pg_autoscale_mode = on osd_pool_default_pg_num = 32 osd_pool_default_pgp_num = 0 So it looks quite similar except the pgp_num value (I can't remember having that modified). This is an upgraded Nautilus cluster. Zitat von Geert Kloosterman <gkloosterman@nvidia.com>:
Hi all,
I'm trying out Ceph Quincy (17.2.5) for the first time and I'm running into unexpected behavior of "ceph osd pool create".
When not passing any pg_num and pgp_num values, I get the following error with Quincy:
[root@gjk-ceph ~]# ceph osd pool create asdf Error ERANGE: 'pgp_num' must be greater than 0 and lower or equal than 'pg_num', which in this case is 1
I checked with Ceph Pacific (16.2.11) and there the extra arguments are not needed.
I expected it would use osd_pool_default_pg_num and osd_pool_default_pgp_num as defined in my ceph.conf:
[root@gjk-ceph ~]# ceph-conf -D | grep 'osd_pool_default_pg' osd_pool_default_pg_autoscale_mode = on osd_pool_default_pg_num = 8 osd_pool_default_pgp_num = 8
At least, this is what appears to be used with Pacific.
Is this an intended change of behavior? I could not find anything related in the release notes.
Best regards, Geert Kloosterman _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io