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-le...@ceph.io

Reply via email to