Bug 1929723

Summary: fence_aws: fix possible race condition [request to backport 1816203 to RHEL 8.2]
Product: Red Hat Enterprise Linux 8 Reporter: Chad Newsom <cnewsom>
Component: fence-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED DUPLICATE QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: cluster-maint, nwahl
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1816203 Environment:
Last Closed: 2021-02-17 14:05:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chad Newsom 2021-02-17 13:55:26 UTC
Customer in RH support ticket 02870289 would like 1816203 backported to RHEL 8.2 if possible


Description of problem:
Added a function called get_self_power_status() in which the instance executing the fence action will check its own status before fencing the other node. If the local EC2 instance's status is not "Running" it will not try to fence the other node as the local node has been already fenced. With the addition of this feature pcmk_delay_max and/or pcmk_delay_base can now be used and are encouraged to be used with fence_aws.