Bug 1731855

Summary: Add SearchGuard permissions for Jaeger to create index templates.
Product: OpenShift Container Platform Reporter: Pavol Loffay <ploffay>
Component: LoggingAssignee: Pavol Loffay <ploffay>
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: aos-bugs, eparis, rmeggins, vlaad
Target Milestone: ---   
Target Release: 4.1.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-28 19:54:49 UTC Type: Bug
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: 1732364    
Bug Blocks:    

Description Pavol Loffay 2019-07-22 08:32:34 UTC
Add SearchGuard permissions for Jaeger to create index templates. 

Jaeger switched from creating indices with supplied mapping to create an index mapping at application startup.

Jaeger jira: https://issues.jboss.org/browse/TRACING-574

Comment 2 Anping Li 2019-08-02 08:52:53 UTC
The fix is in v4.1.9-201907311355. 

jaeger-service-, jaeger-span- templates can be created automatically.

#es_util --query=_template |python -m json.tool |jq '.[].template' 
 ".operations.*" ".orphaned.*" "project.*" ".kibana*" ".orphaned*" ".operations*" "project*" "jaeger-service-" "jaeger-span-" "project.ovirt-metrics-*"

Comment 7 Anping Li 2019-08-16 05:51:47 UTC
Test blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1741753

Comment 8 Anping Li 2019-08-19 06:39:07 UTC
verified in 4.1.12

Comment 12 Anping Li 2019-08-23 05:27:23 UTC
Verified in ose-logging-elasticsearch5:v4.1.13-201908210601

Comment 14 errata-xmlrpc 2019-08-28 19:54:49 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:2547