Bug 2227230

Summary: pcs does not prevent disabling ATB when it can break SBD
Product: Red Hat Enterprise Linux 9 Reporter: Tomas Jelinek <tojeline>
Component: pcsAssignee: Peter Romancik <promanci>
Status: ASSIGNED --- QA Contact: cluster-qe <cluster-qe>
Severity: high Docs Contact:
Priority: high    
Version: 9.0CC: cluster-maint, idevat, mlisik, mpospisi, omular, tojeline
Target Milestone: rcKeywords: Triaged
Target Release: 9.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2227233 (view as bug list) 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:
Bug Depends On:    
Bug Blocks: 2227233    

Description Tomas Jelinek 2023-07-28 12:54:53 UTC
Description of problem:
When SBD with no disks is enabled in a cluster with even numerb of nodes, auto_tie_breaker must be enabled in orded for SBD to work correctly. Pcs should prevent disabling auto_tie_breaker in this case.


Version-Release number of selected component (if applicable):
pcs-0.11.6


How reproducible:
always, easily


Steps to Reproduce:
1. create a cluster with two nodes
2. enable SBD: 'pcs stonith sbd enable'
3. try to disable ATB: 


Actual results:
In step 2, pcs informs the user that ATB must be enabled. Yet, in step 3, pcs is fine with disabling ATB.


Expected results:
Pcs prevents disabling SBD in step 3.