Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
pacemaker.27558
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.patch of Package pacemaker.27558
From 59868b876b647fcc808281d6aacd4129de5e7fa8 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 c84f76464..1ff31ac78 100644 --- a/lib/fencing/st_rhcs.c +++ b/lib/fencing/st_rhcs.c @@ -179,6 +179,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