Prometheus error where segments are not sequential in RHOCP 4

Solution Verified - Updated -

Issue

  • Prometheus pod is in crashLoopBackOff with an error indicating that segments are not sequential:

    $ oc logs -c prometheus <prometheus pod name> -n <namespace> |grep -i "segments are not sequential" 
    2024-10-14T07:12:16.582897967Z ts=2024-10-14T07:12:16.582Z caller=main.go:1119 level=error err="opening storage failed: get segment range: segments are not sequential"
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Prometheus

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content