1d92dc70ad
- stonith-ng: export stonith resource name to stonith agents - crmd: Send out all of the meta parameters to lrmd for stop action - RA: Fix the metadata of HealthSMART and SysInfo RAs - stonith: Longer default timeout/interval of operations for stonith resources - Doc: many proof-reading improvements - stonith: Fix the stonith timeout issue (cl#5009, bnc#727498) - update the license information in pacemaker.spec (bnc#726795) - xml: Add rsc_ticket support into "pacemaker-1.2" schema - xml: Add resource template support into "pacemaker-1.2" schema - tools: Avoid problems caused by differences between node name and uname -n - PE: Resolve memory leak when retrieving failure counts - Stonith: Implement a manual override for when nodes are known to be safely off - PE: Implement limit number of concurrent live migrations (FATE#310118) - PE: Implement referencing templates in constraints - PE: Move master based on failure of colocated group - Fencing: Support admin configurable timeouts for API operations - Fencing: Support checking in-progress operations for all nodes - don't package crm shell code - add Requires: crmsh - Build man pages and html versions (bnc#723680) - Shell: template support - Upstream version cs: b988976485d15cb702c9307df55512d323831a5e OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=24
13 lines
612 B
Diff
13 lines
612 B
Diff
diff --git a/fencing/commands.c b/fencing/commands.c
|
|
index 8269d30..b2660ca 100644
|
|
--- a/fencing/commands.c
|
|
+++ b/fencing/commands.c
|
|
@@ -368,6 +368,7 @@ static stonith_device_t *build_device_from_xml(xmlNode *msg)
|
|
device->agent = crm_element_value_copy(dev, "agent");
|
|
device->namespace = crm_element_value_copy(dev, "namespace");
|
|
device->params = xml2list(dev);
|
|
+ g_hash_table_insert(device->params, crm_strdup("CRM_" F_STONITH_DEVICE), crm_strdup(device->id));
|
|
device->work = mainloop_add_trigger(G_PRIORITY_HIGH, stonith_device_dispatch, device);
|
|
/* TODO: Hook up priority */
|
|
|