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

Prometheus UI reports Error opening React index.html: open web/ui/static/react/index.html: no such file or directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Normal
    • 4.14.0
    • 4.13, 4.14
    • Monitoring
    • Moderate
    • MON Sprint 237, MON Sprint 241
    • 2
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:
      Same for OCP 4.14.

      In OCP 4.13 when trying to reach prometheus UI  via port-forward, e.g. `oc port-forward prometheus-k8s-0` the UI url($HOST:9090/graph) is returning `Error opening React index.html: open web/ui/static/react/index.html: no such file or directory`

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

      4.13.0-0.nightly-2023-01-24-061922

      How reproducible:

      100%

      Steps to Reproduce:

      1.  oc -n openshift-monitoring port-forward prometheus-k8s-0 9090:9090 --address='0.0.0.0' 
      
      2. curl http://localhost:9090/graph
      
      

      Actual results:

      Error opening React index.html: open web/ui/static/react/index.html: no such file or directory

      Expected results:

      Prometheus UI is loaded

      Additional info:

       The UI loads fine when following the same steps in 4.12.

      Attachments

        Issue Links

          Activity

            People

              jfajersk@redhat.com Jan Fajerski
              mcornea@redhat.com Marius Cornea
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: