Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1448772

Summary: After fencing, PE schedules remote actions without waiting for the connection to be re-established
Product: Red Hat Enterprise Linux 7 Reporter: Andrew Beekhof <abeekhof>
Component: pacemakerAssignee: Ken Gaillot <kgaillot>
Status: CLOSED ERRATA QA Contact: Asaf Hirshberg <ahirshbe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.3CC: abeekhof, cfeist, cluster-maint, cluster-qe, mkrcmari, mnovacek
Target Milestone: rcKeywords: Regression
Target Release: 7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pacemaker-1.1.16-10.el7 Doc Type: Bug Fix
Doc Text:
Cause: As part of a fix for an unrelated bug, the Pacemaker version in RHEL 7.3 introduced a regression from RHEL 7.2. Actions on a Pacemaker Remote node would not be properly ordered after the start of the Pacemaker Remote resource after fencing of the node. Consequence: The scheduled actions could fail and cause unnecessary additional recovery actions before arriving at the correct state. Fix: The relevant ordering was re-added for the situations in which it applies, Result: Recovery of Pacemaker Remote nodes now proceeds smoothly.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 17:57:08 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:
Attachments:
Description Flags
Reproducing PE input none

Description Andrew Beekhof 2017-05-08 03:42:41 UTC
Created attachment 1276973 [details]
Reproducing PE input

Description of problem:

After fencing, PE schedules remote actions without waiting for the connection to be re-established

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

everything <= 7.4

How reproducible:

100%

Steps to Reproduce:
1. crm_simulate -Sx {attachment}

Actual results:

 * Fencing controller-1 (reboot)
 * Pseudo action:   stonith_complete
 * Pseudo action:   messaging-1_stop_0
 * Pseudo action:   galera-0_stop_0
 * Pseudo action:   galera-2_stop_0
 * Resource action: galera          demote on galera-0


Expected results:

 * Fencing controller-1 (reboot)
 * Pseudo action:   stonith_complete
 * Pseudo action:   messaging-1_stop_0
 * Pseudo action:   galera-0_stop_0
 * Pseudo action:   galera-2_stop_0
 * Resource action: galera-0        start on controller-2
 * Resource action: galera          demote on galera-0

Additional info:

Comment 2 Andrew Beekhof 2017-05-09 02:37:21 UTC
Just confirmed this was also the behaviour in 1.1.16

Comment 3 Ken Gaillot 2017-05-09 19:52:29 UTC
Confirmed that the problem also occurs in RHEL 7.3's 1.1.15-11.el7_3.4, but the demote is properly ordered in RHEL 6.8's 1.1.14-8.el6. So this looks like it may be a regression in 1.1.15.

Comment 9 michal novacek 2017-05-22 12:23:11 UTC
qa_ack+:
reproducer

# crm_simulate -Sx /path/to/attachment

verify that "Resource action: galera-0 start on controller-2" happens before "Resource action: galera demote on galera-0"

without patch: fail. with patch: pass

Comment 12 Marian Krcmarik 2017-06-26 14:16:16 UTC
There is no demote action tiggered because of fix in Bug 1448773 - anyway I do not see in the output of reproduce any action scheduled before starting remote connection for the remote nodes which lost their remote connection so let's move to Verified.

Comment 13 errata-xmlrpc 2017-08-01 17:57:08 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, 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/RHEA-2017:1862

Comment 14 Red Hat Bugzilla 2023-09-14 03:57:25 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days