Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-69

app fails to load when built as containerized

    • False
    • True
    • HAC Console Sprint 244, OCM UI Sprint 244b, OCM UI Sprint 245, OCM UI Sprint 246, OCM UI Sprint 247, OCM UI Core Sprint 248, OCM Core Sprint 249, OCM Core Sprint 250, OCM Core Sprint 251, OCM Core Sprint 252

      when OCM UI is loaded from a containerized-build (that was deployed to eph' cluster), navigating to /openshift fails with errors about missing assets.

      steps to reproduce

      follow the recipe in this MR to deploy a test image onto ephemeral cluster, and test the resulted app.

      expected result

      all app assets should load correctly.

      actual result

      some assets, e.g. fed-mods.json, are not found, resutling in 404 errors in the browser.


      error screenshot

      error message / stack trace
      Unable to load manifest files at https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/openshift/fed-mods.json?ts=1695061451454! 404: Not Found
      
      m@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/5370.d4a1ee0af082d3f2.js:1:11713
      t@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/5370.d4a1ee0af082d3f2.js:1:13273
      div
      72837/y<@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/2788.55269367d7ddf112.js:1:82477
      L@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/9655.20bf4e1f3ad716a8.js:2:61881
      ne@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/9655.20bf4e1f3ad716a8.js:2:67894
      m@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/2788.55269367d7ddf112.js:1:233495
      div
      main
      div
      w@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/6778.3e521a2286462487.js:1:7129
      D@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/2788.55269367d7ddf112.js:1:290827
      49553/C<@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/2788.55269367d7ddf112.js:1:292323
      div
      M@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/2788.55269367d7ddf112.js:1:293112
      L@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/9655.20bf4e1f3ad716a8.js:2:61881
      ne@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/9655.20bf4e1f3ad716a8.js:2:67894
      K@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/9127.f9eddf98e9c20672.js:1:13497
      l@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/5370.d4a1ee0af082d3f2.js:1:14963
      60458/B<@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/2788.55269367d7ddf112.js:1:227004
      div
      o@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/1393.fd1f8a49d1916d7f.js:2:86045
      div
      div
      o@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/1393.fd1f8a49d1916d7f.js:2:86768
      c@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/1393.fd1f8a49d1916d7f.js:2:85573
      div
      c@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/1393.fd1f8a49d1916d7f.js:2:84065
      Jn@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/1393.fd1f8a49d1916d7f.js:2:66052
      Kn@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/1393.fd1f8a49d1916d7f.js:2:65561
      div
      o@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/1393.fd1f8a49d1916d7f.js:2:86045
      div
      div
      o@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/1393.fd1f8a49d1916d7f.js:2:86768
      c@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/1393.fd1f8a49d1916d7f.js:2:85573
      div
      c@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/1393.fd1f8a49d1916d7f.js:2:84065
      Gn@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/1393.fd1f8a49d1916d7f.js:2:61570
      Un@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/1393.fd1f8a49d1916d7f.js:2:60478
      c@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/7773.50686d6eed8ec1f8.js:2:670
      u@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/913.ba03a4ca4ac70864.js:1:1041
      v@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/2788.55269367d7ddf112.js:1:97797
      C@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/2788.55269367d7ddf112.js:1:5616
      re@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/9655.20bf4e1f3ad716a8.js:2:67377
      C@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/9655.20bf4e1f3ad716a8.js:2:49164
      18730/A<@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/2788.55269367d7ddf112.js:1:220680
      _@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/2788.55269367d7ddf112.js:1:29440
      f@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/2788.55269367d7ddf112.js:1:90776
      s@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/533.e9699c24021a5f39.js:2:521
      t@https://env-ephemeral-pcd5tq-5vu5i0ka.apps.c-rh-c-eph.8p0c.p1.openshiftapps.com/apps/chrome/js/chrome-root.c5138e9a9162e256.js:2:298979
      

              emalka@redhat.com Eliran Malka
              emalka@redhat.com Eliran Malka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: