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.
.`pcsd` Web UI now displays cluster status when fence levels are configured
Previously, the `pcsd` Web UI did not display cluster status when fence levels were configured. With this fix, you can now view the cluster status and change the cluster settings with the Web UI when fence levels are configured.
DescriptionMichal Pospisil
2023-03-29 17:28:05 UTC
Created attachment 1954491[details]
RHEL 9.0 browser console errors
Description of problem:
When fencing levels are configured, the web interface will not load cluster status. It is not possible to see cluster state or change its configuration.
Version-Release number of selected component (if applicable):
0.11.1-10.el9
0.11.4-6.el9_2
How reproducible:
always
Steps to Reproduce:
## Create a single node cluster
[root@r09-00-a ~]# pcs host auth r09-00-a.vm -u hacluster
Password:
r09-00-a.vm: Authorized
[root@r09-00-a ~]# pcs cluster setup wui-fence-lvl r09-00-a.vm
No addresses specified for host 'r09-00-a.vm', using 'r09-00-a.vm'
Destroying cluster on hosts: 'r09-00-a.vm'...
r09-00-a.vm: Successfully destroyed cluster
Requesting remove 'pcsd settings' from 'r09-00-a.vm'
r09-00-a.vm: successful removal of the file 'pcsd settings'
Sending 'corosync authkey', 'pacemaker authkey' to 'r09-00-a.vm'
r09-00-a.vm: successful distribution of the file 'corosync authkey'
r09-00-a.vm: successful distribution of the file 'pacemaker authkey'
Sending 'corosync.conf' to 'r09-00-a.vm'
r09-00-a.vm: successful distribution of the file 'corosync.conf'
Cluster has been successfully set up.
[root@r09-00-a ~]# pcs cluster start --wait
Starting Cluster...
Waiting for node(s) to start...
Started
## Create 2 fence devices and set up fencing levels
[root@r09-00-a ~]# pcs stonith create fence-1 fence_xvm
[root@r09-00-a ~]# pcs stonith create fence-2 fence_xvm
[root@r09-00-a ~]# pcs stonith level add 1 r09-00-a.vm fence-1
[root@r09-00-a ~]# pcs stonith level add 2 r09-00-a.vm fence-2
Actual results:
When you open the web interface, after a short while, there will be a notification that says: "Communication error while: sync status of cluster "wui-fence-lvl". Details in the browser console." See the attachment for browser console output (see 9.0 logs for this reproducer, 9.2 logs have a different, more complex configuration).
Expected results:
No communication errors are shown, the web interface allows to see cluster status and modify its settings.
Additional info:
On RHEL 9.0, the cluster status is somehow loaded and shown despite the error. On RHEL 9.2, a loading animation is shown while loading cluster status that never goes away because of the communication error, even when browsing cluster detail. See the attached screenshot.
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
Created attachment 1954491 [details] RHEL 9.0 browser console errors Description of problem: When fencing levels are configured, the web interface will not load cluster status. It is not possible to see cluster state or change its configuration. Version-Release number of selected component (if applicable): 0.11.1-10.el9 0.11.4-6.el9_2 How reproducible: always Steps to Reproduce: ## Create a single node cluster [root@r09-00-a ~]# pcs host auth r09-00-a.vm -u hacluster Password: r09-00-a.vm: Authorized [root@r09-00-a ~]# pcs cluster setup wui-fence-lvl r09-00-a.vm No addresses specified for host 'r09-00-a.vm', using 'r09-00-a.vm' Destroying cluster on hosts: 'r09-00-a.vm'... r09-00-a.vm: Successfully destroyed cluster Requesting remove 'pcsd settings' from 'r09-00-a.vm' r09-00-a.vm: successful removal of the file 'pcsd settings' Sending 'corosync authkey', 'pacemaker authkey' to 'r09-00-a.vm' r09-00-a.vm: successful distribution of the file 'corosync authkey' r09-00-a.vm: successful distribution of the file 'pacemaker authkey' Sending 'corosync.conf' to 'r09-00-a.vm' r09-00-a.vm: successful distribution of the file 'corosync.conf' Cluster has been successfully set up. [root@r09-00-a ~]# pcs cluster start --wait Starting Cluster... Waiting for node(s) to start... Started ## Create 2 fence devices and set up fencing levels [root@r09-00-a ~]# pcs stonith create fence-1 fence_xvm [root@r09-00-a ~]# pcs stonith create fence-2 fence_xvm [root@r09-00-a ~]# pcs stonith level add 1 r09-00-a.vm fence-1 [root@r09-00-a ~]# pcs stonith level add 2 r09-00-a.vm fence-2 Actual results: When you open the web interface, after a short while, there will be a notification that says: "Communication error while: sync status of cluster "wui-fence-lvl". Details in the browser console." See the attachment for browser console output (see 9.0 logs for this reproducer, 9.2 logs have a different, more complex configuration). Expected results: No communication errors are shown, the web interface allows to see cluster status and modify its settings. Additional info: On RHEL 9.0, the cluster status is somehow loaded and shown despite the error. On RHEL 9.2, a loading animation is shown while loading cluster status that never goes away because of the communication error, even when browsing cluster detail. See the attached screenshot.