Rook-Ceph OSD Nearfull and Degraded Placement Groups
Matches Rook-Ceph HEALTH_WARN and HEALTH_ERR conditions for OSD_NEARFULL, OSD_FULL, PG_DEGRADED, and mon quorum loss.
- Kind
- Signature
- Version
- 2.0.0
- Tier
- verified
- Needs Faber
- v2.0.0+
- Digest prefix
- sha256:eb3cad49
Contract facts
- Sources
- 3
- kubernetes, prometheus, loki
- Log patterns
- 3
- RE2, replayed in CI
- Kubernetes matchers
- 1
- CEL on live objects
- Samples
- 3 and 2
- must match and must not
Inspect it
Inspect the contract and RBAC delta
$ faberctl catalog inspect signatures/ceph-osd-nearfull-degraded \ --source oci://ghcr.io/faberops/catalog:v2How it works
Sources
kubernetes, prometheus, loki
What it matches
Must match
- cluster health: HEALTH_WARN 1 nearfull osd(s) OSD_NEARFULL
- ceph-mon: osd.4 is near full at 87% capacity
- Degraded data redundancy: 12/384 pgs degraded
Must not match
- CephCluster rook-ceph/rook-ceph health HEALTH_OK
- All 6 OSDs up and in with 42% cluster utilization
Signature source
signature.yamlFailureSignature31 lines
apiVersion: catalog.faberops.dev/v2
kind: FailureSignature
metadata:
name: ceph-osd-nearfull-degraded
spec:
description: Matches Rook-Ceph HEALTH_WARN and HEALTH_ERR conditions for OSD_NEARFULL, OSD_FULL, PG_DEGRADED, and mon quorum
loss.
sources:
- kubernetes
- prometheus
- loki
logPatterns:
- HEALTH_(WARN|ERR).*(OSD_NEARFULL|OSD_FULL|PG_DEGRADED)
- osd\.\d+ is near full|mon quorum lost
- Degraded data redundancy:.*pgs degraded
samples:
match:
- 'cluster health: HEALTH_WARN 1 nearfull osd(s) OSD_NEARFULL'
- 'ceph-mon: osd.4 is near full at 87% capacity'
- 'Degraded data redundancy: 12/384 pgs degraded'
noMatch:
- CephCluster rook-ceph/rook-ceph health HEALTH_OK
- All 6 OSDs up and in with 42% cluster utilization
kubernetes:
- apiVersion: ceph.rook.io/v1
kind: CephCluster
match: has(object.status) && has(object.status.ceph) && has(object.status.ceph.health) && object.status.ceph.health !=
"HEALTH_OK"
queries:
loki: '{namespace="rook-ceph"} |= "OSD_NEARFULL" or |= "PG_DEGRADED"'
promql: ceph_health_status > 0
pack.yamlcatalog metadata11 lines
# Catalog metadata for signatures/ceph-osd-nearfull-degraded. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
name: ceph-osd-nearfull-degraded
category: signatures
version: 2.0.0
spec:
tier: verified
minFaberVersion: v2.0.0
digest: sha256:eb3cad49223c3e8889cf2f32f764d10280be83a23f2745ff70420959f70303e9
Signatures are catalog data. A Playbook references one by name in a connector trigger. It is never applied on its own.
Related packs
All 176 packsLonghorn and Rook-Ceph Distributed Storage Health Triage
playbooks/longhorn-rook-ceph-storage-triageRead-only storage reliability triage that inspects Rook-Ceph CephCluster health, Longhorn volume robustness, and stuck PersistentVolumeClaims, posting an actionable storage brief.Default ObserveCeiling AutoMulti-Cloud CSI Volume Attachment and Multi-Attach Stuck Errors
signatures/multicloud-csi-volume-attach-stuckMatches cross-cloud Kubernetes CSI FailedAttachVolume, Multi-Attach errors for ReadWriteOnce volumes, and VolumeAttachment timeout events across Hetzner, Scaleway, OVHcloud, DigitalOcean, AWS, Azure, and GCP.Log patterns 3Sources 3CloudNativePG PostgreSQL WAL Disk Exhaustion
signatures/postgres-cnpg-wal-disk-fullMatches PostgreSQL and CloudNativePG WAL archive failures, pg_wal disk full panics, and barman-cloud backup backlog alerts.Log patterns 3Sources 3