Bug 1322249 - The pre-deployment part of logging doc needs to be updated
Summary: The pre-deployment part of logging doc needs to be updated
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Kathryn Alexander
QA Contact: Junqi Zhao
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-30 06:56 UTC by Xia Zhao
Modified: 2018-04-27 03:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-27 03:27:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xia Zhao 2016-03-30 06:56:03 UTC
Problem description: 
To avoid https://bugzilla.redhat.com/show_bug.cgi?id=1321533 we now need the deployer to have the cluster-admin role:
oadm policy add-cluster-role-to-user cluster-admin system:serviceaccount:logging:logging-deployer

Version-Release number of selected component (if applicable):
https://docs.openshift.org/latest/install_config/aggregate_logging.html#pre-deployment-configuration

How reproducible:
Always

Steps to Reproduce:
Visit https://docs.openshift.org/latest/install_config/aggregate_logging.html#pre-deployment-configuration

Actual Result:
oadm policy add-cluster-role-to-user edit system:serviceaccount:logging:logging-deployer

Expected Result:
oadm policy add-cluster-role-to-user cluster-admin system:serviceaccount:logging:logging-deployer

Additional info:
Please refer to https://bugzilla.redhat.com/show_bug.cgi?id=1321533 for more detail

Comment 2 Kathryn Alexander 2018-04-24 14:43:25 UTC
It looks like this command is wrong in 3.2 to 3.4. 

I have a PR here to correct the command: https://github.com/openshift/openshift-docs/pull/8869

@Anping, will you please confirm?

Comment 3 Anping Li 2018-04-27 02:19:05 UTC
@juzhao,  Must we add-cluster-role-to-user cluster-admin ystem:serviceaccount:logging:logging-deployer?

Comment 4 Junqi Zhao 2018-04-27 03:27:20 UTC
It is no need to change the doc now, so no need to merge the PR, it could be closed as NOTABUG

This doc issue was filed at 2016-03-30, the descripton was
"oadm policy add-cluster-role-to-user edit system:serviceaccount:logging:logging-deployer", the role was "edit"

later we changed to role to "oauth-editor", it does not block the installation

"oadm policy add-cluster-role-to-user oauth-editor system:serviceaccount:logging:logging-deployer", the role was "edit"

Comment 5 Junqi Zhao 2018-04-27 03:29:02 UTC
(In reply to Junqi Zhao from comment #4)
typo, change 
> "oadm policy add-cluster-role-to-user oauth-editor
> system:serviceaccount:logging:logging-deployer", the role was "edit"

to

"oadm policy add-cluster-role-to-user oauth-editor
> system:serviceaccount:logging:logging-deployer", the role was "oauth-editor"


Note You need to log in before you can comment on or make changes to this bug.