[Pacemaker] [PATCH] Medium: shell: find hb_delnode in correct directory

Florian Haas florian.haas at linbit.com
Mon May 10 09:21:18 EDT 2010


# HG changeset patch
# User Florian Haas <florian.haas at linbit.com>
# Date 1273497566 -7200
# Branch stable-1.0
# Node ID 70e87f10e76ba6cdada583c0c29ed47168b2878f
# Parent  423891ec6d91c77582973bed51bc36068a550feb
Medium: shell: find hb_delnode in correct directory

Fix "crm node delete" breakage when running on heartbeat:
hb_delnode is in @datadir@/heartbeat/hb_delnode,
not @libdir@/heartbeat/hb_delnode.

diff -r 423891ec6d91 -r 70e87f10e76b shell/modules/ui.py.in
--- a/shell/modules/ui.py.in	Wed May 05 17:10:32 2010 +0200
+++ b/shell/modules/ui.py.in	Mon May 10 15:19:26 2010 +0200
@@ -938,7 +938,7 @@
     node_standby = "crm_standby -N '%s' -v '%s' %s"
     node_delete = "cibadmin -D -o nodes -X '<node uname=\"%s\"/>'"
     node_delete_status = "cibadmin -D -o status -X '<node_state uname=\"%s\"/>'"
-    hb_delnode = "@libdir@/heartbeat/hb_delnode '%s'"
+    hb_delnode = "@datadir@/heartbeat/hb_delnode '%s'"
     crm_node = "crm_node"
     node_fence = "crm_attribute -t status -U '%s' -n terminate -v true"
     dc = "crmadmin -D"






More information about the Pacemaker mailing list