Skip to content

Commit 57be0da

Browse files
authored
Merge pull request #1061 from stackhpc/ceph-pgs-unclean
Prevent Ceph PgsUnclean alert because of backfill
2 parents b2be632 + b3a01c1 commit 57be0da

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

etc/kayobe/kolla/config/prometheus/ceph.rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ groups:
117117
requests.
118118

119119
- alert: PgsUnclean
120-
expr: ceph_pool_metadata * on(pool_id,instance) group_left() (ceph_pg_total - ceph_pg_clean) > 0
120+
expr: ceph_pool_metadata * on(pool_id,instance) group_left() (ceph_pg_total - ceph_pg_clean - ceph_pg_backfilling - ceph_pg_backfill_wait) > 0
121121
for: 15m
122122
labels:
123123
severity: warning
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Prevents raising a Ceph ``PgsUnclean`` alert because of backfilling which
5+
can frequently happen because of normal rebalancing activities, such as use
6+
of the Ceph balancer or OSD addition.

0 commit comments

Comments
 (0)