Bug 2092046

Summary: Add a per-retry timeout option for fence actions
Product: Red Hat Enterprise Linux 8 Reporter: Ken Gaillot <kgaillot>
Component: pacemakerAssignee: Ken Gaillot <kgaillot>
Status: NEW --- QA Contact: cluster-qe <cluster-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.6CC: cfeist, cluster-maint
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ken Gaillot 2022-05-31 15:46:42 UTC
Pacemaker supports pcmk_ACTION_timeout options to set the total timeout for a fencing operation, and pcmk_ACTION_retries options to retry failed actions a certain number of times.

However if the first attempt times out, there will be no retries since the total timeout has been exceeded.

Users more intuitively expect that the timeout is per attempt, rather than for the total of all attempts. Changing the existing option behavior might be undesirable for backward compatibility reasons, but we could add a new per-attempt timeout.