Bug 2253013 - Ceph storage pool created with pg_num and pgp_num 1; osd_pool_default_pg_num is 32, must set deviceClass on all pools
Summary: Ceph storage pool created with pg_num and pgp_num 1; osd_pool_default_pg_num ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.13
Hardware: All
OS: All
unspecified
urgent
Target Milestone: ---
: ODF 4.17.0
Assignee: Malay Kumar parida
QA Contact: Aviad Polak
URL:
Whiteboard:
Depends On:
Blocks: 2297295 2300016 2300018 2300021 2300022 2300023 2300332 2301588 2306496
TreeView+ depends on / blocked
 
Reported: 2023-12-05 15:39 UTC by Brenda McLaren
Modified: 2025-02-28 04:25 UTC (History)
21 users (show)

Fixed In Version: 4.17.0-84
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2300016 2300021 2300022 2300023 (view as bug list)
Environment:
Last Closed: 2024-10-30 14:26:05 UTC
Embargoed:
almartin: needinfo-


Attachments (Terms of Use)
Storage Class screenshot (57.75 KB, image/png)
2024-01-03 18:33 UTC, Brenda McLaren
no flags Details
Create BlockPool screenshot (109.77 KB, image/png)
2024-01-03 18:34 UTC, Brenda McLaren
no flags Details
mgr log from 03-19-2024 when replica2-pool was created. (13.71 MB, text/plain)
2024-03-20 14:20 UTC, Brenda McLaren
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 2694 0 None Merged Fix pg_autoscaler won't scale due to overlapping roots 2024-07-15 10:37:20 UTC
Github red-hat-storage ocs-operator pull 2751 0 None open Mark enableCrushUpdates as true for all the pools created 2024-08-20 11:12:04 UTC
Github red-hat-storage ocs-operator pull 2756 0 None open Bug 2253013:[release-4.17] Mark enableCrushUpdates as true for all the pools created 2024-08-21 07:58:39 UTC
Red Hat Product Errata RHSA-2024:8676 0 None None None 2024-10-30 14:27:19 UTC

Description Brenda McLaren 2023-12-05 15:39:06 UTC
Description of problem (please be detailed as possible and provide log
snippests):

When creating a new storage class and creating a new pool, the pool is created with pg_num set to 1 even when the osd_pool_default_pg_num is 32.  What's the reasoning behind this?  Given the performance implications, this seems counter-intuitive.  No?


bash-5.1$ ceph osd pool ls detail | grep ocs-storagecluster-cephrbd-replica2-pool
pool 13 'ocs-storagecluster-cephrbd-replica2-pool' replicated size 2 min_size 1 crush_rule 12 object_hash rjenkins pg_num 1 pgp_num 1 autoscale_mode on last_change 98 flags hashpspool,selfmanaged_snaps stripe_width 0 compression_mode none application rbd

bash-5.1$ ceph config get mon osd_pool_default_pg_num
32

Version of all relevant components (if applicable):

OCP v4.13
Ceph v6.1

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?

Pool is usable but performance is less than desired.

Is there any workaround available to the best of your knowledge?

Yes, use the Rook/Ceph toolbox to increase the number of PGs in the pool to desired number.


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?

1 - create new storage class; when selecting the pool, selected Create New Pool.
 
Can this issue reproducible?

Yes, every new pool that is created when creating a new storage class.

Can this issue reproduce from the UI?

Yes

Actual results:

pg_num and pgp_num are 1

Expected results:

pg_num and pgp_num should be set to the size of osd_pool_default_pg_num.

Comment 4 Brenda McLaren 2024-01-03 18:33:38 UTC
Created attachment 2007075 [details]
Storage Class screenshot

Comment 5 Brenda McLaren 2024-01-03 18:34:15 UTC
Created attachment 2007076 [details]
Create BlockPool screenshot

Comment 73 errata-xmlrpc 2024-10-30 14:26:05 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 (Important: Red Hat OpenShift Data Foundation 4.17.0 Security, Enhancement, & Bug Fix 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:8676

Comment 74 Red Hat Bugzilla 2025-02-28 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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