Blocked indices in OpenShift Container Platform 4 - Logging

Solution Verified - Updated -

Issue

  • fluentd is unable to send logs to elasticsearch as elasticsearch is blocking indexing of new messages.
  • We are seeing the below error in elasticsearch and fluentd is not able to send log messages to elasticsearch.

    {"error":{"root_cause":[{"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"}],"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"},"status":403
    

Environment

  • Red Hat OpenShift Container Platform
    • 4.0
    • 4.1
    • 4.2
    • 4.3
    • 4.4
  • Red Hat OpenShift Logging 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