Prometheus is unable to scrape fluentd metrics in OpenShift 4

Solution Verified - Updated -

Issue

  • All the collector pods are filled with the below logs after skipping the upgrade channel stable-5.3 of the Red Hat OpenShift Logging operator:

    2023-03-21 06:06:12 +0000 [error]: #<Async::Task:0x2aa1c (failed)>SSL_accept returned=1 errno=0 state=error: sslv3 alert bad certificate
    2023-03-21 06:06:19 +0000 [error]: #<Async::Task:0x2ad3c (failed)>SSL_accept returned=1 errno=0 state=error: sslv3 alert bad certificate
    
  • Below alert is streaming in the cluster:

    Login -> Administrator View -> Observe -> Alerting
    ---
    Prometheus could not scrape fluentd collector for more than 10m.
    
  • The endpoints of collector pods shows down in Targets section.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Logging (RHOL)
    • 5

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