Bug 1386409

Summary: Following the 3.2 to 3.3 EFK upgrade process in the docs fails
Product: OpenShift Container Platform Reporter: Eric Jones <erjones>
Component: LoggingAssignee: ewolinet
Status: CLOSED NOTABUG QA Contact: Xia Zhao <xiazhao>
Severity: low Docs Contact:
Priority: low    
Version: 3.3.0CC: aos-bugs, erjones
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-02-17 20:18:22 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:

Description Eric Jones 2016-10-18 20:56:15 UTC
Description of problem:
Following the documentation for [0] manually upgrading the EFK cluster does not work properly.

┌─[root@master1]─[~]
└──> oc project logging
Already on project "logging" on server "https://<CLUSTER>:8443".

┌─[root@master1]─[~]
└──> oc apply -n openshift -f \
>     /usr/share/openshift/examples/infrastructure-templates/enterprise/logging-deployer.yaml
template "logging-deployer-template" configured

┌─[root@master1]─[~]
└──> oc get po
NAME                          READY     STATUS    RESTARTS   AGE
logging-es-1yyc1omg-2-0kh8p   1/1       Running   0          5h
logging-fluentd-2-34not       1/1       Running   0          5h
logging-fluentd-2-g3axa       1/1       Running   0          5h
logging-fluentd-2-kvl1e       1/1       Running   0          5h
logging-kibana-2-17i7g        2/2       Running   0          5h
logging-kibana-2-hakck        2/2       Running   0          5h

┌─[root@master1]─[~]
└──>  oc process logging-deployer-account-template | oc apply -f -
error: template "logging-deployer-account-template" could not be found
error: no objects passed to apply

┌─[✗]─[root@master1]─[~]
└──> oadm policy add-cluster-role-to-user oauth-editor \
>        system:serviceaccount:logging:logging-deployer
Error from server: role "oauth-editor" not found

┌─[✗]─[root@master1]─[~]
└──> oc new-app logging-deployer-template -p MODE=upgrade
error: unexpected parameter name "MODE"


[0] https://docs.openshift.com/container-platform/3.3/install_config/upgrading/manual_upgrades.html#manual-upgrading-efk-logging-stack