-
Bug
-
Resolution: Unresolved
-
Normal
-
rhel-10.0
-
pcs-0.12.1-3.el10
-
No
-
Low
-
rhel-ha
-
0
-
False
-
False
-
-
No
-
None
-
Pass
-
None
-
Release Note Not Required
-
None
What were you trying to do that didn't work?
When creating fence_heuristics_ping and specifying method=cycle, warning in status is present:
Following stonith devices have the 'method' option set to 'cycle' which is potentially dangerous, please consider using 'onoff': 's1'
even though fence_heuristics_ping has cycle as a default value for option method.
This was found while testing RHEL-44432, where the same issue was present for fence_sbd, as its default for the method option is also cycle.
Please provide the package NVR for which the bug is seen:
[root@virt-518 ~]# rpm -q pcs
pcs-0.12.0~b1-2.el10.x86_64
How reproducible is this bug?:
always
Steps to reproduce
[root@virt-518 ~]# pcs stonith describe fence_heuristics_ping | grep method -A 3 method Description: Method to fence Allowed values: 'cycle', 'onoff' Default: cycle
[root@virt-518 ~]# pcs stonith create s1 fence_heuristics_ping ping_targets=virt-518 method=cycle [root@virt-518 ~]# pcs status Cluster name: STSRHTS3917 WARNINGS: Following stonith devices have the 'method' option set to 'cycle' which is potentially dangerous, please consider using 'onoff': 's1' Cluster Summary: * Stack: corosync (Pacemaker is running) * Current DC: virt-518 (version 3.0.0-3.el10-23489d5) - partition with quorum * Last updated: Fri Jan 10 16:10:27 2025 on virt-518 * Last change: Fri Jan 10 16:10:22 2025 by root via root on virt-518 * 2 nodes configured * 1 resource instance configured Node List: * Online: [ virt-518 virt-519 ] Full List of Resources: * s1 (stonith:fence_heuristics_ping): Started virt-518 Daemon Status: corosync: active/disabled pacemaker: active/disabled pcsd: active/enable
Expected results
Same as for fence_sbd: the warning is not present, as it's advising against setting the default value.
Actual results
The warning is present, when the default value is set.
- is incorporated by
-
RHEL-114418 Rebase pcs to the latest version [rhel-10]
-
- Integration
-
- links to
-
RHSA-2025:156341
pcs update