Project

General

Profile

Actions

Bug #38584

closed

WebUI broken in nightly: "__FOREMAN_VENDOR__REACT__ is not defined"

Added by Lukáš Hellebrandt 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Description of problem:
On a clean Foreman + katello nightly, the Katello pages are broken - the navigation renders but the content itself is blank. For example, Content -> Subscriptions.

Javascript console shows many errors like this:

Uncaught (in promise) TypeError: can't access property "primitiveProps", i.CommonProps is undefined
    node_modules vendor-6b653f8d4e58b8a36392.js:2
    A vendor-6b653f8d4e58b8a36392.js:2
    I vendor-6b653f8d4e58b8a36392.js:2
    e foreman_remote_execution_remoteEntry.js:1
    w foreman_remote_execution_remoteEntry.js:1
    js 566-997ca14ae6e3cd521564.js:2
    w foreman_remote_execution_remoteEntry.js:1
    js 566-997ca14ae6e3cd521564.js:2
    w foreman_remote_execution_remoteEntry.js:1
    js 566-997ca14ae6e3cd521564.js:2
    w foreman_remote_execution_remoteEntry.js:1
    js 566-997ca14ae6e3cd521564.js:2
    w foreman_remote_execution_remoteEntry.js:1
    global_index foreman_remote_execution_remoteEntry.js:1
    node_modules vendor-6b653f8d4e58b8a36392.js:2
    i vendor-6b653f8d4e58b8a36392.js:2
    i vendor-6b653f8d4e58b8a36392.js:2
    l vendor-6b653f8d4e58b8a36392.js:2
    promise callback*s vendor-6b653f8d4e58b8a36392.js:2
    l vendor-6b653f8d4e58b8a36392.js:2
    promise callback*s vendor-6b653f8d4e58b8a36392.js:2
    m vendor-6b653f8d4e58b8a36392.js:2
    m vendor-6b653f8d4e58b8a36392.js:2
    node_modules vendor-6b653f8d4e58b8a36392.js:2
    e foreman_tools.js:149
    o foreman_tools.js:109
    o foreman_tools.js:2
    o foreman_tools.js:2
    j foreman_tools.js:2
    s foreman_tools.js:2
    t foreman_tools.js:2
    t foreman_tools.js:2
    loadPluginModule foreman_tools.js:143
    <anonymous> subscriptions:44

Uncaught (in promise) ReferenceError: __FOREMAN_VENDOR__REACT__ is not defined
    react katello_remoteEntry.js:1
    a katello_remoteEntry.js:1
    js 566-0c1286b2ff933363b8a0.js:2
    a katello_remoteEntry.js:1
    global_index katello_remoteEntry.js:1
    node_modules vendor-6b653f8d4e58b8a36392.js:2
    i vendor-6b653f8d4e58b8a36392.js:2
    i vendor-6b653f8d4e58b8a36392.js:2
    l vendor-6b653f8d4e58b8a36392.js:2
    promise callback*s vendor-6b653f8d4e58b8a36392.js:2
    l vendor-6b653f8d4e58b8a36392.js:2
    promise callback*s vendor-6b653f8d4e58b8a36392.js:2
    m vendor-6b653f8d4e58b8a36392.js:2
    m vendor-6b653f8d4e58b8a36392.js:2
    node_modules vendor-6b653f8d4e58b8a36392.js:2
    e foreman_tools.js:149
    o foreman_tools.js:109
    o foreman_tools.js:2
    o foreman_tools.js:2
    j foreman_tools.js:2
    s foreman_tools.js:2
    t foreman_tools.js:2
    t foreman_tools.js:2
    loadPluginModule foreman_tools.js:143
    <anonymous> subscriptions:48

How reproducible:
Deterministic

Is this issue a regression from an earlier version:
Yes

Steps to Reproduce:
1. Get Foreman + Katello nightly (as of 2025-07-16)
2. Go to WebUI

Actual behavior:
The Dashboard doesn't load, going to Content -> Subscriptions gets you a blank page, many other pages behave like that

Expected behavior:
The pages should, well... have content

Business Impact / Additional info:

Regression, blocker, test blocker, release blocker.
This may have something to do with PF5 migration.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #38581: Update pf charts to Patternfly 5 ClosedMaria AgaphontzevActions
Actions #1

Updated by Maria Agaphontzev 8 months ago

  • Related to Bug #38581: Update pf charts to Patternfly 5 added
Actions #2

Updated by Maria Agaphontzev 8 months ago

Hopefully will be resolved by https://projects.theforeman.org/issues/38581

Actions #3

Updated by Ian Ballou 8 months ago

Waiting to triage until we have more information about the relation between this issue and https://projects.theforeman.org/issues/38581.

Actions #4

Updated by Lukáš Hellebrandt 8 months ago

https://github.com/theforeman/foreman/pull/10612 has been merged yesterday. Today, I created a new Katello-nightly machine and the issue seems to be fixed.

# rpm -qa | grep foreman
foreman-release-3.16.0-0.1.develop.el9.noarch
rubygem-foreman_maintain-1.12.1-1.el9.noarch
foreman-installer-3.16.0-0.1.develop.20250717031201git3b14d32.el9.noarch
foreman-installer-katello-3.16.0-0.1.develop.20250717031201git3b14d32.el9.noarch
foreman-selinux-3.16.0-0.1.develop.20250716113930git6f2746c.el9.noarch
foreman-3.16.0-0.11.develop.20250717191105gitb6097db.el9.noarch
foreman-postgresql-3.16.0-0.11.develop.20250717191105gitb6097db.el9.noarch
foreman-service-3.16.0-0.11.develop.20250717191105gitb6097db.el9.noarch
foreman-dynflow-sidekiq-3.16.0-0.11.develop.20250717191105gitb6097db.el9.noarch
foreman-redis-3.16.0-0.11.develop.20250717191105gitb6097db.el9.noarch
rubygem-foreman-tasks-11.0.1-2.fm3_16.el9.noarch
rubygem-foreman_remote_execution-16.0.4-2.fm3_16.el9.noarch
foreman-proxy-3.16.0-0.1.develop.20250717211655git9877f80.el9.noarch
rubygem-hammer_cli_foreman-3.16.0-0.2.pre.develop.20250716234157git2a75fd6.el9.noarch
foreman-cli-3.16.0-0.11.develop.20250717191105gitb6097db.el9.noarch
rubygem-hammer_cli_foreman_tasks-0.0.22-1.fm3_15.el9.noarch
rubygem-hammer_cli_foreman_remote_execution-0.3.2-1.fm3_15.el9.noarch
Actions #5

Updated by Lucy Fu 7 months ago

  • Status changed from New to Closed

nightly becomes green.

Actions #6

Updated by Ian Ballou 7 months ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF