Bug 2165838

Summary: Loading of some js and css assets takes too much time
Product: Red Hat Satellite Reporter: Roman Plevka <rplevka>
Component: BrandingAssignee: Maria <magaphon>
Status: CLOSED DUPLICATE QA Contact: Cole Higgins <chiggins>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: egolov, ehelms, sshtein
Target Milestone: UnspecifiedKeywords: Regression
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-09 14:31:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
grafana - histograms per template none

Description Roman Plevka 2023-01-31 09:05:25 UTC
Created attachment 1941244 [details]
grafana - histograms per template

Description of problem:
This is a regression from 6.12.

There is a really noticeable speed degradation of loading of some assets from browser.
This happens on loading of any page.

In my sample i can identify e.g.
/assets/application-4da828d15ff65dcf5db03e8a04f05444b8da72e7c948ba383af19ab1c2d67e97.css,
/webpack/foreman-vendor.bundle-v10.1.7-production-57ed7676cc22ce47f0a6.js,
...
but it's probably not the same files all over.


I've updated httpd conf LogFormat to append the request response time in the logs.
I've spawned satellite machines in the lab for each of the last 3 snaps + a recent 6.12 for comparison.

The screenshot of the histograms from grafana can be found in the attachments.

comparing to 6.12, it is very noticeable that there is some problem with loading of the assets - sometimes the asset takes as much as 2mins (!) to load.

I haven't tried older 6.13 snaps, so can't tell when exactly this got introduced


How reproducible:
always

Steps to Reproduce:
1. spawn 6.13-8.0 satellite
2. navigate to the login page (or any other)
3. observe the time it takes to load the page completely
4. use dev tools to see that in a timeline

Actual results:
really slow UI

Comment 1 Evgeni Golov 2023-02-01 09:45:16 UTC
this might be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2166244

Comment 2 Brad Buckingham 2023-02-02 15:30:44 UTC
Hi Roman,

Do you agree that this is a duplicate of the bug in comment 1?  If so, can we close this one?   Thanks!

Comment 3 Roman Plevka 2023-02-07 12:21:51 UTC
(In reply to Brad Buckingham from comment #2)
> Hi Roman,
> 
> Do you agree that this is a duplicate of the bug in comment 1?  If so, can
> we close this one?   Thanks!

Hi Brad, it might be but I'm unable to confirm it.

Comment 4 Eric Helms 2023-02-09 14:31:04 UTC

*** This bug has been marked as a duplicate of bug 2166244 ***