Bug 1884613
Summary: | Create Instance of Prometheus from operator returns blank page for non cluster-admin users | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | jooho lee <jlee> | |
Component: | Management Console | Assignee: | Jon Jackson <jonjacks> | |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.5 | CC: | aos-bugs, jokerman, jonjacks, jvilalop, spadgett, yanpzhan | |
Target Milestone: | --- | |||
Target Release: | 4.7.0 | |||
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: | ||||
: | 1885228 (view as bug list) | Environment: | ||
Last Closed: | 2021-02-24 15:22:14 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: | 1885239 |
Description
jooho lee
2020-10-02 13:10:50 UTC
This is unrelated to https://bugzilla.redhat.com/show_bug.cgi?id=1883679. This is caused by unresolved $ref properties in the Prometheus swagger definition. Fix pending. Checked on ocp 4.7 cluster with payload 4.7.0-0.ci-2020-10-13-231404 Normal user created a project, then install Prometheus operator in project by cluster admin. Normal user tried to create an instance of prometheus CRD's in the web console (prometheus, servicemonitor, etc.), creation succeeded, no blank page is shown. The bug is fixed. Is there a bugzilla ticket to get backport of this fix for OCP 4.5 and 4.6? Should I create a new one? (In reply to jooho lee from comment #6) > Is there a bugzilla ticket to get backport of this fix for OCP 4.5 and 4.6? > > Should I create a new one? We already have backport bugs created and PR's open for them. (In reply to Jon Jackson from comment #7) > (In reply to jooho lee from comment #6) > > Is there a bugzilla ticket to get backport of this fix for OCP 4.5 and 4.6? > > > > Should I create a new one? > > We already have backport bugs created and PR's open for them. Could you share the bugzilla number? no worries. I found. 4.5.x - 1885228 4.6.x - 1885239 thx *** Bug 1901204 has been marked as a duplicate of this bug. *** 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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/RHSA-2020:5633 |