Bug 1790528
Summary: | Normal user cannot see and use installed operators [openshift-4.4] | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yuanlin Xu <yuaxu> | |
Component: | Management Console | Assignee: | bpeterse | |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.4 | CC: | aos-bugs, bpeterse, jokerman, spadgett, yapei | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | 4.4.0 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1790925 1791101 (view as bug list) | Environment: | ||
Last Closed: | 2020-05-04 11:24:06 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1790925, 1791101 |
Description
Yuanlin Xu
2020-01-13 14:46:16 UTC
We got help from Yadan Pei and figured out a solution of this issue. On the latest OCP 4.3 and normal user can see installed operators and create custom resources such as SMCP/SMMR by the following steps: Login as normal user. Click on Administrator -> click on Developer -> click +Add -> From Catalog -> Installed Operators here you can see custom resources your operator had defined, user can create instance of SMCP/SMMR So this is an OCP 4.3 UI change . We can close this issue now. Lets reopen, you were correct to begin with. This is a bug, but you happened to find a workaround. We still expect the admin side of the console to be usable by non-admin devs, so long as RBAC allows visibility of the resource/page. Setting to 4.4 & cloning back to 4.3.z. Steps to Reproduce: 1. Create a normal user e.g. qe1 , without cluster-admin privilege (step above in the end of description) 2. Log in to OCP 4.3 cluster as a user with cluster-admin permission 3. Install an operator such as "Red Hat OpenShift Service Mesh" from OperatorHub 4. Logout (This step in description need to be updated) 5. Log in to OCP 4.3 cluster console as a normal user --> 5. Log in to OCP 4.3 cluster console as a normal user and create a project. 6. Navigate to left side "Operators --> Installed Operators" Latest accepted build 4.4.0-0.nightly-2020-01-15-181917 don't include this change yet, other builds are in waiting queue. Will check on newer build Hi Ben, I didn't see a PR attached for this bug, can you please add? Then I can track if the fix is merged or not Moving back to assigned to include https://github.com/openshift/console/pull/3984 The two PRs are https://github.com/openshift/console/pull/3940 and follow on fix https://github.com/openshift/console/pull/3984 normal user without projects login to console, and visit User Management -> Role Bindings page. It shows No Role Bindings Found and getting started guide. No Create RoleBinding button Verified on 4.4.0-0.nightly-2020-01-18-223038 Sorry giving wrong comments. please just ignore comment 11 1. 2. normal user without any projects login to console, and visit Operators -> Installed Operators, it shows correct message indicating no operators found 3. normal user create a project, admin user subscribe one operator to this namespace, wait until operator is successfully installed $ oc get csv -n ui1-1 NAME DISPLAY VERSION REPLACES PHASE etcdoperator.v0.9.4 etcd 0.9.4 Succeeded 4. then normal user view custom resources on Operators -> Installed Operators page, we can see etcd Operator is listed on the page, normal user can create etcd Cluster, etcd Backup, etcd Restore successfully Verified on 4.4.0-0.nightly-2020-01-18-223038 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0581 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |