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

Bug 1426139

Summary: [upgrade] Failed to grant view role to others after upgrade
Product: OpenShift Container Platform Reporter: Xingxing Xia <xxia>
Component: Cluster Version OperatorAssignee: Scott Dodson <sdodson>
Status: CLOSED DUPLICATE QA Contact: Anping Li <anli>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5.0CC: aos-bugs, jokerman, mmccomas
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-23 11:00:15 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 Xingxing Xia 2017-02-23 09:41:59 UTC
Description of problem:
Failed to grant view role to others after upgrade (3.4.1 to 3.5.0). Other roles such as "edit" have no this problem.

Version-Release number of selected component (if applicable):
before upgrade: openshift v3.4.1.7 
after upgrade: openshift v3.5.0.20

How reproducible:
Not sure

Steps to Reproduce:
1. After upgrade, run:
$ oc policy add-role-to-user view anyusername
2.
3.

Actual results:
1. Failed with msg [*1]:
Error from server (Forbidden): rolebinding "view" is forbidden: user "..." cannot grant extra privileges:
{Verbs:["create"], APIGroups:[""], Resources:["resourcequotausages"]}

Expected results:
1. Should succeed

Additional info:
[*1] The failure has nothing to do with whether current user and project are created before or after upgrade

Comment 3 Anping Li 2017-02-23 11:00:15 UTC
The error was caused by https://bugzilla.redhat.com/show_bug.cgi?id=1420636 which is a duplicated bug of Bug 1405479.  After we fix the issue with the workaround the in https://bugzilla.redhat.com/show_bug.cgi?id=1420636#c17. The error disappeared.

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