I just found one upstream commit fixing this:
##############
commit 0326f05c9e26f39a394fa30830e31a76306f49c7 Author: Andrew Beekhof <email address hidden> Date: Thu Aug 7 13:49:24 2014 +1000
Fix: stonith-ng: Reset mainloop source IDs after removing them
diff --git a/lib/fencing/st_client.c b/lib/fencing/st_client.c index 64bd8f3..2837682 100644 --- a/lib/fencing/st_client.c +++ b/lib/fencing/st_client.c @@ -663,9 +663,11 @@ stonith_action_async_done(mainloop_child_t * p, pid_t pid, int core, int signo,
if (action->timer_sigterm > 0) { g_source_remove(action->timer_sigterm); + action->timer_sigterm = 0; } if (action->timer_sigkill > 0) { g_source_remove(action->timer_sigkill); + action->timer_sigkill = 0; }
if (action->last_timeout_signo) {
under <stonith_action_async_done>.
Will provide you a hotfix with this fix and ask for feedback.
Thank you
Rafael
I just found one upstream commit fixing this:
##############
commit 0326f05c9e26f39 a394fa30830e31a 76306f49c7
Author: Andrew Beekhof <email address hidden>
Date: Thu Aug 7 13:49:24 2014 +1000
Fix: stonith-ng: Reset mainloop source IDs after removing them
diff --git a/lib/fencing/ st_client. c b/lib/fencing/ st_client. c st_client. c st_client. c action_ async_done( mainloop_ child_t * p, pid_t pid, int core, int signo,
index 64bd8f3..2837682 100644
--- a/lib/fencing/
+++ b/lib/fencing/
@@ -663,9 +663,11 @@ stonith_
if (action- >timer_ sigterm > 0) {
g_source_ remove( action- >timer_ sigterm) ; >timer_ sigterm = 0; >timer_ sigkill > 0) {
g_source_ remove( action- >timer_ sigkill) ; >timer_ sigkill = 0;
+ action-
}
if (action-
+ action-
}
if (action- >last_timeout_ signo) {
##############
under <stonith_ action_ async_done> .
Will provide you a hotfix with this fix and ask for feedback.
Thank you
Rafael