Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:Update
pacemaker.13252
bsc#1171372-0003-Fix-libstonithd-plug-parameter...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1171372-0003-Fix-libstonithd-plug-parameter-of-RHCS-style-fence-a-1.1.patch of Package pacemaker.13252
From a72fe46d1ed490d584cbde30b2844d4b3baa9d36 Mon Sep 17 00:00:00 2001 From: "Gao,Yan" <ygao@suse.com> Date: Thu, 16 Apr 2020 15:08:27 +0200 Subject: [PATCH 3/4] Fix: libstonithd: `plug` parameter of RHCS-style fence-agents is shown as non-required in the metadata With this commit, the parameter `plug` of RHCS-style fence-agents is fudged to be shown as `required="0"` in the metadata output by `stonith_admin --metadata` or `crm_resource --show-metadata`. So that users know they don't have to configure it. Pacemaker handles and passes the parameter to the agent when executing it. --- lib/fencing/st_rhcs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fencing/st_rhcs.c b/lib/fencing/st_rhcs.c index ab3fb418f..7f5a1454b 100644 --- a/lib/fencing/st_rhcs.c +++ b/lib/fencing/st_rhcs.c @@ -158,6 +158,7 @@ stonith__rhcs_metadata(const char *agent, int timeout, char **output) // Fudge metadata so parameters are not required in config (pacemaker adds them) stonith_rhcs_parameter_not_required(xml, "action"); + stonith_rhcs_parameter_not_required(xml, "plug"); stonith_rhcs_parameter_not_required(xml, "port"); buffer = dump_xml_formatted_with_text(xml); -- 2.26.1
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