Bug 1881211
Summary: | Unable to create silences as a user with `monitoring-edit` privileges | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Paul Needle <pneedle> |
Component: | Dev Console | Assignee: | Vikram Raj <viraj> |
Status: | CLOSED ERRATA | QA Contact: | Gajanan More <gamore> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.6 | CC: | alegrand, anpicker, aos-bugs, erooth, kakkoyun, lcosic, mloibl, nmukherj, pkrupa, spadgett, spasquie, surbania |
Target Milestone: | --- | ||
Target Release: | 4.6.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 16:43:35 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: |
Description
Paul Needle
2020-09-21 19:59:37 UTC
I've managed to reproduce the issue and IIUC the problem is that the dev console uses the "admin" Alertmanager endpoint (https://alertmanager-main.openshift-monitoring.svc:9094) while it should use the tenancy-aware Alertmanager endpoint (https://alertmanager-main.openshift-monitoring.svc:9092). The former endpoint is protected by oauth-proxy and requires permissions to get any namespace (e.g. cluster adminà while the latter is protected by kube-rbac-proxy, requires permissions to manage prometheusrules in the given namespace and expects a "namespace" query parameter. Transferring to the Dev Console team. temporarily reassigning to me to help in the console backend proxy code. Reassigning to Vikram to take it from here for the frontend fix. Moving back to ASSIGNED because the frontend change for this fix is not yet implemented. Verified on: Build: 4.6.0-0.nightly-2020-10-03-051134 Browser: Google Chrome Version 85.0.4183.102 Marking this as done 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 GA Images), 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:4196 |