Bug 2039884

Summary: [WebUI][RFE] support SBD management
Product: Red Hat Enterprise Linux 9 Reporter: Ivan Devat <idevat>
Component: pcsAssignee: kmalyjur
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: high Docs Contact:
Priority: high    
Version: 9.0CC: cluster-maint, idevat, mlisik, mmazoure, mpospisi, omular, svalasti, tojeline
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 9.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcs-0.11.2-1.el9 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 09:48:38 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ivan Devat 2022-01-12 16:29:19 UTC
Support sbd management (display, enable, disable) in webui.

Comment 3 Miroslav Lisik 2022-05-19 17:22:20 UTC
DevTestResults:

[root@r91-1 ~]# rpm -q pcs
pcs-0.11.2-1.el9.x86_64

There is new tab "Sbd" on the cluster management page containing.
You can see SBD service status, common SBD configuration and specific SBD configuration per node.

The "Configure SBD" button triggers a configuration wizard for SBD where is possible to:
1. set paths to the watchdog devices on the nodes
2. set SBD options
3. review the settings

The "Disable SBD" button triggers modal window where you can choose between "Disable SBD" or "Cancel"

It is only possible to configure SBD with watchdog only.

Comment 7 svalasti 2022-08-16 10:28:31 UTC
Only a basic check was performed for this feature.

After selecting an existing cluster from the cluster list, it is possible to click through the dashboard to the 'Sbd' tab. This tab shows the SBD service status for individual cluster nodes, current sbd configuration, and also a summary table containing information about the individual nodes (node, devices, watchdogs).
This feature also allows disabling SBD. If the sbd configuration is selected by using the 'Configure SBD' button, a modal window is displayed to the user. 
In the first step of the 'SBD' configuration, it is necessary to specify the watchdog devices for the individual nodes, then it is possible to specify the SBD options. 
Possible problems resulting from the selection of inappropriate SBD options are correctly handled. At the moment, it is possible to configure SBD with a watchdog device only.
This feature works only for clusters with an odd number of nodes. To be able to use it for clusters with an even number of nodes, it is necessary to add the option to stop all nodes at once, which is currently not working (adding this feature in the future is planned (bz 2117599)).

Our priority is to focus on automating these tasks in the future.

Marking as VERIFIED SanityOnly for pcs-0.11.3-3.el9

Comment 9 errata-xmlrpc 2022-11-15 09:48:38 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 (Moderate: 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-2022:7935