Bug 2183162

Summary: fence_aws: fixes to allow running outside of AWS network (RHEL9)
Product: Red Hat Enterprise Linux 9 Reporter: Oyvind Albrigtsen <oalbrigt>
Component: fence-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: VERIFIED --- QA Contact: Brandon Perkins <bperkins>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.2CC: bperkins, cluster-maint, oraz
Target Milestone: rcKeywords: Triaged
Target Release: 9.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-4.10.0-45.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2183158 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: 2183158    
Bug Blocks:    

Description Oyvind Albrigtsen 2023-03-30 13:24:05 UTC
+++ This bug was initially created as a clone of Bug #2183158 +++

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:39 UTC
Additional patch to fail when power action request fails instead of going into status-loop: https://github.com/ClusterLabs/fence-agents/pull/536