Bug 2227233 - pcs does not prevent disabling ATB when it can break SBD
Summary: pcs does not prevent disabling ATB when it can break SBD
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcs
Version: 8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 8.10
Assignee: Peter Romancik
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On: 2227230
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-28 13:00 UTC by Tomas Jelinek
Modified: 2023-08-10 15:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2227230
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-163766 0 None None None 2023-07-28 13:02:17 UTC

Description Tomas Jelinek 2023-07-28 13:00:09 UTC
+++ This bug was initially created as a clone of Bug #2227230 +++

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.10.17-1.el8


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.


Note You need to log in before you can comment on or make changes to this bug.