File pacemaker-controller-dont-abort-after-delay-if-were-no-longer-DC.patch of Package pacemaker.10378
commit 72c9b73e95d699d868109f475fe26d4512348fe1
Author: Ken Gaillot <kgaillot@redhat.com>
Date: Wed May 2 18:48:59 2018 -0500
Low: controller: don't abort after delay if we're no longer DC
93b77f40 aborts transition 5 seconds after quorum is gained, if transition has
not already been aborted. If the node relinquishes DC in that time, it would
cause an assertion (though otherwise be harmless), so check first.
Index: pacemaker-1.1.18+20180430.b12c320f5/crmd/te_utils.c
===================================================================
--- pacemaker-1.1.18+20180430.b12c320f5.orig/crmd/te_utils.c
+++ pacemaker-1.1.18+20180430.b12c320f5/crmd/te_utils.c
@@ -484,7 +484,7 @@ static struct abort_timer_s {
static gboolean
abort_timer_popped(gpointer data)
{
- if (abort_timer.aborted == FALSE) {
+ if (AM_I_DC && (abort_timer.aborted == FALSE)) {
abort_transition(abort_timer.priority, abort_timer.action,
abort_timer.text, NULL);
}