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

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • 4.14.0
    • 4.13, 4.14
    • Monitoring
    • Moderate
    • None
    • MON Sprint 237, MON Sprint 241
    • 2
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      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.

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

              Created:
              Updated:
              Resolved: