Blob Blame History Raw
From: Andrew Beekhof <andrew@beekhof.net>
Date: Tue, 8 Sep 2015 12:03:56 +1000
Subject: [PATCH] Fix: cman: Purge all node caches for crm_node -R

(cherry picked from commit c445e135b6d52b1a5f3cfdacfa54a63b313c00d2)
---
 tools/crm_node.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tools/crm_node.c b/tools/crm_node.c
index 9626120..48ee7c4 100644
--- a/tools/crm_node.c
+++ b/tools/crm_node.c
@@ -607,9 +607,7 @@ try_cman(int command, enum cluster_type_e stack)
 
     switch (command) {
         case 'R':
-            if (tools_remove_node_cache(target_uname, CRM_SYSTEM_CRMD)) {
-                crm_err("Failed to connect to "CRM_SYSTEM_CRMD" to remove node '%s'", target_uname);
-            }
+            try_pacemaker(command, stack);
             break;
 
         case 'e':