Bug 1444816

Summary: cluster-admin/cluster-reader groups can't access .all and .operations.*
Product: OpenShift Container Platform Reporter: Ruben Romero Montes <rromerom>
Component: LoggingAssignee: Jeff Cantrill <jcantril>
Status: CLOSED DUPLICATE QA Contact: Xia Zhao <xiazhao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.1CC: aos-bugs, pportant, rmeggins
Target Milestone: ---   
Target Release: ---   
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: 2017-04-27 19:12:34 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:

Description Ruben Romero Montes 2017-04-24 11:31:36 UTC
Description of problem:
When a user belongs to a cluster-admin/cluster-reader group is not able to see the .all and .operations.* indices

Version-Release number of selected component (if applicable):
logging-elasticsearch-3.4.1-17
logging-kibana-3.4.1-6

How reproducible:
Always

Steps to Reproduce:
1. create a group
 $ oadm groups new myadmins
2. Add user to group
 $ oadm groups add-users myadmins bob
3. Grant cluster-admin/cluster-reader role to user
 $ oadm policy add-cluster-role-to-group cluster-admin myadmins
4. Open Kibana and go to Settings->Indices

Actual results:
I can't see the .all and .operations.* index patterns

Expected results:
All the projects and the .all and .operations.* index patterns should appear

Additional info:
Following the same steps but using `add-cluster-role-to-user` instead I have the expected results.
When I mention cluster-reader I consider the logging-elasticsearch configmap already contains the following parameter:
  openshift.operations.allow_cluster_reader: true

Comment 1 Rich Megginson 2017-04-27 19:12:34 UTC

*** This bug has been marked as a duplicate of bug 1446217 ***