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

Bug 1342153

Summary: User cannot use oc policy to give privilleges to the project
Product: OpenShift Container Platform Reporter: Siamak Sadeghianfar <ssadeghi>
Component: apiserver-authAssignee: Jordan Liggitt <jliggitt>
Status: CLOSED DUPLICATE QA Contact: weiwei jiang <wjiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aos-bugs, jialiu, jokerman, lmeyer, mmccomas, wsun
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: 2016-06-02 14:58:43 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 Siamak Sadeghianfar 2016-06-02 14:31:58 UTC
When user tries to give edit access to the default service account in the project, operation fails with "You must be logged in to the server".

$ oc get project
NAME      DISPLAY NAME   STATUS
demo-ci   Demo CI        Active
 
$ oc project
Using project "demo-ci" on server "https://api.dev-preview-int.openshift.com:443".

$ oc policy add-role-to-user edit -z default -n demo-ci
error: You must be logged in to the server (attempt to grant extra privileges...

Full log is available here: http://pastebin.test.redhat.com/379928

Comment 1 Jordan Liggitt 2016-06-02 14:58:43 UTC

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