Bug 2163538

Summary: Pages Blank
Product: Red Hat Satellite Reporter: Ian Ballou <iballou>
Component: Content ViewsAssignee: Jeremy Lenz <jlenz>
Status: CLOSED ERRATA QA Contact: Sam Bible <sbible>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: chiggins, cylopez, juwatts, osousa, satellite6-bugs
Target Milestone: 6.12.3Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.5.0.27-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-04 15:20:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Ballou 2023-01-23 21:40:20 UTC
I just installed Foreman 3.3 with Katello 4.5 in an air-gap environment.
And in the pages below, I have a blank screen with some console output errors (see screenshots below).

Affected pages:
- Products
- Content Credentials
- Sync Plans
- Lifecycle Environments
- Content View                                                   
- Activation Keys
- Deb Packages
- Container Image Tags 
- Files
- Packages
- Errata
- Content Hosts
- Host Collections

Could you help? Thank you

Comment 1 Ian Ballou 2023-01-23 21:40:24 UTC
Created from redmine issue https://projects.theforeman.org/issues/35168

Comment 2 Ian Ballou 2023-01-23 21:40:25 UTC
Upstream bug assigned to jlenz

Comment 3 Ian Ballou 2023-01-23 21:42:35 UTC
This issue made it into Katello 4.5.1 but not Satellite. Proposing we add it to the next 6.12 z-stream.

The impact is somewhat severe -- some pages in different languages will show up as completely blank due to a JS error.

Comment 4 Ian Ballou 2023-01-23 21:43:22 UTC
The note in the description is from the upstream community member who originally posted the redmine issue.

Comment 5 Brad Buckingham 2023-01-26 15:31:03 UTC
Does this also impact 6.13?  Thanks!

Comment 6 Ian Ballou 2023-01-26 17:02:36 UTC
Brad, it only affects 6.12 since the fix made it into 6.13.

Comment 9 Sam Bible 2023-03-29 00:38:42 UTC
Failed QA on 6.13.2 - Snap 3

Steps to Test:
1. Change the language on the user to 'fr'
2. Check the following set of pages
   Affected pages:
   - Products
   - Content Credentials
   - Sync Plans
   - Lifecycle Environments
   - Content View                                                   
   - Activation Keys
   - Deb Packages
   - Container Image Tags 
   - Files
   - Packages
   - Errata
   - Content Hosts
   - Host Collections

Expected Results:
No issues with any of the pages

Actual Results:
All pages are fine, except for Content Views - this page is blank, screenshot attached. There are also console errors, listed below:


DevTools failed to load source map: Could not load content for https://ip-10-0-167-32.rhos-01.prod.psi.rdu2.redhat.com/webpack/katello/katello-b650e4f6d7221bce895d.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ip-10-0-167-32.rhos-01.prod.psi.rdu2.redhat.com/webpack/foreman_theme_satellite/foreman_theme_satellite-34956b2e932ac0477702.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
react-dom.production.min.js:209 Error: initialSortColumnName 'Name' must also be defined in columnsToSortParams
    at t.useTableSort (katello-b650e4f6d7221bce895d.js:1:92580)
    at N (katello-b650e4f6d7221bce895d.js:1:805093)
    at Ka (react-dom.production.min.js:153:146)
    at hl (react-dom.production.min.js:261:496)
    at sc (react-dom.production.min.js:246:265)
    at lc (react-dom.production.min.js:246:194)
    at Jl (react-dom.production.min.js:239:172)
    at react-dom.production.min.js:123:115
    at t.unstable_runWithPriority (scheduler.production.min.js:19:467)
    at Hr (react-dom.production.min.js:122:325)
