Bug 2260304 - ceph pool creation failed with pg error during 17.1 deployment
Summary: ceph pool creation failed with pg error during 17.1 deployment
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z3
: 17.1
Assignee: Manoj Katari
QA Contact: Alfredo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-25 07:10 UTC by Manoj Katari
Modified: 2024-05-22 20:42 UTC (History)
4 users (show)

Fixed In Version: tripleo-ansible-3.3.1-17.1.20231101230827.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-05-22 20:42:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-31269 0 None None None 2024-01-25 07:12:16 UTC
Red Hat Product Errata RHSA-2024:2736 0 None None None 2024-05-22 20:42:46 UTC

Description Manoj Katari 2024-01-25 07:10:50 UTC
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

Comment 15 errata-xmlrpc 2024-05-22 20:42:44 UTC
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


Note You need to log in before you can comment on or make changes to this bug.