Bug 1646349

Summary: Clean-up of a managed bundle or guest node resource causes unnecessary recovery [rhel-7.5.z]
Product: Red Hat Enterprise Linux 7 Reporter: Oneata Mircea Teodor <toneata>
Component: pacemakerAssignee: Ken Gaillot <kgaillot>
Status: CLOSED ERRATA QA Contact: Marian Krcmarik <mkrcmari>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.4CC: abeekhof, aherr, cfeist, chorn, cluster-maint, cluster-qe, ctowsley, fdinitto, jruemker, kgaillot, kwenning, mjuricek, mnovacek, rmarigny, royoung
Target Milestone: rcKeywords: ZStream
Target Release: 7.5   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: pacemaker-1.1.18-11.el7_5.4 Doc Type: Bug Fix
Doc Text:
Cause: After cleaning failure history of a managed guest node resource or bundle container, Pacemaker would schedule a reprobe of the resource and recovery of its Pacemaker Remote connection, processed in parallel. Consequence: The Pacemaker Remote connection recovery would force recovery of the guest node resource or bundle container, even if not needed. Fix: The connection recovery is now scheduled after getting the reprobe result. Result: If the reprobe result finds everything OK, the recovery will be avoided.
Story Points: ---
Clone Of: 1448467 Environment:
Last Closed: 2018-12-18 14:46:19 UTC Type: ---
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: 1448467    
Bug Blocks:    

Description Oneata Mircea Teodor 2018-11-05 12:35:54 UTC
This bug has been copied from bug #1448467 and has been proposed to be backported to 7.5 z-stream (EUS).

Comment 2 Ken Gaillot 2018-11-05 16:50:47 UTC
Fixed in upstream 1.1 branch by commits a07ff46, fade228, and af4f6a1

Comment 3 Ken Gaillot 2018-11-06 21:28:20 UTC
QA: Configure and start a cluster with a guest node and/or bundle, then run "pcs resource refresh" on the guest node resource and/or bundle resource. It would also be sufficient to force the resource to have a failure then run "pcs resource cleanup".

Before the fix, the guest node or bundle will get restarted; after the fix, it won't.

Comment 6 errata-xmlrpc 2018-12-18 14:46:19 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/RHBA-2018:3844