File pacemaker-fencing-topology-2.patch of Package pacemaker.3577
commit 31cc458a29d068a987e007a42f61e93c36efe58e
Author: Ken Gaillot <kgaillot@redhat.com>
Date: Mon Jan 4 16:18:52 2016 -0600
Fix: libfencing: topology is not used
12ca8bb incompletely replaced XML_ATTR_ID with XML_ATTR_STONITH_INDEX
when removing a topology level
Index: pacemaker/lib/fencing/st_client.c
===================================================================
--- pacemaker.orig/lib/fencing/st_client.c
+++ pacemaker/lib/fencing/st_client.c
@@ -274,7 +274,7 @@ stonith_api_remove_level(stonith_t * st,
crm_xml_add(data, XML_ATTR_STONITH_TARGET, node);
crm_xml_add(data, F_STONITH_TARGET, node);
- crm_xml_add_int(data, XML_ATTR_ID, level);
+ crm_xml_add_int(data, XML_ATTR_STONITH_INDEX, level);
rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0);
free_xml(data);