Bug 1837578
| Summary: | unable to load topology if user cannot list vms | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jeff Phillips <jephilli> |
| Component: | Dev Console | Assignee: | Jeff Phillips <jephilli> |
| Status: | CLOSED ERRATA | QA Contact: | Gajanan More <gamore> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.5 | CC: | aos-bugs, nmukherj |
| Target Milestone: | --- | ||
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
Version: 4.5.0-0.ci-2020-05-18-204038
Cluster ID: 32d23eb1-5a4d-4527-b67b-030f4707da8e
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
|
|
| Last Closed: | 2020-07-13 17:40:02 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: | |||
I have validated the bugzilla on Build: 4.5.0-0.nightly-2020-05-25-232952 Browser: Google Chrome Version 81.0.4044.129 Marking this as verified 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:2409 |
Description of problem: Users without proper access to list virtual machines get an error when navigating to topology. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Create a user with only access to list namespaces rules: - verbs: - list - get - watch apiGroups: - '' - project.openshift.io resources: - projects - verbs: - list - get - watch apiGroups: - '' resources: - namespaces 2. Bind this role to a user. Ensure there are no other roles bound (especially not the view role) 3. Login to that user and navigate to topology in any namespace. Actual results: Error message stating the user cannot list resource "virtualmachines" Expected results: Topology to load with no error. If some data cannot be fetched, it shouldn't display an error but those resources are not depicted in the topology view. Additional info: