Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
pacemaker.20188
0001-Mid-execd-Skips-merging-of-canceled-fencin...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Mid-execd-Skips-merging-of-canceled-fencing-monitors.patch of Package pacemaker.20188
From 41675e135420448149a5e4a9e69d70300c18de6c Mon Sep 17 00:00:00 2001 From: Hideo Yamauchi <renayama19661014@ybb.ne.jp> Date: Fri, 5 Feb 2021 09:16:01 +0900 Subject: [PATCH] Mid: execd: Skips merging of canceled fencing monitors.(Fix:#CLBZ5393) --- daemons/execd/execd_commands.c | 6 ++++++ 1 file changed, 6 insertions(+) Index: pacemaker-2.0.4+20200616.2deceaa3a/daemons/execd/execd_commands.c =================================================================== --- pacemaker-2.0.4+20200616.2deceaa3a.orig/daemons/execd/execd_commands.c +++ pacemaker-2.0.4+20200616.2deceaa3a/daemons/execd/execd_commands.c @@ -408,6 +408,12 @@ merge_recurring_duplicate(lrmd_rsc_t * r dup = gIter->data; if (safe_str_eq(cmd->action, dup->action) && (cmd->interval_ms == dup->interval_ms)) { + if (safe_str_eq(rsc->class, PCMK_RESOURCE_CLASS_STONITH)) { + if (dup->lrmd_op_status == PCMK_LRM_OP_CANCELLED) { + /* Fencing monitors marked for cancellation will not be merged to respond to cancellation. */ + return FALSE; + } + } goto merge_dup; } }
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