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

Metrics Targets page shows "Cannot read properties of undefined (reading 'scrapePool')" error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 4.12.z
    • 4.12.z
    • Observability UI
    • None
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      Previously, when opening a target link in a new tab, a "Cannot read properties of undefined (reading 'scrapePool')" error was displayed. This issue happened because of a missing object validation check. With this release, the object validation check is added so the new tab of the target detail displays correctly.
      Show
      Previously, when opening a target link in a new tab, a "Cannot read properties of undefined (reading 'scrapePool')" error was displayed. This issue happened because of a missing object validation check. With this release, the object validation check is added so the new tab of the target detail displays correctly.
    • Bug Fix
    • In Progress

      Description of problem:

      Opening Metrics Targets page in a new tab shows,
      -----------
      Oh no! Something went wrong.
      TypeError
      Description:
      Cannot read properties of undefined (reading 'scrapePool')
      -----------
      
      If you try to right click the endpoint URL in the 'Metrics target' page and 'open link in new tab'. You'll get the error. But it does work if i just left click the endpoint url.
      

      Version-Release number of selected component (if applicable):

      4.12.41
      4.12.55

      How reproducible:

          

      Steps to Reproduce:

          1. Open OpenShift Web Console
          2. Navigate to >> Observe >> Targets >> Metrics targets
          3. If you try to right click the endpoint URL in the 'Metrics target' page and 'open link in new tab'. You'll get the error. But it does work if i just left click the endpoint url.
           

      Actual results:

          

      Expected results:

          It should not show any trackbacks

      Additional info:

          TypeError
      Description:
      Cannot read properties of undefined (reading 'scrapePool')Component trace:
      at https://console-openshift-console.apps.cluster412.example.com/static/main-chunk-2c645059667122c22290.min.js:1:1455099
          at n (https://console-openshift-console.apps.cluster412.example.com/static/vendors~main-chunk-d9b6f1e22ce02c7b5d14.min.js:21:60647)
          at t (https://console-openshift-console.apps.cluster412.example.com/static/vendors~main-chunk-d9b6f1e22ce02c7b5d14.min.js:21:58042)
          at t (https://console-openshift-console.apps.cluster412.example.com/static/vendors~main-chunk-d9b6f1e22ce02c7b5d14.min.js:21:60087)
          at q (https://console-openshift-console.apps.cluster412.example.com/static/main-chunk-2c645059667122c22290.min.js:1:1460635)
          at t (https://console-openshift-console.apps.cluster412.example.com/static/vendors~main-chunk-d9b6f1e22ce02c7b5d14.min.js:21:58042)
          at t (https://console-openshift-console.apps.cluster412.example.com/static/vendors~main-chunk-d9b6f1e22ce02c7b5d14.min.js:21:60087)
          at Ut
          at s (https://console-openshift-console.apps.cluster412.example.com/static/main-chunk-2c645059667122c22290.min.js:1:233449)
          at t (https://console-openshift-console.apps.cluster412.example.com/static/vendors~main-chunk-d9b6f1e22ce02c7b5d14.min.js:21:58042)
          at T

            gbernal@redhat.com Gabriel Bernal
            rhn-support-dgupte Dhananjay Gupte
            Junqi Zhao Junqi Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: