Blame SOURCES/0112-Fix-crmd-set-remote-flag.patch
|
|
0240e4 |
From 615b0784516933106a8446272bc3c043b0a0d50a Mon Sep 17 00:00:00 2001
|
|
|
0240e4 |
From: Ken Gaillot <kgaillot@redhat.com>
|
|
|
0240e4 |
Date: Tue, 26 Jan 2016 14:04:30 -0600
|
|
|
0240e4 |
Subject: [PATCH] Fix: crmd: set remote flag when gracefully shutting down
|
|
|
0240e4 |
remote nodes
|
|
|
0240e4 |
|
|
|
0240e4 |
---
|
|
|
0240e4 |
crmd/lrm_state.c | 2 +-
|
|
|
0240e4 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
0240e4 |
|
|
|
0240e4 |
diff --git a/crmd/lrm_state.c b/crmd/lrm_state.c
|
|
|
0240e4 |
index 62e1c76..7ea4e8a 100644
|
|
|
0240e4 |
--- a/crmd/lrm_state.c
|
|
|
0240e4 |
+++ b/crmd/lrm_state.c
|
|
|
0240e4 |
@@ -488,7 +488,7 @@ remote_proxy_cb(lrmd_t *lrmd, void *userdata, xmlNode *msg)
|
|
|
0240e4 |
crm_notice("Graceful proxy shutdown of %s", lrm_state->node_name);
|
|
|
0240e4 |
|
|
|
0240e4 |
now_s = crm_itoa(now);
|
|
|
0240e4 |
- update_attrd(lrm_state->node_name, XML_CIB_ATTR_SHUTDOWN, now_s, NULL, FALSE);
|
|
|
0240e4 |
+ update_attrd(lrm_state->node_name, XML_CIB_ATTR_SHUTDOWN, now_s, NULL, TRUE);
|
|
|
0240e4 |
free(now_s);
|
|
|
0240e4 |
|
|
|
0240e4 |
remote_proxy_ack_shutdown(lrmd);
|
|
|
0240e4 |
--
|
|
|
0240e4 |
1.8.3.1
|
|
|
0240e4 |
|