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

Bug 1885239

Summary: Create Instance of Prometheus from operator returns blank page for non cluster-admin users
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Management ConsoleAssignee: Jon Jackson <jonjacks>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, jlee, jokerman, jonjacks, pweil, spadgett, yanpzhan, yapei
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Prometheus swagger definition contained a $ref property which could not be resolved. Consequence: A runtime error occurred on the Prometheus operand creation form Fix: Add 'definitions' property to schema returned by the 'definitionFor' helper function so that '$ref' can be resolved Result: Prometheus schema '$ref' resolves and no runtime error occurs
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-16 14:37:42 UTC Type: ---
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: 1884613    
Bug Blocks: 1885228    

Comment 1 Jon Jackson 2020-10-23 15:09:54 UTC
PR pending

Comment 5 Yadan Pei 2020-11-09 02:48:08 UTC
1. cluster admin user subscribe Prometheus Operator to user namespace
2. project admin user logins console and create Prometheus instances such as Prometheus, Prometheus Rule, Service Monitor, all instances Prometheus operator provided can be created successfully using normal user


Verified on 4.6.0-0.nightly-2020-11-07-035509

Comment 8 errata-xmlrpc 2020-11-16 14:37:42 UTC
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 (OpenShift Container Platform 4.6.4 bug fix update), 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:4987