Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
pacemaker
pacemaker-pengine-retrigger-unfencing-nodes-ope...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-pengine-retrigger-unfencing-nodes-operations-old-parameters.patch of Package pacemaker
commit b5c48ca0bf52c9a03c81ba4fb74dbc5c1a7f6dbc Author: Andrew Beekhof <andrew@beekhof.net> Date: Tue Aug 1 13:36:04 2017 +1000 Fix: PE: Only retrigger unfencing on nodes that ran operations with the old parameters diff --git a/pengine/allocate.c b/pengine/allocate.c index ef262451e..f169db311 100644 --- a/pengine/allocate.c +++ b/pengine/allocate.c @@ -329,7 +329,7 @@ check_action_definition(resource_t * rsc, node_t * active_node, xmlNode * xml_op op_version, crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC)); custom_action(rsc, key, task, NULL, FALSE, TRUE, data_set); - trigger_unfencing(rsc, NULL, "Device parameters changed", NULL, data_set); + trigger_unfencing(rsc, active_node, "Device parameters changed", NULL, data_set); } else if ((digest_data->rc == RSC_DIGEST_ALL) || (digest_data->rc == RSC_DIGEST_UNKNOWN)) { /* Changes that can potentially be handled by a reload */ @@ -337,7 +337,7 @@ check_action_definition(resource_t * rsc, node_t * active_node, xmlNode * xml_op const char *digest_all = crm_element_value(xml_op, XML_LRM_ATTR_OP_DIGEST); did_change = TRUE; - trigger_unfencing(rsc, NULL, "Device parameters changed (reload)", NULL, data_set); + trigger_unfencing(rsc, active_node, "Device parameters changed (reload)", NULL, data_set); crm_log_xml_info(digest_data->params_all, "params:reload"); key = generate_op_key(rsc->id, task, interval); pe_rsc_info(rsc, "Parameters to %s on %s changed: was %s vs. now %s (reload:%s) %s",
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor