Bug 2149321

Summary: fence_apc reports a validation warning regarding 'secure' option even if it is not specified
Product: Red Hat Enterprise Linux 9 Reporter: Tomas Jelinek <tojeline>
Component: fence-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: ASSIGNED --- QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.2CC: cluster-maint
Target Milestone: rcKeywords: Triaged
Target Release: 9.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Tomas Jelinek 2022-11-29 15:05:37 UTC
Description of problem:
Fence_apc reports a validation warning regarding 'secure' option even if it is not specified. This feels extra weird since the warning actually says the 'secure' option is ignored.


Version-Release number of selected component (if applicable):
fence-agents-all-4.11.0


How reproducible:
always, easily


Steps to Reproduce:
1. get pcs-0.11.4
2. pcs stonith create test fence_apc ip=ipaddr username=login password=1234 ssh=0


Actual results:
Warning: Validation result from agent:
  WARNING:root:Parse error: Ignoring option 'secure' because it does not have value


Expected results:
The agent doesn't produce confusing messages about ignoring unspecified parameters.