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 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, 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
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 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 |