Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1608984

Summary: [RFE] support shared_non_ops as Kibana index mode
Product: OpenShift Container Platform Reporter: Borja Aranda <farandac>
Component: LoggingAssignee: Borja Aranda <farandac>
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.9.0CC: aos-bugs, jcantril, rmeggins
Target Milestone: ---   
Target Release: 3.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Allow users in a non-ops EFK cluster to share the default index in Kibana, in order to share queries, dashboards, etc.
Story Points: ---
Clone Of:
: 1609811 1609813 (view as bug list) Environment:
Last Closed: 2018-10-11 07:22:24 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:    
Bug Blocks: 1609811, 1609813    

Description Borja Aranda 2018-07-26 16:10:59 UTC
Description of problem:
openshift-ansible installer only supports shared_ops and unique  as kibana index method. [1][2]

From 2.4.4 and higher, the openshift-elasticsearch-plugins allows shared_non_ops as index mode. [3]

This RFE pretends to bring this shared_non_ops index mode to the openshift-ansible EFK install playbook.

[1] https://github.com/openshift/openshift-ansible/blob/58cfa4101c721156ab013ee1b6ae027d3be9682d/roles/openshift_logging_elasticsearch/vars/main.yml
[2] https://github.com/openshift/openshift-ansible/blob/3b5c95809050480d9fca5f5f98f95e84c4d28882/roles/openshift_logging_elasticsearch/tasks/main.yaml
[3] https://github.com/fabric8io/openshift-elasticsearch-plugin/blob/master/src/main/java/io/fabric8/elasticsearch/plugin/KibanaIndexMode.java

This seems to be achievable, at least in 3.9, (I haven't checked any prior version)
In 3.9, using the image logging-elasticsearch:v3.9.33, the included plugin is:
/usr/share/java/openshift-elasticsearch-plugin/lib/openshift-elasticsearch-plugin-2.4.4.22--redhat-1.jar

Version-Release number of selected component (if applicable):
3.9

Comment 2 Anping Li 2018-09-05 04:41:03 UTC
The kibana can be shared between non-ops user. so move to verified.

Note that: the dashboard can be modified by anyone in shared_non_ops.  be cautious when enable this future.

Comment 4 errata-xmlrpc 2018-10-11 07:22:24 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-2018:2652