Inactive PGs should trigger a HEALTH_ERR state
Hi,
I was just testing with a cluster on VMs and I noticed that undersized+degraded+peering PGs do not trigger a HEALTH_ERR state. Why is that?
In my opinion any PG which is not active+? should trigger a HEALTH_ERR state since I/O is blocking at that point.
Is that a sane thing to do or am I missing something?
Signature · 6 lines
Wido den Hollander 42on B.V. Ceph trainer and consultant Phone: +31 (0)20 700 9902 Skype: contact42on
Quoted 10 lines · Wido den Hollander
Hi,
I was just testing with a cluster on VMs and I noticed that undersized+degraded+peering PGs do not trigger a
HEALTH_ERRstate. Why is that?In my opinion any PG which is not active+? should trigger a
HEALTH_ERRstate since I/O is blocking at that point.Is that a sane thing to do or am I missing something?
IIRC they trigger a WARN state until they are 'stuck' inactive, at which point they trigger an ERR state. The idea is that it is totally normal for PGs to be in an inactive state for short periods due to normal cluster churn--it's only problematic if they get stuck there.
sage