Bug 1769783

Summary: fencing: improve stdin parse function
Product: Red Hat Enterprise Linux 8 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: 8.1CC: cluster-maint, mjuricek
Target Milestone: rc   
Target Release: 8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-4.2.1-34.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1769784 (view as bug list) Environment:
Last Closed: 2020-04-28 15:30:15 UTC Type: Bug
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:    
Bug Blocks: 1769784    

Description Oyvind Albrigtsen 2019-11-07 13:11:05 UTC
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 4 errata-xmlrpc 2020-04-28 15:30:15 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, 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:1580