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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 4.21.0
    • 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
    • In Progress
    • Bug Fix
    • Hide
      *Cause*: Observe > Metric page was using the cluster-wide metrics API even when the user didn't have cluster-wide metrics API permissions.
      *Consequence*: The query input showed an error and the autofill for the query input did not work for users without cluster-wide metrics API access.
      *Fix*: Use the namespace-tenancy metrics API for users without cluster-wide metrics API permissions
      *Result*: There is no error shown and autofill is available for the metrics within the namespace selected for a user without cluster-wide metrics API permissions.
      Show
      *Cause*: Observe > Metric page was using the cluster-wide metrics API even when the user didn't have cluster-wide metrics API permissions. *Consequence*: The query input showed an error and the autofill for the query input did not work for users without cluster-wide metrics API access. *Fix*: Use the namespace-tenancy metrics API for users without cluster-wide metrics API permissions *Result*: There is no error shown and autofill is available for the metrics within the namespace selected for a user without cluster-wide metrics API permissions.
    • None
    • None
    • None
    • None

      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: