Loki configuration fails validation when retention is enabled, leading to crash loop in RHOCP 4
Issue
-
Loki pods are in
CrashLoopBackOff
with the error message:level=error ts=2024-07-17T17:01:27.523133793Z caller=main.go:70 msg="validating config" err="CONFIG ERROR: invalid compactor config: compactor.delete-request-store should be configured when retention is enabled"
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Red Hat OpenShift Logging (RHOL)
- 5.6.21
- 5.8.9
- Lokistack
- Loki
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.