-
Story
-
Resolution: Unresolved
-
Major
-
rhel-10.0
-
pcs-0.12.0-5.el10
-
None
-
FutureFeature
-
rhel-ha
-
13
-
23
-
0
-
False
-
False
-
-
Yes
-
None
-
Pass
-
Manual
-
Enhancement
-
-
Done
-
Done
-
Done
-
Not Required
-
None
Goal
The cluster will lose fencing, when a user runs e.g. `pcs stonith sbd disable` and no other fencing mechanism is configured. The user should be warned about this.
Please, check if fencing will be lost after actions that can lead to it. Send forceable error if such situation can happen.
This issue can be complex (it is necessary to check sbd and also fence device commands). So, this problem could be solved by planning and creating separate JIRAs for each subtask.
Acceptance criteria
- pcs exits with an error and doesn't change cluster configuration in these scenarios:
- user disables sbd (using 'pcs stonith sbd disable' command) and there are no effective stonith resources in the cluster
- user disables the last effective stonith resource in the cluster (using 'pcs stonith disable' command) and sbd is disabled
- user removes the last effective stonith resource in the cluster (using 'pcs stonith delete | remove' command) and sbd is disabled
- web ui reports an error and doesn't change cluster configuration in the same scenarios:
- user disables sbd (using 'Disable SBD' button) and there are no effective stonith resources in the cluster
- user removes the last effective stonith resource in the cluster (using 'delete' button in the stonith resource page) and sbd is disabled
- disabling stonith resources is not supported in web ui, therefore this scenario doesn't apply
- the error can be overridden
- effective stonith resource is a stonith resource which
- is not disabled
- is capable of fencing (for example, fence_kdump is not capable of fencing)
- is blocked by
-
RHEL-84143 [WebUI] Unable to disable SBD when there are no enabled stonith devices [rhel-10]
-
- Release Pending
-
-
RHEL-85195 [WebUI] Unable to delete last stonith resource when SBD is disabled [rhel-10]
-
- Release Pending
-
- is cloned by
-
RHEL-76170 [RFE] Warn if users action could lead to cluster without fencing [rhel-9]
-
- Release Pending
-
- is depended on by
-
RHEL-84143 [WebUI] Unable to disable SBD when there are no enabled stonith devices [rhel-10]
-
- Release Pending
-
-
RHEL-85195 [WebUI] Unable to delete last stonith resource when SBD is disabled [rhel-10]
-
- Release Pending
-
- is incorporated by
-
RHEL-77193 Rebase pcs to the latest version [rhel-10]
-
- Release Pending
-
- relates to
-
RHEL-84120 [RFE] warn that setting stonith-enabled cluster property to false has negative impact
-
- Planning
-
- links to
-
RHBA-2025:150142 pcs bug fix and enhancement update