Bug 2222788

Summary: Web UI: Empty page after refresh
Product: Red Hat Enterprise Linux 9 Reporter: Michal Mazourek <mmazoure>
Component: pcsAssignee: Ivan Devat <idevat>
Status: ON_QA --- QA Contact: cluster-qe <cluster-qe>
Severity: high Docs Contact:
Priority: high    
Version: 9.3CC: cluster-maint, idevat, mlisik, mpospisi, nhostako, omular, tojeline
Target Milestone: rcKeywords: Regression, Triaged
Target Release: 9.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcs-0.11.6-3.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Michal Mazourek 2023-07-13 17:53:40 UTC
Description of problem:
Empty page appears after page refresh when in cluster management (for example on "overview" tab)   


Version-Release number of selected component (if applicable):
found in pcs-0.11.6-1.el9


How reproducible:
always


Steps to Reproduce:
1. open web ui
2. add existing cluster
3. click on the added cluster
4. hit refresh (ctrl+f5) when on overview tab or whenever in the cluster management


Actual results:
Empty page with console errors:
The resource from “https://virt-496.cluster-qe.lab.eng.brq.redhat.com:2224/ui/cluster/static/js/adapter.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
The resource from “https://virt-496.cluster-qe.lab.eng.brq.redhat.com:2224/ui/cluster/static/css/main.a9ca1cc6.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
The resource from “https://virt-496.cluster-qe.lab.eng.brq.redhat.com:2224/ui/cluster/static/js/main.38764be0.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

Expected results:
Page is refreshed without issues

Additional info:
This issue is not present in RHEL9.2

Comment 5 Michal Pospisil 2023-07-17 09:25:18 UTC
DevTestResults:

[root@r09-03-b ~]# rpm -q pcs
pcs-0.11.6-3.el9.x86_64

Several pages were tried and refreshing doesn’t cause a blank page to appear. The pages reloaded normally after the refresh.