el @ react-dom.production.min.js:209
n.callback @ react-dom.production.min.js:226
pa @ react-dom.production.min.js:131
al @ react-dom.production.min.js:212
fc @ react-dom.production.min.js:255
t.unstable_runWithPriority @ scheduler.production.min.js:19
Hr @ react-dom.production.min.js:122
pc @ react-dom.production.min.js:248
Jl @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:19
Hr @ react-dom.production.min.js:122
Gr @ react-dom.production.min.js:123
Ur @ react-dom.production.min.js:122
Kl @ react-dom.production.min.js:230
enqueueSetState @ react-dom.production.min.js:132
y.setState @ react.production.min.js:12
(anonymous) @ i18nProviderWrapperFactory.js:19
Promise.then (async)
m @ i18nProviderWrapperFactory.js:18
va @ react-dom.production.min.js:134
$i @ react-dom.production.min.js:176
hl @ react-dom.production.min.js:263
sc @ react-dom.production.min.js:246
lc @ react-dom.production.min.js:246
Jl @ react-dom.production.min.js:239
Kl @ react-dom.production.min.js:230
Ac @ react-dom.production.min.js:281
(anonymous) @ react-dom.production.min.js:284
tc @ react-dom.production.min.js:240
Wc @ react-dom.production.min.js:284
t.render @ react-dom.production.min.js:290
h @ MountingService.js:22
value @ MountingService.js:86
value @ MountingService.js:69
katello-b650e4f6d7221bce895d.js:1 Uncaught (in promise) Error: initialSortColumnName 'Name' must also be defined in columnsToSortParams
    at t.useTableSort (katello-b650e4f6d7221bce895d.js:1:92580)
    at N (katello-b650e4f6d7221bce895d.js:1:805093)
    at Ka (react-dom.production.min.js:153:146)
    at hl (react-dom.production.min.js:261:496)
    at sc (react-dom.production.min.js:246:265)
    at lc (react-dom.production.min.js:246:194)
    at Jl (react-dom.production.min.js:239:172)
    at react-dom.production.min.js:123:115
    at t.unstable_runWithPriority (scheduler.production.min.js:19:467)
    at Hr (react-dom.production.min.js:122:325)
t.useTableSort @ katello-b650e4f6d7221bce895d.js:1
N @ katello-b650e4f6d7221bce895d.js:1
Ka @ react-dom.production.min.js:153
hl @ react-dom.production.min.js:261
sc @ react-dom.production.min.js:246
lc @ react-dom.production.min.js:246
Jl @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:19
Hr @ react-dom.production.min.js:122
Gr @ react-dom.production.min.js:123
Ur @ react-dom.production.min.js:122
Kl @ react-dom.production.min.js:230
enqueueSetState @ react-dom.production.min.js:132
y.setState @ react.production.min.js:12
(anonymous) @ i18nProviderWrapperFactory.js:19
Promise.then (async)
m @ i18nProviderWrapperFactory.js:18
va @ react-dom.production.min.js:134
$i @ react-dom.production.min.js:176
hl @ react-dom.production.min.js:263
sc @ react-dom.production.min.js:246
lc @ react-dom.production.min.js:246
Jl @ react-dom.production.min.js:239
Kl @ react-dom.production.min.js:230
Ac @ react-dom.production.min.js:281
(anonymous) @ react-dom.production.min.js:284
tc @ react-dom.production.min.js:240
Wc @ react-dom.production.min.js:284
t.render @ react-dom.production.min.js:290
h @ MountingService.js:22
value @ MountingService.js:86
value @ MountingService.js:69
DevTools failed to load source map: Could not load content for https://ip-10-0-167-32.rhos-01.prod.psi.rdu2.redhat.com/webpack/foreman_bootdisk/foreman_bootdisk:global-ab29053cf30b6d366f88.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ip-10-0-167-32.rhos-01.prod.psi.rdu2.redhat.com/webpack/foreman_remote_execution/foreman_remote_execution:global-0c4c448593bd52bf6324.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ip-10-0-167-32.rhos-01.prod.psi.rdu2.redhat.com/webpack/foreman_ansible/foreman_ansible:global-96258d6753e98bfdd69e.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ip-10-0-167-32.rhos-01.prod.psi.rdu2.redhat.com/webpack/foreman_openscap/foreman_openscap:global-13579712142e74f4114b.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ip-10-0-167-32.rhos-01.prod.psi.rdu2.redhat.com/webpack/foreman_rh_cloud/foreman_rh_cloud:global-41ce1a4cb65f583a2c5a.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ip-10-0-167-32.rhos-01.prod.psi.rdu2.redhat.com/webpack/foreman_webhooks/foreman_webhooks:routes-a3b9dbedc063f643bcaa.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://ip-10-0-167-32.rhos-01.prod.psi.rdu2.redhat.com/webpack/katello/katello:global-658b682de75ccefcd1f2.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Comment 11 Sam Bible 2023-03-29 00:43:37 UTC
This also appears to be the case with 'cs_CZ', as well as 'es'. Might be affecting other languages as well, I haven't tested all of them.

Comment 12 Bryan Kearney 2023-03-29 04:03:04 UTC
Upstream bug assigned to jlenz

Comment 18 errata-xmlrpc 2023-04-04 15:20:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.12.3 Async Security Update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:1630

Comment 19 Red Hat Bugzilla 2023-09-19 04:32:44 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days