Bug 2183158

Summary: fence_aws: fixes to allow running outside of AWS network (RHEL8)
Product: Red Hat Enterprise Linux 8 Reporter: Oyvind Albrigtsen <oalbrigt>
Component: fence-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: VERIFIED --- QA Contact: Brandon Perkins <bperkins>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.8CC: abeekhof, bperkins, cluster-maint, oraz
Target Milestone: rcKeywords: Triaged
Target Release: 8.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-4.2.1-114.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2183162 (view as bug list) Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 2183162    

Description Oyvind Albrigtsen 2023-03-30 13:13:37 UTC
Description of problem:
Race condition check currently makes fence_aws unable to power off nodes from outside AWS network.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Run "fence_aws ... -o off" outside AWS's network.
2.
3.

Actual results:
Fails.

Expected results:
Works when you add "--skip-race-check".

Additional info:
https://github.com/ClusterLabs/fence-agents/pull/534

Comment 1 Oyvind Albrigtsen 2023-04-17 09:09:29 UTC
Additional patch to fail when power action request fails instead of going into status-loop: https://github.com/ClusterLabs/fence-agents/pull/536

Comment 2 Andrew Beekhof 2023-06-07 00:21:17 UTC
Hi folks, when is this fix expected to be released?