Error 403 accessing to the Elasticsearch root url / in OCP 4.5

Solution Verified - Updated -

Issue

  • Error 403 accessing to the Elasticsearch root url /

    $ curl -tlsv1.2 --insecure -H "Authorization: Bearer ${token}" "https://${routeES}/" 
    {"error":{"root_cause":[{"type":"security_exception","reason":"no permissions for [cluster:monitor/main] and User [name=quicklab, roles=[project_user], requestedTenant=null]"}],"type":"security_exception","reason":"no permissions for [cluster:monitor/main] and User [name=quicklab, roles=[project_user], requestedTenant=null]"},"status":403}
    

Environment

  • Red OpenShift Container Platform (OCP) 4.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