Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-63440

Developer in Developer > Observe having a Forbidden error accessing to the metrics

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 4.20.z
    • 4.17.z, 4.18.z, 4.19.z, 4.20.z, 4.21.0
    • Observability UI
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 1
    • Important
    • None
    • None
    • None
    • Sprint 278, Sprint 279
    • 2
    • In Progress
    • Bug Fix
    • Hide
      Before this update, the *Observe -> Metric* page used the cluster-wide metrics API even when you did not have cluster-wide metrics API permissions. As a consequence, the query input showed an error and the autofill for the query input did not work without cluster-wide metrics API access. With this release, the `namespace-tenancy` metrics API is used if you do not have cluster-wide metrics API permissions, As a result, an error does not occur and autofill is available for the metrics within the selected namespace. (link:https://issues.redhat.com/browse/OCPBUGS-63440[OCPBUGS-63440])
      Show
      Before this update, the *Observe -> Metric* page used the cluster-wide metrics API even when you did not have cluster-wide metrics API permissions. As a consequence, the query input showed an error and the autofill for the query input did not work without cluster-wide metrics API access. With this release, the `namespace-tenancy` metrics API is used if you do not have cluster-wide metrics API permissions, As a result, an error does not occur and autofill is available for the metrics within the selected namespace. (link: https://issues.redhat.com/browse/OCPBUGS-63440 [ OCPBUGS-63440 ])
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-63429. The following is the description of the original issue:

      Developers when using the "Developer" receiving an "Access restricted" when accessing to "Observe > Metrics"

      Note: The user is the admin of the namespace "testalerts":

       

              gbernal@redhat.com Gabriel Bernal
              rhn-support-ocasalsa Oscar Casal Sanchez
              None
              None
              Evelyn Murasaki Evelyn Murasaki
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: