Bug 1885239 - Create Instance of Prometheus from operator returns blank page for non cluster-admin users
Summary: Create Instance of Prometheus from operator returns blank page for non cluste...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.6.z
Assignee: Jon Jackson
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On: 1884613
Blocks: 1885228
TreeView+ depends on / blocked
 
Reported: 2020-10-05 13:40 UTC by OpenShift BugZilla Robot
Modified: 2021-07-27 07:18 UTC (History)
8 users (show)

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
Clone Of:
Environment:
Last Closed: 2020-11-16 14:37:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6834 0 None closed [release-4.6] Bug 1885239: Fix runtime error for basic users creating Prometheus instance 2020-11-30 17:31:22 UTC
Red Hat Product Errata RHBA-2020:4987 0 None None None 2020-11-16 14:37:58 UTC

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


Note You need to log in before you can comment on or make changes to this bug.