RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1816203 - fence_aws: fix possible race condition
Summary: fence_aws: fix possible race condition
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: fence-agents
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.3
Assignee: Oyvind Albrigtsen
QA Contact: Brandon Perkins
URL:
Whiteboard:
: 1929722 (view as bug list)
Depends On:
Blocks: 1816205 1933717 1933718
TreeView+ depends on / blocked
 
Reported: 2020-03-23 14:55 UTC by Oyvind Albrigtsen
Modified: 2024-06-13 22:31 UTC (History)
5 users (show)

Fixed In Version: fence-agents-4.2.1-44.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1816205 1929722 1929723 1933717 1933718 (view as bug list)
Environment:
Last Closed: 2020-11-04 02:28:57 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4642491 0 None None None 2020-05-05 18:55:49 UTC
Red Hat Product Errata RHBA-2020:4622 0 None None None 2020-11-04 02:29:10 UTC

Description Oyvind Albrigtsen 2020-03-23 14:55:02 UTC
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.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
Might end up in race condition.

Expected results:
Shouldn't end up in race condition.

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

Comment 3 Oyvind Albrigtsen 2020-03-24 15:15:26 UTC
Additional patch to fix Python 3 encoding issue: https://github.com/ClusterLabs/fence-agents/pull/324

Comment 7 errata-xmlrpc 2020-11-04 02:28:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (fence-agents bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4622

Comment 9 Chris Feist 2021-03-01 14:46:15 UTC
*** Bug 1929722 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.