Project

General

Profile

Actions

Bug #8103

closed

pool has too few PGs warning misleading when using cache pools

Added by Mark Nelson about 10 years ago. Updated over 6 years ago.

Status:
Won't Fix
Priority:
High
Assignee:
-
Category:
ceph cli
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When using cache pools on a fresh filesystem, quickly the number of objects in the cache pool can greatly exceed the number of objects in the base pool, causing ceph health to warn:

nhm@burnupiX:/tmp/cbt/ceph/log$ ceph health
HEALTH_WARN pool rados-bench-burnupiY-2-cache has too few pgs; pool rados-bench-burnupiY-3-cache has too few pgs

Looking at ceph health detail, we see:

HEALTH_WARN pool rados-bench-burnupiY-2-cache has too few pgs; pool rados-bench-burnupiY-3-cache has too few pgs
pool rados-bench-burnupiY-2-cache objects per pg (14) is more than 14 times cluster average (1)
pool rados-bench-burnupiY-3-cache objects per pg (14) is more than 14 times cluster average (1)

In reality, this isn't a problem and the warning can be worked around by changing the max object skew, but it's pretty misleading and I would argue not particularly helpful.

Actions

Also available in: Atom PDF