Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
pacemaker.32052
0001-Low-fenced-Correctly-log-the-total-fencing...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Low-fenced-Correctly-log-the-total-fencing-timeout.patch of Package pacemaker.32052
From c8f12f7e96e7a333dcc7c273b8c99a452368f110 Mon Sep 17 00:00:00 2001 From: Hideo Yamauchi <renayama19661014@ybb.ne.jp> Date: Tue, 26 Apr 2022 09:18:05 +0900 Subject: [PATCH] Low: fenced: Correctly log the total fencing timeout. --- daemons/fenced/fenced_remote.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) Index: pacemaker-2.0.5+20201202.ba59be712/daemons/fenced/fenced_remote.c =================================================================== --- pacemaker-2.0.5+20201202.ba59be712.orig/daemons/fenced/fenced_remote.c +++ pacemaker-2.0.5+20201202.ba59be712/daemons/fenced/fenced_remote.c @@ -1508,14 +1508,12 @@ call_remote_stonith(remote_fencing_op_t } if (!op->op_timer_total) { - int total_timeout = get_op_total_timeout(op, peer); - - op->total_timeout = TIMEOUT_MULTIPLY_FACTOR * total_timeout; + op->total_timeout = TIMEOUT_MULTIPLY_FACTOR * get_op_total_timeout(op, peer); op->op_timer_total = g_timeout_add(1000 * op->total_timeout, remote_op_timeout, op); report_timeout_period(op, op->total_timeout); crm_info("Total timeout set to %d for peer's fencing targeting %s for %s" - CRM_XS "id=%s", - total_timeout, op->target, op->client_name, op->id); + CRM_XS "id=%.8s", + op->total_timeout, op->target, op->client_name, op->id); } if (pcmk_is_set(op->call_options, st_opt_topology) && op->devices) {
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