Bug 2260304
| Summary: | ceph pool creation failed with pg error during 17.1 deployment | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Manoj Katari <mkatari> |
| Component: | tripleo-ansible | Assignee: | Manoj Katari <mkatari> |
| Status: | CLOSED ERRATA | QA Contact: | Alfredo <alfrgarc> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 17.1 (Wallaby) | CC: | dhughes, gfidente, johfulto, mariel |
| Target Milestone: | z3 | Keywords: | Triaged |
| Target Release: | 17.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tripleo-ansible-3.3.1-17.1.20231101230827.el9ost | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-05-22 20:42:44 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 |
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