Blame SOURCES/0105-Feature-crmd-support-graceful-pacemaker_remote-stops.patch
|
|
0240e4 |
From 8eebc8a30a55645164d3c41acaf028dd75fab275 Mon Sep 17 00:00:00 2001
|
|
|
0240e4 |
From: Ken Gaillot <kgaillot@redhat.com>
|
|
|
0240e4 |
Date: Wed, 23 Dec 2015 15:18:38 -0600
|
|
|
0240e4 |
Subject: [PATCH 105/105] Feature: crmd: support graceful pacemaker_remote
|
|
|
0240e4 |
stops
|
|
|
0240e4 |
|
|
|
0240e4 |
NOT YET IMPLEMENTED. This just is a placeholder.
|
|
|
0240e4 |
---
|
|
|
0240e4 |
crmd/lrm_state.c | 7 +++++++
|
|
|
0240e4 |
1 file changed, 7 insertions(+)
|
|
|
0240e4 |
|
|
|
0240e4 |
diff --git a/crmd/lrm_state.c b/crmd/lrm_state.c
|
|
|
0240e4 |
index 497d3f9..5ee5b83 100644
|
|
|
0240e4 |
--- a/crmd/lrm_state.c
|
|
|
0240e4 |
+++ b/crmd/lrm_state.c
|
|
|
0240e4 |
@@ -478,6 +478,13 @@ remote_proxy_cb(lrmd_t *lrmd, void *userdata, xmlNode *msg)
|
|
|
0240e4 |
CRM_CHECK(op != NULL, return);
|
|
|
0240e4 |
CRM_CHECK(session != NULL, return);
|
|
|
0240e4 |
|
|
|
0240e4 |
+ if (safe_str_eq(op, LRMD_IPC_OP_SHUTDOWN_REQ)) {
|
|
|
0240e4 |
+ crm_warn("Graceful proxy shutdown not yet supported");
|
|
|
0240e4 |
+ /* TODO: uncomment this, then put node in standby: */
|
|
|
0240e4 |
+ /* remote_proxy_ack_shutdown(lrmd); */
|
|
|
0240e4 |
+ return;
|
|
|
0240e4 |
+ }
|
|
|
0240e4 |
+
|
|
|
0240e4 |
crm_element_value_int(msg, F_LRMD_IPC_MSG_ID, &msg_id);
|
|
|
0240e4 |
|
|
|
0240e4 |
/* This is msg from remote ipc client going to real ipc server */
|
|
|
0240e4 |
--
|
|
|
0240e4 |
1.8.3.1
|
|
|
0240e4 |
|