Gitweb: http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=df390e7b2acc98... Commit: df390e7b2acc983658b0c30cdf0a6394ceb9a173 Parent: 441bff8b11c094f5a005a6202b2bf9e7e39946a5 Author: Ryan McCabe rmccabe@redhat.com AuthorDate: Thu Jun 9 10:58:54 2016 -0400 Committer: Ryan McCabe rmccabe@redhat.com CommitterDate: Thu Jun 9 10:58:54 2016 -0400
rgmanager: Re-init the vf key callbacks after losing and regaining quorum
When central processing is enabled, and we have recovered from quorum having been dissolved, reinitialize the vf key callbacks.
Original patch from John Ruemker jruemker@redhat.com
Resolves: rhbz#1084053 Signed-off-by: Ryan McCabe rmccabe@redhat.com --- rgmanager/src/daemons/main.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/rgmanager/src/daemons/main.c b/rgmanager/src/daemons/main.c index 6f0b39f..9d5aa9a 100644 --- a/rgmanager/src/daemons/main.c +++ b/rgmanager/src/daemons/main.c @@ -153,6 +153,11 @@ membership_update(void) rg_lockall(L_SYS); exit(1); } + +#ifndef USE_OPENAIS + vf_key_init("rg_lockdown", 10, NULL, lock_commit_cb); + vf_key_init("Transition-Master", 10, NULL, master_event_callback); +#endif } }
cluster-commits@lists.fedorahosted.org