Bug 1373878

Summary: Impersonation not working in Openshift
Product: OpenShift Container Platform Reporter: Jaspreet Kaur <jkaur>
Component: DocumentationAssignee: Michal Fojtik <mfojtik>
Status: CLOSED CURRENTRELEASE QA Contact: Vikram Goyal <vigoyal>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: medium    
Version: 3.2.0CC: aos-bugs, deads, jokerman, kalexand, mmccomas, pweil
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: 2018-05-18 19:18:03 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 Jaspreet Kaur 2016-09-07 11:07:42 UTC
Description of problem: 	

When trying to impersonate users using the "--as" flag, it complains about it is missing. We've seen in the documentation that should be available https://docs.openshift.com/enterprise/3.2/architecture/additional_concepts/authentication.html#authentication-impersonation 


Version-Release number of selected component (if applicable):
 oc version
oc v3.2.1.9-1-g2265530
kubernetes v1.2.0-36-g4a3f9c5



How reproducible:


Steps to Reproduce: 
1.  oc delete nodes --all --as=system:admin
Error: unknown flag: --as


  oadm policy add-cluster-role-to-user sudoer  chris
Error from server: role "sudoer" not found


Actual results: Impersonation not working


Expected results: As per the documentation this should be working.


Additional info:

Comment 1 David Eads 2016-09-07 12:39:39 UTC
@mfojtik Looks like the release notes got it in the correct tag, but the docs ended up early.

Comment 2 Michal Fojtik 2016-09-07 13:48:17 UTC
PR: https://github.com/openshift/openshift-docs/pull/2809

Comment 5 Kathryn Alexander 2018-05-18 19:18:03 UTC
This change is complete. The information is no longer visible in 3.2, but it is present in 3.3.