Bug 1941987

Summary: [gss][rados] Ceph autoscaler is not managing the warning "MANY_OBJECTS_PER_PG X pools have many more objects per pg than average"
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Geo Jose <gjose>
Component: RADOSAssignee: Neha Ojha <nojha>
Status: CLOSED DUPLICATE QA Contact: Manohar Murthy <mmurthy>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2CC: akupczyk, assingh, bhubbard, ceph-eng-bugs, dzafman, gsitlani, kchai, nojha, pdhange, r.martinez, rzarzyns, sseshasa, vumrao
Target Milestone: ---   
Target Release: 5.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-25 01:45:20 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:

Description Geo Jose 2021-03-23 11:09:36 UTC
Description of problem:
Ceph autoscaler calculates pg num considering the percentage of data contained in the specific pools. It does not take the number of objects per PG into consideration.
In certain situations, pools can have a large number of objects but comparatively very small space utilization. And the cluster will end up with warning MANY_OBJECTS_PER_PG even though autobalancer is enabled.
In such cases, we need to manually increase the PG number of the pool or change the mon_pg_warn_max_object_skew value.

Should this be handled by autobalancer?


Version-Release number of selected component (if applicable):
 RHCS 4.2