Bug 2227230 - 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 9
Classification: Red Hat
Component: pcs
Version: 9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 9.4
Assignee: Peter Romancik
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks: 2227233
TreeView+ depends on / blocked
 
Reported: 2023-07-28 12:54 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:
: 2227233 (view as bug list)
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-163765 0 None None None 2023-07-28 12:55:43 UTC

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.


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