Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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: CLOSED ERRATA 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.3Flags: pm-rhel: mirror+
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: 2023-11-07 08:23:11 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:

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.

Comment 11 Michal Mazourek 2023-08-21 08:34:46 UTC
BEFORE:
=======

see comment 0


AFTER:
======

[root@virt-537 ~]# rpm -q pcs
pcs-0.11.6-3.el9.x86_64


1. open web ui (https://<hostname>:2224) and log in
2. add existing cluster
3. click on the added cluster
4. hit refresh (ctrl+f5)

> OK: Page is refreshed without issues, tried on tabs Overview, Nodes, Resources, Fence Devices, SBD, Constraints, Properties, ACL and Permissions


Marking as VERIFIED for pcs-0.11.6-3.el9.

Comment 13 errata-xmlrpc 2023-11-07 08:23:11 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 (Low: pcs security, bug fix, and enhancement 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:6316