Bug 1712423

Summary: Could not get elasticsearch metrics in prometheus server -- happen again.
Product: OpenShift Container Platform Reporter: Rich Megginson <rmeggins>
Component: LoggingAssignee: Jeff Cantrill <jcantril>
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.11.0CC: anli, aos-bugs, jcantril, philipp.dallig, pweil, qitang, rmeggins, wsun
Target Milestone: ---Keywords: Regression
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The prometheus role was not allowed to monitor ES indices Consequence: Prometheus was returned a 403 error Fix: Allow the prometheus role to monitor all ES indices Result: Prometheus can scrape index permissions
Story Points: ---
Clone Of: 1706478 Environment:
Last Closed: 2019-07-23 19:56:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1706478    
Bug Blocks:    

Comment 1 Jeff Cantrill 2019-06-21 16:36:32 UTC
3.11 cherrypick https://github.com/openshift/origin-aggregated-logging/pull/1672

Comment 3 Anping Li 2019-07-11 12:07:06 UTC
The metrics can be retrieved from logging-es-ops-prometheus logging-es-prometheus  using token prometheus-k8s 
openshift3/ose-logging-elasticsearch5:v3.11.128

Comment 5 errata-xmlrpc 2019-07-23 19:56:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:1753