Bug 1769784

Summary: fencing: improve stdin parse function (RHEL7)
Product: Red Hat Enterprise Linux 7 Reporter: Oyvind Albrigtsen <oalbrigt>
Component: fence-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.8CC: cfeist, cluster-maint, cluster-qe, mjuricek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-4.2.1-31.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1769783 Environment:
Last Closed: 2020-09-29 19:15:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1769783    
Bug Blocks:    

Description Oyvind Albrigtsen 2019-11-07 13:13:24 UTC
+++ This bug was initially created as a clone of Bug #1769783 +++

Description of problem:
Remove quotes around stdin parameters for consistency with CLI
parameters and to be able to quote number and time parameters.

Quoted number and time parameters from stdin fail without this patch.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. fence_XYZ
2. power_timeout="30s"
3. ctrl+d

Actual results:
Fails.

Expected results:
Removes quotes from value and succeeds.

Additional info:
https://github.com/ClusterLabs/fence-agents/pull/259

Comment 6 errata-xmlrpc 2020-09-29 19:15:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (fence-agents bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3850