I am trying to deploy 17.1.2 at the customer site with ceph hci .. my deployment fails wile trying to create pools with error - "Error ERANGE: 'pgp_num' must be greater than 0 and lower or equal than 'pg_num', which in this case is 1" .. jumping on the cephadm shell and checking the defaults I see my pg and pgp are set up to 32: [ceph: root@xxxcentral-controller-0 /]# ceph config dump WHO MASK LEVEL OPTION VALUE RO global advanced cluster_network 100.127.54.0/24,100.127.70.0/24 * global basic container_image xxx-undercloud-rhel9.ctlplane.attni-lab.dom:8787/rhceph/rhceph-6-rhel9: latest * global advanced ms_bind_ipv4 true global advanced ms_bind_ipv6 false global advanced osd_pool_default_min_size 1 global advanced osd_pool_default_pg_num 32 global advanced osd_pool_default_pgp_num 32 global advanced osd_pool_default_size 2 when tried to create these pools with the same command that the installer is using and failing with the same error : [ceph: root@xxxcentral-controller-0 /]# ceph osd pool create vms replicated_rule --autoscale-mode on Error ERANGE: 'pgp_num' must be greater than 0 and lower or equal than 'pg_num', which in this case is 1 manually creation of pools worked: [ceph: root@xxxcentral-controller-0 /]# ceph osd pool create vms 32 32 pool 'vms' created [ceph: root@xxxcentral-controller-0 /]# ceph osd pool create volumes 32 32 pool 'volumes' created [ceph: root@xxxcentral-controller-0 /]# ceph osd pool create images 32 32 pool 'images' created
It fails here https://opendev.org/openstack/tripleo-ansible/src/branch/stable/wallaby/tripleo_ansible/roles/tripleo_cephadm/tasks/pools.yaml#L27
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 (Moderate: openstack-tripleo-heat-templates and tripleo-ansible update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2024:2736